I did it according to laravel's instructions, installed everything, launched it, but I do not observe real-time updates of discussions and posts, I developed locally through ploi.io there's a nice add-on over laravel
the only thing that works like this is updated if you click the reply to post button, nothing else
I just don't understand the logic anymore why use pusher/reverb if they don't update in real time and don't give errors in the logs???
5 Comments
View log
INFO Starting secure server on 127.0.0.1:8080 (bettercommunity.ru).
INFO Gracefully terminating connections.
INFO Starting secure server on 127.0.0.1:8080 (bettercommunity.ru).
INFO Gracefully terminating connections.
INFO Starting secure server on 127.0.0.1:8080.
View log
2024-11-09 11:22:42 Waterhole\Events\NewComment ............... 58.27ms FAIL
2024-11-09 11:22:42 Waterhole\Events\NewComment .................... RUNNING
2024-11-09 11:22:36 Waterhole\Events\NewComment .............. 214.50ms FAIL
2024-11-09 11:22:36 Waterhole\Events\NewComment .................... RUNNING
I'm a little confused. Does Waterhole support or use Laravel Reverb? I don't see mention of it in the docs anywhere, nor see any realtime updates in the demo.
It does support it, because Reverb uses the Pusher spec.
Unfortunately, the core js setup is opinionated, and completely ignores the host you set in your broadcasting config, defaulting to pusher.com, which of course won't work with Reverb.
You can configure the core JS setup in
config/waterhole/system.php
underecho_config
. Replace it with whatever config you would need to use for Reverb, per the Laravel Broadcasting docs.