Answer the question
In order to leave comments, you need to log in
How to organize communication between two different sites using laravel websocket?
Good afternoon!
Do not tell me, I'm trying to connect via laravel websocket on the client (third-party site with a downloaded script from 88f02f9f.ngrok.io)
window.Echo = new Echo({
broadcaster: 'pusher',
key: process.env.MIX_PUSHER_APP_KEY,
cluster: process.env.MIX_PUSHER_APP_CLUSTER,
wsHost: '88f02f9f.ngrok.io',
wsPort: 6001,
});
index.min.js:1 WebSocket connection to 'wss://88f02f9f.ngrok.io/app/123?protocol=7&client=js&version=5.0.3&flash=false' failed: Error during WebSocket handshake: Unexpected response code: 404
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question