-
Notifications
You must be signed in to change notification settings - Fork 132
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
Issue with Websocket proxy setting in Nginx #217
Comments
My graphql server is running locally on localhost:3007/graphql. But with above configuration socket is not getting created. Getting below error: WebSocket connection to 'ws://localhost:9097/graphql' failed: Error during WebSocket handshake: Unexpected response code: 405. |
same issue here, getting this error from frontend, here is my setup, |
@bahachammakhi any solution?) |
So, I've found the solution, the problem was in postman, I don't know why, but websockets there is working inappropriate, btw, some problem was with nginx, I had two of them, on inside the docker container and the second main on the server, and I need to add the same thing (proxy_set_header etc.) to both of nginxs. |
No description provided.
The text was updated successfully, but these errors were encountered: