Skip to content
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
@rakshitbharat

Description

@rakshitbharat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needednetworkIssues caused by the network configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions