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
I am trying to run the graphqlws inside a docker container. The code is straight forward and if I test locally it works fine. My UI App is able to establish a Websocket connection and receive messages coming from Server.
But when I run inside docker, the path to reach my server is as follows.
Browser -> UI POD (https) -> nginx -> proxy to graphql/Server pod
I have already added the following headers in my Nginx to allow proper traffic
I am trying to run the graphqlws inside a docker container. The code is straight forward and if I test locally it works fine. My UI App is able to establish a Websocket connection and receive messages coming from Server.
But when I run inside docker, the path to reach my server is as follows.
Browser -> UI POD (https) -> nginx -> proxy to graphql/Server pod
I have already added the following headers in my Nginx to allow proper traffic
But still, the following error is thrown immediately
wss://
and nginx routes tohttp://
as its pod to pod trafficws://
locally, it works perfectly fine.ws://
it did not work either. Same error as above is thrown.Below is the handler implementation
Could you please advise how to handle or fix this issue ?
The text was updated successfully, but these errors were encountered: