http client timeout
- How-to
- mike S
- PowerServer 2020 or older (Obsolete)
- Thursday, 24 March 2022 02:56 PM UTC
what is the timeout setting of the http client? and is it different for powerbuilder vs powerserver (2020)?
windows api has 4 timeout setttings:
BOOL WinHttpSetTimeouts( int nResolveTimeout, int nConnectTimeout, int nSendTimeout, int nReceiveTimeout );
what exactly is being set for the http client?
I tried setting the http timeout to 30 minutes and the result is that the http request returned an error almost immediately for any process more than 1 minute. leaving it blank or 0 resulted in it working for any process less than 5 minutes. anything over 5 seems to just hang forever. I can tell that the web api process does finish via 2 sets of logs, so there must be a timeout issue on http client.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.