-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket Close Abnormally 1006 #47
Comments
Hi there, I am sorry for my late response. Are you running the server script in the background? |
Allright boys, let me check it out. |
Hi guys, I see that you guys are using wss:// (secure) but the 1.4 version does not support SSL (yet). The upcoming milestone (1.5 Add more security to the chats) will feature SSL and docker support for the project. You can follow the link to track the progress. |
Hello, thanks for the updates, but I see no latest comments on #8 is it stalled since long? is there any hopes to see updates in some days (not in weeks :) ) |
That's right it's a ticket I added for the v1.5 milestone. I have 98 repo's to maintain so I didn't come to it (yet) but since yesterday I have been working on the 1.5 branch again. If you wish to help, all help is welcome :) |
Hello Just wanted confirm the right direction? |
Hi sonawanesarvesh, I can't really tell because mysql_websocket_chat uses a third-party WebSocket server and I don't know what it does in its core. But for version 1.5 I am adding certs creator to the package. https://github.com/johnnymast/mysql_websocket_chat/blob/v1.5/ssl/cert.php Maybe if you have certs you know are 100% valid you could help me test version 1.5 before release. You can do so by updating this line in the server https://github.com/johnnymast/mysql_websocket_chat/blob/v1.5/server.php#L9 and enable SSL support here https://github.com/johnnymast/mysql_websocket_chat/blob/v1.5/includes/config.php#L25 (Don't forget to download the 1.5 branch the other branches/versions don't have this option. |
@sonawanesarvesh I have the solution but I can not work with the version of mysql_websocket_chat you work with now. Really soon I will release 1.5 pre-release with SSL support. I had to debug Ratched WebSockets head to toe to see why it doesn't like SSL in 1.5. This took a while but I got it done now. Expect a pre-release + youtube video soon to fix this. |
Hello,
I followed your deployment instruction on one web server, but I am getting this error
WebSocket connection to 'wss://myIP:8080/' failed:
We have received an error! Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}
Connection closed with event code 1006 => The connection was closed abnormally, e.g., without sending or receiving a Close control frame
The text was updated successfully, but these errors were encountered: