TIMEOUT on HTTP Client

More advanced topics discussed.

Moderators: Susan Smith, admin, Gabriel

Post Reply
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

TIMEOUT on HTTP Client

Post 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?
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Re: TIMEOUT on HTTP Client

Post 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.
Steve Koger
Computer Specialist
SEKESC-MACS Division
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

Re: TIMEOUT on HTTP Client

Post 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.
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

Re: TIMEOUT on HTTP Client

Post by GomezL »

That was the first thing we tried:
* Wait = 9999
* Wait = -1
* Wait = 0
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

Re: TIMEOUT on HTTP Client

Post by gordon »

Exactly what was the error message or symptom.
GomezL
Posts: 258
Joined: Wed Apr 29, 2009 5:51 am
Contact:

Re: TIMEOUT on HTTP Client

Post 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
Post Reply