PDA

View Full Version : HTTP post expecting 204 No Content response


TracyP
10-09-2014, 10:55 AM
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.

kinook
10-09-2014, 11:03 AM
http://www.kinook.com/Forum/showthread.php?t=3044

TracyP
10-09-2014, 11:21 AM
Attaching two files.

kinook
10-09-2014, 11:25 AM
Please send or post item #6.

TracyP
10-09-2014, 11:40 AM
One step project showing the error.

kinook
10-10-2014, 05:09 AM
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

TracyP
10-10-2014, 09:06 AM
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.


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.

kinook
10-10-2014, 12:00 PM
This has been fixed in the latest build (VisBuildAct.dll 8.7.0.3 in Help | About after downloading and installing).

TracyP
10-10-2014, 12:31 PM
Thank you,
Installed and confirmed it works here.