Ably as broadcast connection causes lots of warnings #56352
Unanswered
robert-stanciu
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
is there anyone else who is using ably as broadcast connection and experiences a lot of PHP warnings for private channels?
As far as I can tell, the warnings is caused by Ably's javascript first call to
/broadcasting/auth
that containstoken=null
andchannel_name=null
.I am using Ably's packages (not the Laravel ones):
"ably/laravel-broadcaster": "^1.0"
,"@ably/laravel-echo": "^1.0.6"
and"ably": "^1.2.50"
Here's the line that generates the warning because of $channel being null: https://github.com/laravel/framework/blob/12.x/src/Illuminate/Broadcasting/Broadcasters/Broadcaster.php#L378
Beta Was this translation helpful? Give feedback.
All reactions