Skip to content

cURL error : Connection timeout while broadcasting of real-time events #342

@monil-vaishnani

Description

@monil-vaishnani

Reverb Version

1.5.0

Laravel Version

11.45.1

PHP Version

8.2.4

Description

I created a real-time chat module using Reverb and Laravel Echo. In order to broadcast events beyond the waiting of executing queues, I am utilizing sync for QUEUE_CONNECTION and implementing the ShouldBroadcastNow interface. However, I'm receiving the error Pusher error: cURL error 28: Connection timeout after 10001 ms when I send several messages in a single second.

Steps To Reproduce

Set up Reverb in your Laravel project, and configure QUEUE_CONNECTION to sync in the .env file, and then create one event that implements the ShouldBroadcastNow interface. and broadcast this event multiple times within a second.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions