You are not connecting to the correct port, or the default port is by Echo is not the default you should use for pusher. Define the correct port inside your JavaScript frontend
.env
file. (I don't know your repositories settings, but sometimes you can use a .env.local
file, for example in a Vue setup).
Pusher seems to use default web ports 80 and 443, as described here: https://pusher.com/docs/channels/library_auth_reference/pusher-websockets-protocol
After you defined the port inside your
.env
, change your JavaScript code:wsPort: process.env.MIX_PUSHER_WS_PORT,
wssPort: process.env.MIX_PUSHER_WSS_PORT,
Don't forget to rebuild your frontend.
0 comments:
Post a Comment
Thanks