Server pushing client messages into a black hole #73
Unanswered
davepuchyr
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Middlewares have been the cause of issues in the pass, have you excluded the websocket route from the middleware config? Related issue: #27 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Great project, @apteryxxyz!
I've played with both your simple and dynamic chat examples and they work perfectly. 🎉
I copied and pasted the code into my project and it almost works. My clients connect to the server and can send messages to the server. The server loops through the connected clients and sends the messages without error, but they are not received by the other clients.
The only difference between your examples and my project is that I have middleware handling i18n. I don't think that middleware would interfere with socket communication, but I'm new to next.js and its black magic seems to be sending my messages to a black hole. Any idea what's going wrong?
Beta Was this translation helpful? Give feedback.
All reactions