Closed briavers closed 3 weeks ago
Placing the following in my htaccess fixed it in case 1, case 2 might still be checked that the correct type of connection is passed
<VirtualHost *:8080> ServerName mysite.com
ServerAlias www.mysite.com
ServerAdmin info@mail.com
ProxyPreserveHost On ProxyPass "/app" "ws://0.0.0.0:8081/app" ProxyPass "/apps" "ws://0.0.0.0:8081/apps" ProxyPassReverse "/app" "ws://0.0.0.0:8081/app" ProxyPassReverse "/apps" "ws://0.0.0.0:8081/apps"
Hey there,
Can you first please try one of the support channels below? If you can actually identify this 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!
Reverb Version
1.1.0
Laravel Version
v11.18.1
PHP Version
8.3.x
Description
Locally using herd everything is working, but on staging/production it is not.
my .env
my config (should be just the default)
My .htaccess in case one
my .htaccess in case two
My errors
Case 1
In case 1, my frontend (vue) application can connect to the web socket without issue, using the
php artisan reverb:start --debug
i see the messages arrive and using inspector I can see the subscriptions to the correct channel. However, when horizon dispatches the event it gets an exception on vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:164 and receives a 404Case 2
In case 2 (with the different htaccess file) my Echo cannot connect to the web socket and it gives the following error
The queue processes the event successful in this case, but that might be because no listeners have been subscribed.
Steps To Reproduce
Change the env en .htaccess config to above variables