Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mathewparet's avatar

Broadcasting issue

I am using reverb for broadcasting. I can see the channel subscription is successful, but the event isn't broadcasting through reverb. Broadcasting works when the driver is set to log. And there is no error log or anything indicating what is happening.

This is my job file:

My event file:

Channel authorization:

config/broadcast.php:

.env:

Everything looks correct to me.

The browser is able to actually make a connection and subscribe successfully, but doesn't receive the broadcast.

From reverb --debug log it looks like the event isn't being broadcasted at all:

However when I switch the driver to log the broadcast does log correctly to the log file.

I can confirm that the job and the event was executed:

0 likes
2 replies
mathewparet's avatar
mathewparet
OP
Best Answer
Level 22

Fixed - the issue was that I was subscribing to a public channel, while the broadcast was set on a private channel.

I am assuming that because there was no subscription on the private channel, the event wasn't broadcast at all. I was under the assumption that events would be broadcasted regardless of how many people are subscribed.

It would be nice if someone could confirm this.

Please or to participate in this conversation.