Answer the question
In order to leave comments, you need to log in
WebSocket connection to failed: no error description, why?
In the browser console I see the following error:
My settings
window.Echo = new Echo({
broadcaster: "pusher",
cluster: "eu",
disableStats: true,
enabledTransports: ["ws", "wws"],
encrypted: true,
forceTLS: false,
key: "00000000000",
wsHost: "site.ru",
wsPort: 6001,
wssPort: 6001,
});
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => 'eu',
'encrypted' => 'true',
'host' => 'site.ru',
'port' => '6001',
'scheme' =>'https',
],
],
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