matteocontrini The js client in the browser can connect, the websockets connection is established and ping/pong and typing events are correctly sent. But no event about new posts, etc. is received.
That implies that php cannot hit the daemon
php flarum realtime:serve, you can set
php-client-host to localhost if (all) api/php nodes are on the same host as the daemon. Looks like it automatically uses the hostname from the config, which is odd indeed. Try setting:
'php-client-host' => 'localhost',
'php-client-port' => 6001,
'php-client-secure' => false,
This is exactly why I'm hoping for patience in testing, so that we can see where to optimise the settings for simplicity. I set it up for extreme flexibility, now it needs sane defaults 😉 Maybe a flag on the config that says
daemon-running-locally or perhaps even inside the daemon so that it writes the defaults to the database?