Closed chegmarco1989 closed 1 year ago
you dont need PUSHER_HOST declaration in the env file. you need to define followings:
PUSHER_APP_ID=your_pusher_app_id PUSHER_APP_KEY=your_pusher_app_key PUSHER_APP_SECRET=your_pushe_app_secret PUSHER_APP_CLUSTER=your_pusher_cluster MESSENGER_SOCKET_PUSHER=true MESSENGER_SOCKET_KEY="${PUSHER_APP_KEY}" MESSENGER_SOCKET_CLUSTER="${PUSHER_APP_CLUSTER}"
Hello.
After installing
"pusher/pusher-php-server": "7.0.2"
, and"beyondcode/laravel-websockets": "^1.14"
a, we set our LARAVELconfig/broadcasting.php
like this:And LARAVEL
.env
file like this:We get
WebSocket connection to 'wss://127.0.0.1:6001/app/b646bf..........e9f5?protocol=7&client=js&version=7.6.0&flash=false' failed
as you can see on the following screenshot here:PLEASE, Could you help us to fix that error ??? Thanks in advance.