-
Bug
-
Resolution: Unresolved
-
Low
-
Severity 3 - Minor
Issue Summary
When making network requests via a Forge App, developers will sometimes see that these requests fail due to an ECONNRESET error.
This seems to be a known issue with nodejs, more details here.
Steps to Reproduce
- Create Forge app
- Make network request
- Developers might need to repeat this step to successfully reproduce the error if using a remote server outside of their domain.
Expected Results
The request connection should always successfully be made with the remote server.
Actual Results
Occasionally, developers can see that network requests are attempted to be made and a ECONNRESET error is produced.
Workaround
While we work on a fix, you can either;
- Watch for and retry on ECONNRESET as they are not indicative of a real client or server error and can be retried.
- Disable keepalive for network requests made from Forge apps such that a new connection is made each time.