Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-09-2014, 10:55 AM
TracyP TracyP is online now
Registered User
 
Join Date: 12-18-2006
Posts: 14
HTTP post expecting 204 No Content response

Hello,

Just upgraded to 8.6 (from 7.6) to see if the HTTP "Post form data" would be able to pass the 204 "no content" response.

It fails with : Error posting data: The specified operation has timed out (No Content)

The API I'm sending to will reply with a 401 or 204.

Using Fiddler to verify I'm getting a response, I do get the 204 response.

Any ideas or thoughts?

Thank you.
Reply With Quote
  #2  
Old 10-09-2014, 11:03 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Forum/showthread.php?t=3044
Reply With Quote
  #3  
Old 10-09-2014, 11:21 AM
TracyP TracyP is online now
Registered User
 
Join Date: 12-18-2006
Posts: 14
Attaching two files.
Attached Files
File Type: txt hex log.txt (46.6 KB, 2389 views)
File Type: txt version.txt (717 Bytes, 2347 views)
Reply With Quote
  #4  
Old 10-09-2014, 11:25 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Please send or post item #6.
Reply With Quote
  #5  
Old 10-09-2014, 11:40 AM
TracyP TracyP is online now
Registered User
 
Join Date: 12-18-2006
Posts: 14
One step project showing the error.
Attached Files
File Type: bld 204problem.bld (692 Bytes, 2623 views)
Reply With Quote
  #6  
Old 10-10-2014, 05:09 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
When I increase the Timeout from 2 to 20 seconds (Server tab), the step succeeds after about 8 seconds, and the roomlist macro contains the server response of

HTTP/1.1 204 No Content
Date: Fri, 10 Oct 2014 09:47:55 GMT
Server: Apache
Content-Length: 0
Connection: close
Content-Type: text/html
Attached Files
File Type: zip 204.zip (1.0 KB, 2415 views)
Reply With Quote
  #7  
Old 10-10-2014, 09:06 AM
TracyP TracyP is online now
Registered User
 
Join Date: 12-18-2006
Posts: 14
Due to the posting giving out my OAuth token, I had a page setup that only returned the 204 and I saw the same behavior at the short interval.

The actual API I am using, after setting the timeout to 90 seconds, it fails with an unspecified error, and no hex dump.

Code:
10/10/2014 10:03:40 AM: -------------------- Starting Build: 'quickbits.bld' --------------------
10/10/2014 10:03:40 AM: Building project step 2 - HipChat Send Build Message...
Connecting to HTTP server 'api.hipchat.com' on port 80
Posting data to /v2/room/40983/notification
Unspecified error
10/10/2014 10:04:40 AM: Step '2 - HipChat Send Build Message' failed
10/10/2014 10:04:40 AM: Build ended (elapsed = 00:01:59).
I'll send emails to support to prevent my OAuth token from being publicly posted.
Reply With Quote
  #8  
Old 10-10-2014, 12:00 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
This has been fixed in the latest build (VisBuildAct.dll 8.7.0.3 in Help | About after downloading and installing).
Reply With Quote
  #9  
Old 10-10-2014, 12:31 PM
TracyP TracyP is online now
Registered User
 
Join Date: 12-18-2006
Posts: 14
Thank you,
Installed and confirmed it works here.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:02 PM.


Copyright © 1999-2023 Kinook Software, Inc.