I'm developing a dynamic PDF stamp that uses Net.HTTP.request() to access a REST API.
The API endpoint itself works correctly. When I open the exact same URL in a browser, the request takes a long time, but eventually completes successfully and returns the expected JSON response.
However, when the same request is made through PDF-XChange Editor's JavaScript API:
Net.HTTP.request(params);
the request consistently fails after approximately 30 seconds.
The response handler receives:
e = {
error: -2111762429,
msg: ""
}
My question is:
Is there any way to increase the HTTP/network timeout used by Net.HTTP.request() in PDF-XChange Editor?
I could not find a documented timeout, cTimeout, or similar parameter for Net.HTTP.request().
I am aware of the JavaScript execution timeout setting (i.ExecTimeout), but as far as I understand, this controls JavaScript execution rather than the timeout of the underlying HTTP request.
Net.HTTP.request() times out – error -2111762429
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
robert_2
- User
- Posts: 1
- Joined: Tue Aug 11, 2026 1:34 pm
-
Daniel - PDF-XChange
- Site Admin
- Posts: 13211
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Net.HTTP.request() times out – error -2111762429
Hello, robert_2
I cannot promise this is possible, but I have raised the inquiry with the Dev team to see if there is an option.
Kind regards,
I cannot promise this is possible, but I have raised the inquiry with the Dev team to see if there is an option.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]