-
Notifications
You must be signed in to change notification settings - Fork 186
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
Echo with NodeJS HTTPS doesn't work #219
Comments
Can you first please try one of the following support channels? If you can actually identify this as a bug, feel free to report back. |
Thanks for the aswer. |
I've solved the problem by adding
|
Hi there, I've been developing this NodeJS application that takes advantage of Laravel Echo's functionalities to receive information from a server through socket connection.
Server-side
Client-side
"laravel-echo": "^1.5.2"
"socket.io": "^2.2.0"
Problem
Everything works fine in Http, when I switch to HTTPS it just stops working.
Also, if I run the application in a browser, everything works fine. Thats why I tried to play around with a bunch of factors such as the URL (/socket.io, wss, etc), the options passed on initialization, etc. All in vain.
Socket.io debug
socket.io-client:url parse https://smartfish.danymota.com:8080/socket.io +0ms
socket.io-client new io instance for https://smartfish.danymota.com:8080/socket.io +0ms
socket.io-client:manager readyState closed +0ms
socket.io-client:manager opening https://smartfish.danymota.com:8080/socket.io +0ms
socket.io-client:manager connect attempt will timeout after 20000 +4ms
socket.io-client:manager readyState opening +1ms
socket.io-client:manager connect_error +60ms
socket.io-client:manager cleanup +0ms
Thank you all in advance.
The text was updated successfully, but these errors were encountered: