How do you authenticate ? Show your code please.
Pusher error: Authentication signature invalid..
I'm unable to use reverb in production, I'm getting the error below when I try to send message to client
"exception": "[object] (Illuminate\Broadcasting\BroadcastException(code: 0): Pusher error: Authentication signature invalid.. at /var/www/code/jdk-apps/rat/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:164) [stacktrace]
the client can connect to the reverb server, however, the server is unable to deliver server-side messages to the client.
everything works fine locally using laravel reverb.
managed to solve it
@zitus91 ensure your nginx config has the code block below
# Laravel Reverb
location /app {
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header SERVER_PORT $server_port;
proxy_set_header REMOTE_ADDR $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://0.0.0.0:8080;
}
Please or to participate in this conversation.