Closed nanepallysaikumar closed 2 years ago
@chimurai - can u please help?
Don't remember having a retry mechanism...
Think it might be your frontend doing the retry?
Can you provide a minimal reproduction?
Feel free to reopen issue when minimal reproduction can be provided
I experienced similar where for a web api handler that always takes three minutes to complete the proxy would always initiate a second unexpected call at the 2 minute mark. Setting both proxyTimeout and timeout to a high value stopped this from happening for me.
To repro I created a new aspnetcore project with a controller containing a thread.sleep(3 minutes) and proxied to it to repro.
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
1.We are using the http proxy middleware for proxying the back end request. 2.Back end is spring boot application. 3.Front End is React JS. 4.We are using htttp proxy middleware using express JS
Problem Statement: When making an API call, after certain time out, GUI is making another trigger to the back end. Although there is no retry mechanism configured.
Step-by-step reproduction instructions
Expected behavior (be clear and concise)
No retry should happen even after the request is timed out.
How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
No response