Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverb 1.4.4 doesn't work in Local Development #287

Open
Urthawen opened this issue Dec 20, 2024 · 3 comments
Open

Reverb 1.4.4 doesn't work in Local Development #287

Urthawen opened this issue Dec 20, 2024 · 3 comments

Comments

@Urthawen
Copy link

Reverb Version

1.4.4

Laravel Version

11.36.1

PHP Version

8.3

Description

I just try to update the Reverb version form 1.4.3 to 1.4.4 and i cann't make it work again. (I just revert to 1.4.3 to continue my work)
In production, the 1.4.4 version seems to work fine, so maybe my local installation is doomed.

For local development, I use Laravel Herd on Windows, and for some problems, I had to configure a nginx server inside Herd to make reverb working : wss-reverb-ssl.test.txt

Maybe my config is false, i got it from a git repo that has the same problem as me using Reverb on Laravel Herd Windows.

The error i get in my client :
echo.js:6 WebSocket connection to 'wss://wss-reverb-ssl.test/app/dvzli9g6ilve6ilpgg44?protocol=7&client=js&version=8.4.0-rc2&flash=false' failed:

All work very fine with Laravel Reverb 1.4.3

Tell me if you want more informations :)

Thanks

Steps To Reproduce

  • Use Herd on Windows
  • Install a Nginx server using the configuration that i provide to you
@crynobone
Copy link
Member

@iaidan This seems to be related to your PR #277 . Do you have any inside why this would cause an issue?

@sertxudev
Copy link

I'm using Laravel Herd 1.11.1, Reverb 1.4.4 and Laravel 11.36. Everything works as expected on Windows without changing any configuration.

@iaidan
Copy link
Contributor

iaidan commented Dec 23, 2024

After a brief look, you should be able to use the standard nginx config with the latest version after my PR.

It might be related to the config using a hard coded SSL certificate location.

I will make a fresh laravel install with herd and reverb, with your config to test. Will relay results or a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants