-
Notifications
You must be signed in to change notification settings - Fork 117
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:start failed after 60 sec with no activity #306
Comments
It looks like something here is attempting to connect to your Reverb server without an App ID. Are you able to log in the vendor code the payload of the message to better understand why? |
Hi @joedixon Please tell me how can I log the payload of the message... I don't know from which file->method to log the content... |
Can you try updating to the latest version and running the server with debug mode enabled - If you look in the output of the server in the terminal / logs, you should be able to see the issue. |
I have updated to the latest version 1.4.8 and the laravel to version 12.4.1 Probably I am configuring wrong the server for use with multiple applications I have the following setup: One Laravel_Reverb_Server and two laravel apps (Laravel_APP_1 and Laravel_APP_2) In the Laravel_APP_1 I have configured like this: The .env:
and in the frontend of the application, where is configured the echo:
Now the server (Laravel_Reverb_Server) I have this configuration in .env:
In the reverb.php file from the server I have configured the multiple applications:
Now if I start the server
To get rid of this error I added also the original config in the .env for the Laravel_reverb_Server(that comes with laravel 12 new project)
and start again the server
as you can see now the server is starting, the Laravel_APP_1 is connected but...after some time (60 sec), the error will appear again. |
I'm having that exact same issue in Laravel Herd. ` INFO Starting server on 0.0.0.0:8080. Pruning Stale Connections .......................................................................................... [ERROR] Laravel\Reverb\ConfigApplicationProvider::findById(): Argument #1 ($id) must be of type string, null given, And this is just the service starting up, with no open browser windows... |
Reverb Version
1.4.6
Laravel Version
11.41.3
PHP Version
8.3.16
Description
I want to replace the laravel-websockets with laravel reverb.
I configured a fresh laravel application with reverb to use multiple apps. When starting the server, everything works fine but if there is no activity in 60 seconds, it will throw an exception.
php artisan reverb:start --debug
and open the application within 60 seconds:
is working fine...as you can see, the subscription is successful, but if there is no activity from the application for 60 seconds, the server will crash:
Steps To Reproduce
Start the server and do not open any application within 60 seconds, in order the app to not subscribe.
The text was updated successfully, but these errors were encountered: