Page 1 of 1

TIMEOUT on HTTP Client

Posted: Thu Jan 26, 2017 8:59 am
by GomezL
I am building an HTTP client to a WEB Service, but the service is taking too long to respond.

Is there a way to tell the HTTP client to wait longer before timing out?

Re: TIMEOUT on HTTP Client

Posted: Thu Jan 26, 2017 9:27 am
by bluesfannoz
I do not see any options to set that on the HTTP wiki page.

http://brwiki2.brulescorp.com/index.php ... egory:HTTP

You might try putting timeout= in a control file and see if it works.

timeout= is a valid HTTP header parameter. I do not know if BR implemented it though.

Re: TIMEOUT on HTTP Client

Posted: Fri Jan 27, 2017 9:01 am
by gordon
https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html says the default for Curl is 0 which is to never time out.

Was your error message, "HTTP session terminated due to BR timeout?"

If so. try setting WAIT= in your open string.

Re: TIMEOUT on HTTP Client

Posted: Fri Jan 27, 2017 9:52 am
by GomezL
That was the first thing we tried:
* Wait = 9999
* Wait = -1
* Wait = 0

Re: TIMEOUT on HTTP Client

Posted: Fri Jan 27, 2017 11:07 am
by gordon
Exactly what was the error message or symptom.

Re: TIMEOUT on HTTP Client

Posted: Fri Jan 27, 2017 12:58 pm
by GomezL
err 4145
syserr$ CLIENT SYSTEM ERROR

message from HTTPINFO is:
Curl IEmpty reply from server
Curl IConnection #1 to host **-***-***.******.com left intact
HTTP session terminated due to BR timeout