Closed shay-te closed 1 month ago
From websockets' perspective, it never receives the first line of a WebSocket request.
What is "our client" here?
From websockets' perspective, it never receives the first line of a WebSocket request.
What is "our client" here?
the client is Chrome
and also React-Native
This rules out a problem with the client. Could you try connecting to a server running locally? If that works, then it means that the problem is at the level of your AWS Network Load Balancer setup (and I suspect that it's there).
Thank you for the response. It is working well when connecting with WS (not secured) directly to the IP address. But JavaScript WS can handle the same setup.
If that's your question, one websockets server process cannot serve secure (wss://) and insecure (ws://) connections. I don't plan to add this feature either.
There's two ways to handle secure connections:
Thank you. We moved the entire project to nodejs. Shame
I'm sorry it didn't work for you 🥲
Hello. Thank you in advance for reading.
I have tested it with a small NodeJS WS service, and our client can open the connection. When switching to
python-websockets,
I get an error. We are connecting to the WebSocket using AWS Network Load Balancer. (same load balancer working with node)We are stuck on this for two weeks. We are experiencing this error.
Thank you