So, I have a real time app which is working fine locally, but moving it to production I realize the real time feature is no longer working mainly because of Laravel websocket error: “WebSocket is closed before the connection is established.”
"WebSocket connection to ‘wss://mirrorlog.com/app/*******?protocol=7&client=js&version=7.0.6&flash=false’ failed: "
I’ve been making lots of research about this, but most are just referring to forge.
Your help would be appreciated
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Seems like that the WebSockets service might not be running. I recently wrote a tutorial on how to setup Laravel Websockets without using Forge here:
Laravel WebSockets
Let me know if you have any questions!
Best,
Bobby
Hi there,
I recently wrote a tutorial on how to use Laravel Websockets without Laravel Forge:
How to use Laravel WebSockets
Let me know if you have any questions!
Best,
Bobby