Express js fails to send GET request to external server on server production but works fine on localhost

Job ID: 37448308

Budget: $10 – $30 USD

I am looking for a developer who can help me with an issue I am facing with Express.js. On my local machine, I am able to successfully send GET requests to an external server. However, when I deploy the code to the production server, I am encountering a timeout error.

The difference between the local and server request is the options field, _last, shouldKeepAlive are different. on local _last is false and shouldKeepAlive is true. on server if i call the controller multiple times it sometimes works.

Requirements:
- Strong experience with Express.js and server-side development
- Familiarity with troubleshooting and resolving issues related to server communication
- Ability to identify and resolve inconsistencies between localhost and production server environments

I have already attempted to troubleshoot the issue myself, but I have been unable to find a solution. I believe the production server and localhost environments are identical, so there may be a configuration issue that I am unaware of.

If you have the necessary skills and experience to help me resolve this issue, please reach out to discuss further details.
Related categories: JavaScript Linux Software Architecture Node.js Server