Android app does not connect to a self-hosted server

Rocket chat is running on a virtual machine inside snap behind nginx. Web wersion and osx, windows, ios clients work pretty fine. I can’t connect to my server with android app. When I specify a workspace to join, it shows the correct address (Site_Url is set properly), but after entering login and password it does not proceed further and does not give me any errors. In the logs of the server I can see that authorization was successful. If I give wrong password - android app gives me an error for wrong account password. I can see websockets in chrome developer tools. The intermediate certificate also installed by default with letsencrypt and nginx. Would appreciate any help with my situation.

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.21.0 - x64
  • MongoDB Version: 3.6.14
  • Proxy: nginx
  • Firewalls involved: hardware firewall fortigate