Highlighted
Absent Member.
Absent Member.
91 views

Regarding

Hi All,

I have a script developed with WinInet replay instead of Sockets. So the script always used to fail when ever the client response was more than 30 secs.

Error -27492: "HttpSendRequest" failed, Windows error code=12002 and retry limit (0) exceeded.

So we came up with a lil fix for the WinInet request timeout issue using the InternetSetOptionA and calling the Dll file.

So after using this fix, if the search is taking more than 30 secs for the first iteration, it always fails but it always pass from the 2nd iteration even though it takes more than 30 secs. Could not figure out why only for the first iteration, it fails.


So anyone faced the same problem?

Thank you in advance.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.