Open jessedewild opened 2 days ago
Can you share the full errors?
https://github.com/laravel/framework/blob/646520ad682d98b5211c6e26092259cfbe130b5c/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php#L163-L166 Indicate that it unable to broadcast the event, this feels like a usage issue.
Is it possible to set a different REVERB_HOST for internal and the external? For example, I have set it to:
ws.jessedewild.com
But I am hosting it on a Kubernetes server, which (for example) uses the internal IP 10.0.0.1.
In the reverb.php
and broadcasting.php
you can set the 'REVERB_HOST'
In broadcasting.php, you should set it to the location you need your app to broadcast your messages to. In reverb.php, it's used to set the hostname of the Reverb server.
Reverb Version
1.1.0
Laravel Version
10.48.20
PHP Version
8.2
Description
I am running Laravel Reverb on my Kubernetes cluster behind Cloudflare. Sometimes, the backend reports the following issue:
Pusher error: error code: 502.
I am using Laravel Echo in my Angular application to connect to Laravel Reverb.
This is the stacktrace:
Steps To Reproduce
Run a broadcasting event.