nextcloud / talk-android

📱😀 Video & audio calls through Nextcloud on Android
Other
562 stars 247 forks source link

Multi-server accounts, UI slow and messages not sent/received for any account, when one server is down #4382

Open logan893 opened 1 month ago

logan893 commented 1 month ago

Steps to reproduce

Possibly related to Multi account issue https://github.com/nextcloud/talk-android/issues/4039

I have two accounts, from two servers. First account: my own server (server1) Second account: a friend's server (server2)

When server1 for first account is down (unavailable due to maintenance or simply unreachable), I cannot use Talk for the second account on server2.

I last used Talk with the second account and server2, when server1 for first account was up. Then I take down the server1. A while later, while server1 is still down, I received notification of a message from account on server2. Opening the app, it takes about 40 seconds to display the chat, but the new messages are not shown, and I am not able to successfully send any messages myself.

Going back to the conversation list takes another 40 seconds.

Switching to the account on server1 (while server is unavailable), is much quicker. The same actions takes 3-5 seconds. However, there is no indication that the server is down or unreachable.

Expected behaviour

If accounts from multiple servers are added in the app, they should work independently from each other.

An account on a server that is down, should show that the server is unreachable.

Actual behaviour

Appears that Talk is unusable for all accounts on all servers, when the first server you added an account from is down. Not sure if this affects other combinations.

There is also no indication that one of the Talk servers is down.

Device brand and model

Samsung S24 Ultra

Android version

14

Nextcloud Talk app version

20.0.2

Nextcloud server version

server1 (unavailable) is 29.0.4 (AIO 9.4.0 beta); server2 is 30.0.1 (self-installed)

Talk version

Server is down, can't check

Custom Signaling server configured

None

Custom TURN server configured

None

Custom STUN server configured

None

Android logs

No response

Server log

No response

Additional information

No response

mahibi commented 1 week ago

thank you for reporting! i plan to have a closer look at multi account issues soon