Ok, I fixed it. As I’m using Ubuntu, and it has some problems with network packet size and Docker.
I added to compose.yml:
networks:
rocketchat:
driver_opts:
com.docker.network.driver.mtu: 1450
and
network:
- rocketchat
to each service. Now everything works. @reetp Thanks for responding!