-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ETIMEDOUT on macos #710
Comments
Could you try on a different Mac? |
Same problem. |
You could try it with different node versions to see if that's the case |
Same problem. |
This comment was marked as spam.
This comment was marked as spam.
Not helped. |
@tinystorm > Not helped. I am so troubled with it . Even in vite, I got same issue. not to proxy socket.io, then replace the https: true with ca files , would improve this problem |
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
About half of the http and ws requests can not be proxy with such message
' Error occurred while trying to proxy request xxx from xxx to xxx (ETIMEDOUT) '
Yet my workmates using windows did not have such problem.
And Weirdly, When I using LAN and add
headers: { 'Connection': 'keep-alive' }
in config options,The problem gone!When I using WIFI or remove the headers config, Problem returns.
It likes that http-proxy-middleware does not add headers when proxy the request
Step-by-step reproduction instructions
1. Using Macos 12.2.1 and Node 16.6.2 2. Proxy the http request and ws request in any project
Expected behavior (be clear and concise)
All the http and ws requests should be proxy successfully.
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
The text was updated successfully, but these errors were encountered: