This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Laravel websockets periodically failed to broadcast event #717
Closed
Description
We are a small team and we have trouble fixing the following bug:
We are implementing event broadcast in Laravel project using Beyondcode Laravel-Websockets and VueJs client that listens to echo private channel. When the event broadcasted, it works fine, but the next event broadcast is not delivered to the client. It needs at least 1 minutes with no activity for each event broadcasted, then it works again.
A bit strange is that this happens only in production server - the development server is fine.
backend:
laravel 8.0
jetstream 1.3
pusher-php-server 4.1
inertiajs 0.2.4
beyondcode/laravel-websockets 1.11.1
frontend:
axios 0.19
pusher-js 7.0
vue 2.6.11
tailwindcss 2.0.3
laravel-echo 1.8.1