-
Notifications
You must be signed in to change notification settings - Fork 103
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
Pusher error: Internal server error.. #193
Comments
If you run the Reverb server in debug mode, do you see anything in the CLI output when you attempt to dispatch the event? If not, please share your reverb.php config and your |
I have same issue "Pusher error: Internal server error.." The total number of active users at that time was 76. This error occurred with only 1 user. My Reverb server in different vm from my laravel app Here my reverb.php config ` <?php return [
]; ` |
@hazratmilad it looks like it's failing when trying to get the name of one of your route parameters which happens here: reverb/src/Servers/Reverb/Http/Router.php Lines 127 to 145 in f0cee42
You will need to try logging in that file to determine which route is causing the issue. |
this is the result of dumping the array_map : and both but still have same problem |
Really strange. Can you try dumping the full stack trace here: https://github.com/laravel/reverb/blob/main/src/Servers/Reverb/Http/Server.php#L59-L66 |
@hazratmilad did you manage to resolve this one? If so, what was the issue? |
hi.yes i did
in this function we are blocking all of attributes that are not in model filleables for more security and it's block our reverb parameters too handled this :
|
Reverb Version
1.0.0
Laravel Version
11.7.0
PHP Version
8.3
Description
after dispatch an event it happens
Illuminate\Broadcasting\BroadcastException
Pusher error: Internal server error..
at vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:164
160▕ $channels->chunk(100)->each(function ($channels) use ($event, $payload, $parameters) {
161▕ $this->pusher->trigger($channels->toArray(), $event, $payload, $parameters);
162▕ });
163▕ } catch (ApiErrorException $e) {
➜ 164▕ throw new BroadcastException(
165▕ sprintf('Pusher error: %s.', $e->getMessage())
166▕ );
167▕ }
168▕ }
i Here are some links that might help solve this problem:
https://laravel.com/docs/11.x/authentication
17 app/Console/Commands/SendGateMessage.php:29
App\Events\GateIoEvent::dispatch("reza taheri ki boodi to akhe?")
+13 vendor frames
31 artisan:13
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
Steps To Reproduce
after dispatch an event it happens
Illuminate\Broadcasting\BroadcastException
Pusher error: Internal server error..
at vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:164
160▕ $channels->chunk(100)->each(function ($channels) use ($event, $payload, $parameters) {
161▕ $this->pusher->trigger($channels->toArray(), $event, $payload, $parameters);
162▕ });
163▕ } catch (ApiErrorException $e) {
➜ 164▕ throw new BroadcastException(
165▕ sprintf('Pusher error: %s.', $e->getMessage())
166▕ );
167▕ }
168▕ }
i Here are some links that might help solve this problem:
https://laravel.com/docs/11.x/authentication
17 app/Console/Commands/SendGateMessage.php:29
App\Events\GateIoEvent::dispatch("reza taheri ki boodi to akhe?")
+13 vendor frames
31 artisan:13
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
The text was updated successfully, but these errors were encountered: