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?
TIMEOUT on HTTP Client
Moderators: Susan Smith, admin, Gabriel
-
- Posts: 292
- Joined: Fri Jun 19, 2009 9:01 am
- Location: Lawrence, Kansas
- Contact:
Re: TIMEOUT on HTTP Client
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.
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.
Steve Koger
Computer Specialist
SEKESC-MACS Division
Computer Specialist
SEKESC-MACS Division
Re: TIMEOUT on HTTP Client
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.
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
That was the first thing we tried:
* Wait = 9999
* Wait = -1
* Wait = 0
* Wait = 9999
* Wait = -1
* Wait = 0
Re: TIMEOUT on HTTP Client
Exactly what was the error message or symptom.
Re: TIMEOUT on HTTP Client
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
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