laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
1.09k stars 85 forks source link

Server logs: "Connection Established" but client does not receive pusher:connection_established #257

Closed j-oppenhuis closed 1 day ago

j-oppenhuis commented 1 week ago

Reverb Version

1.4.1

Laravel Version

11.27.2

PHP Version

8.3.12

Description

When changing Laravel Websockets from Beyondco to Laravel Reverb. I have the problem described in the title: Laravel reverb logs "Connection Established" but the client does not receive this. After some time the client will give a "WebSocket was closed before the connection was established" error. The Laravel Reverb server does not seem to throw an error of some kind. It just logs that the "Connection Closed".

Steps To Reproduce

location /app/ { try_files /nonexistent @ws; }

location /apps/ { try_files /nonexistent @ws; }

crynobone commented 1 day ago

Hey there,

While this may be a legitimate issue, can you first try posting your problem or question on one of the support channels below? If this issue can be definitively identified as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Thanks!