laravel / reverb

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

Random internal server error debug #119

Closed tarreislam closed 5 months ago

tarreislam commented 5 months ago
driesvints commented 5 months ago

Please add a thorough description why this is needed as well as a way to reproduce this.

tarreislam commented 5 months ago

I've tried to be thorough by providing screenshots and code examples but ill try again.

Reverb is not stable and its impossible to know why because the internal server error is gatekept.

How to reproduce

  1. create a small array payload range(0,1024)
  2. broadcast it in an event with ShouldBroadcastNow in a while loop
  3. See how https://github.com/laravel/reverb/blob/main/src/Protocols/Pusher/Http/Controllers/EventsController.php#L28 fails because the entire payload is not there
taylorotwell commented 5 months ago

Drafting pending review from @joedixon

joedixon commented 5 months ago

Closing in favour of #128

tarreislam commented 5 months ago

Closing in favour of #128

Thank you!