Using Laravel Echo Server on another VPS Hi,
I have laravel-echo-server installed on another VPS, with a subdomain.
However, I get the following error in the laravel echo server log:
[5:52:15 PM] - Preparing authentication request to: http://socket.example.com/
[5:52:16 PM] - Sending auth request to: http://socket.example.com//broadcasting/auth
⚠ [5:52:16 PM] - qA2A_ZNmQf9UziKTAAAI could not be authenticated to presence-user.50
301 Moved Permanently
301 Moved Permanently
openresty
Client can not be authenticated, got HTTP status 301
Please note, that I have this working when it's installed on the same server with the laravel installation.
Did anyone have success, using laravel echo server on another server?
This issue is fixed.
In the laravel-echo-server.json, I wasn't using the right authHost. This is something what the HTTP 301 stands for. I'm using aws with a loadbalancer so I'm using a few subdomains with multiple services, so It's good to know which domain you're using
Please sign in or create an account to participate in this conversation.