Home > Back-end >  Laravel Websockets with separate servers
Laravel Websockets with separate servers

Time:12-03

I'm trying to implement Laravel Websockets with multiple servers.

I have an App server and a Queue Worker server running. I tried to broadcast my notifications from the Queue Worker server but I'm getting

lluminate\Broadcasting\BroadcastException: Pusher error: . in /home/forge/my-app/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:128

In the App Server, in Network tab I can confirm it connects to the websocket. I've used enter image description here


Some resources:

  • Related