Websocket connection (subscription) is not working #3871
Replies: 2 comments 2 replies
-
@kvelaro are you using the createGraphiQLFetcher() implementation with the expected configuration? You need to make sure you are using the applicable transport - are you using |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for reply |
Beta Was this translation helpful? Give feedback.
-
Hi, my problem is:
I simply cannot connect to websocket server from graphiql interface
It just writes
failed
If I write from console (dev tools) something like
const socket = new WebSocket("wss://...:8080/app/my-app")
it connectsIf I activate and use websocket client tester (chrome extension) it also works
If I debug websocket server I see server is sending appropriate headers with json content
If I see error log from graphiql I see request headers but I cant see response headers, its empty
Tried to disable all extensions - without success
Killed several days researching
Any help, please
Beta Was this translation helpful? Give feedback.
All reactions