Page 2 of 2
Re: http request - post
Posted: Thu Jun 15, 2017 10:36 pm
by actionHero
This is all that gets returned.
Request failed with the status code 0
Server response:
Upload finished
Upload started
Re: http request - post
Posted: Thu Jun 15, 2017 10:40 pm
by gabrielp
That's invalid according to Enfocus' docs.
It says this about statusCode:
This property is read-only and becomes available after the HTTP request is finished.
Perhaps 0 is what it returns before the request is finished?
Are you waiting for it to be finished like this?
Code: Select all
while( !theHTTP.waitForFinished( 3 ) )
{
job.log( 5, "Doing request...", theHTTP.progress() );
}
job.log( 6, "Request finished" );
Re: http request - post
Posted: Thu Jun 15, 2017 10:48 pm
by actionHero
Correct, that is waiting for it to finish. With Degub, I get this
Upload started
HTTP PUT request error: error during handshake[2]: 0x80090326
Upload finished
Re: http request - post
Posted: Thu Jun 15, 2017 10:56 pm
by gabrielp
Try to enable debug logging. The debug logger should show some stuff.
You might want to reference this page:
http://www.enfocus.com/manuals/Develope ... class.html