luceos Thank you, tried many solutions in this whole day, and for comparations, I made my two sites with same php version (php 8.1);
Tried:
Edited config.php with
https://discuss.flarum.org/d/28052-realtime-self-hosted-websocket-for-instant-updates/81
But the guy said still had same problem
'websocket' => [
'php-client-host' => 'localhost',
],
Tried: disable Daemon with systemdm and install and enable Daemon with supervisor.
Tried: tried re-install realtime, pusher/pusher-php-server 7.2.0
Tried: php flarum queue:work --timeout=360
Finally,
the realtime in my testing site works good. But it still doesn't work in my main site..
In https://discuss.flarum.org/d/28052-realtime-self-hosted-websocket-for-instant-updates , I saw you said failed means it couldn't send the notifications to pusher services.
And, the difference of my testing site and main site is Cloudflare and extensions installed.
My main site using cloudflare, maybe this is the problem
In this section (https://discuss.flarum.org/d/28052-realtime-self-hosted-websocket-for-instant-updates/46), i saw the guy talk with using cloudflare, but there wasnt any solution for cloudfalre..
So, I guess Realtime cannot work in my main site because cloudflare or some other extensions.
Can you please give me a little more tip for that?
thank you