Hi,
I'm trying to get the websocket server example to work.
In the monitor i see an IP address is obtained but when sending somthing an error is received at the client side:
"failed: Error during WebSocket handshake: Unexpected response code: 302"
Can somebody help me with this?
Thanks in advance!
websocket server example
- lowtolerance
- Posts: 9
- Joined: Tue Dec 15, 2020 6:35 pm
- Location: Virginia Beach, Virginia, United States of America
Re: websocket server example
The error is telling you that the URL you are pointing to <i>is</i> a valid URI — there is something there, but whatever it is, it’s not what the websocket client is looking for.
Try taking the URL that the client app is directed to, only with “http://” in place of “ws://“, and maybe you’ll have a better idea of what’s going on.
Try taking the URL that the client app is directed to, only with “http://” in place of “ws://“, and maybe you’ll have a better idea of what’s going on.
Re: websocket server example
Hi,
Thanks for the reply. I found out i made a mistake at the client side.
It works fine now.
Thanks for the reply. I found out i made a mistake at the client side.
It works fine now.
Who is online
Users browsing this forum: No registered users and 9 guests