Rocket.Chat.Android icon indicating copy to clipboard operation
Rocket.Chat.Android copied to clipboard

Chat list not load, chat empty

Open for7raid opened this issue 6 years ago • 7 comments

Describe the bug

Chat list is empty, messages list is empty

To Reproduce

  1. Open app
  2. See error Error occured, try again
  3. Find channel and open
  4. Message list is empty

Expected behavior

List of chats is filled and showed, messages loaded and showen

Screenshots

Screenshot_20190822-220135 Screenshot_20190822-220213

Devices and Version

Your Rocket.Chat.Android version: 3.5.1 after full deinstall and install Your Rocket.Chat Server version: 1.3.1

Mobile device model and OS version: Android 7

Additional context

for7raid avatar Aug 22 '19 19:08 for7raid

3.5.1 build 2077 the issue still reproduce

for7raid avatar Aug 24 '19 05:08 for7raid

I have the same setup and same problem. You can check that you can establish a websocket connection. In my case websocket seems to work

HTTP/1.1 101 Switching Protocols
Server: nginx/1.14.0 (Ubuntu)
Date: Wed, 28 Aug 2019 03:42:17 GMT
Connection: upgrade
Upgrade: websocket
Sec-WebSocket-Accept: qAzJnlZp0xHyZGZ/MqIoBVuu1u8=

�o��a["{\"server_id\":\"0\"}"]

llacroix avatar Aug 28 '19 03:08 llacroix

Also, use appear offline but when you check in the settings it says online so connection works but something seems to fail to work.

llacroix avatar Aug 28 '19 03:08 llacroix

check that your config for your proxy server actually handle websocket request on location /websocket and /(.*)/websocket

llacroix avatar Aug 28 '19 05:08 llacroix

proxy and websocket is ok, because version 3.5.0 was working fine web version works normal and uses the same websocket (I guess)

for7raid avatar Aug 28 '19 05:08 for7raid

I've had this/similar issue because my Nginx reverse proxy wasn't set as per the documentation - https://rocket.chat/docs/installation/manual-installation/configuring-ssl-reverse-proxy/

C0rn3j avatar Oct 18 '19 13:10 C0rn3j

I'd add that something I discovered, when configuring nginx, you may have to set some headers again in location I believe in my case it was the HOST header that would get reset if it was set on a context above but some headers would be added in location. As a result if you're using a second proxy like traefik, the host header doesn't get passed through to rocketchat.

llacroix avatar Oct 18 '19 16:10 llacroix