You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my NodeJS backend, I have an Axios API call to a microservice that involves extensive operations and takes approximately 4 minutes to complete. The issue I'm facing is that, despite the initial call not encountering any problems or finishing its execution, a duplicate request is automatically triggered after approximately 2 minutes.
To Reproduce
The server get a call to the specific route
The controller triggered an Axios GET request to a microservice
To identify whether the bug lies within Axios, I attempted to invoke the microservice endpoint using Postman and I didn't encounter the issue. Additionally, as a temporary measure while awaiting a solution, I replaced Axios with another fetch library (Superagent), and it functioned without any problems.
The text was updated successfully, but these errors were encountered:
Describe the bug
In my NodeJS backend, I have an Axios API call to a microservice that involves extensive operations and takes approximately 4 minutes to complete. The issue I'm facing is that, despite the initial call not encountering any problems or finishing its execution, a duplicate request is automatically triggered after approximately 2 minutes.
To Reproduce
Code snippet
Expected behavior
I expect Axios to send only one request.
Axios Version
1.6.7
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
20.10.0
OS
Windows 10
Additional Library Versions
Additional context/Screenshots
To identify whether the bug lies within Axios, I attempted to invoke the microservice endpoint using Postman and I didn't encounter the issue. Additionally, as a temporary measure while awaiting a solution, I replaced Axios with another fetch library (Superagent), and it functioned without any problems.
The text was updated successfully, but these errors were encountered: