Groups
Sign in
Groups
XSockets.NET Developer forum
Conversations
About
Send feedback
Help
Websocket Hand Shake error
24 views
Skip to first unread message
kandari venkesh
unread,
May 20, 2016, 2:16:35 PM
5/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XSockets.NET Developer forum
Hello,
When I try to run my server locally, I am having "WebSocket connection to 'ws://
127.0.0.1:4502/?persistentId=84096760-a35c-4dc7-b1b8-6d79b7f93217
' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET" This error.
My server side code is var socket = new XSockets.WebSocket(url || 'ws://
127.0.0.1:4502
', controllers || ['chat']);
Best regards,
Venkesh.
Ulf Björklund
unread,
May 20, 2016, 2:51:50 PM
5/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XSockets.NET Developer forum
Hi Venkesh
I guess that you actually have the client side code set to
var
socket
=
new
XSockets
.
WebSocket
(
url
||
'ws://
127.0.0.1:4502
'
,
controllers
||
[
'chat'
]);
and not the server side.
Anyway...
how do you host XSockets?
Is the server really started?
What URL do you have in your browser when trying to connect to the XSockets server (guessing that it says file://....)
Regards, Uffe
Reply all
Reply to author
Forward
0 new messages