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

[BUG] No stable connection when changing networks (LTE -> Wi-Fi -> LTE...)

Open ArchimedesFM opened this issue 9 years ago • 14 comments

Your Rocket.Chat.Android version: Rocket.Chat+ 1.0.18 Server: 0.58.2

We cant provide a stable connection between Rocket.Chat+ on different Android Devices and the Rocket.Chat-Sever. We switch a lot between different WLAN-Hotspots and LTE and have a huge problem with the Android-App. The App often says "Authenticating" and nothing happens after a while in the background. You have to restart the App to get a connection to the server. Sometimes when you are connected a message cant get send and you get a "Failed to sync" error. The same behavior is reproducable on different Android devices (in our case: OnePlus 3T with Android 7.1.1, Moto G5 with Android 7.0)

The Server runs via SNAP Installation on a virtual Ubuntu Server. From the Internet an Apache Reverse Proxy handles the connection.

The iOS Rocket.Chat+ App doesn´t have this issues.

Is there a know problem or can i provide further informations to get a fix for this problem?

ArchimedesFM avatar Sep 19 '17 07:09 ArchimedesFM

@ArchimedesFM Thanks for opening the issue! We're working hard to fix those issues with our brand new SDK (http://github.com/RocketChat/Rocket.Chat.Java.SDK) in Android. I'll ask you a bit o patience and wait for new updates in the next months.

rafaelks avatar Sep 19 '17 14:09 rafaelks

@rafaelks Thank you for your answer, but i want to go a bit further. Is this a widely known Problem or a new one? Are you already working on this or is a fix far far away in 2018? We want to roll out Rocket.Chat in our Company on PCs, iPhones and Android devices, but we can not do this with an unstable Android App. Is there any alternative or Workaround in your opinion?

ArchimedesFM avatar Sep 19 '17 14:09 ArchimedesFM

@ArchimedesFM This is a known issue (and old) in our Android app. I'm really sorry for that, I can assure you we're working really hard to get this fixed.

rafaelks avatar Sep 21 '17 22:09 rafaelks

The problems are still present in Android App 1.0.21.

ArchimedesFM avatar Oct 06 '17 10:10 ArchimedesFM

@ArchimedesFM Yes, we're doing a rewrite in our network layer that is going to fix this problems.

rafaelks avatar Oct 06 '17 10:10 rafaelks

any updates on this? :)

ccfiel avatar Nov 11 '17 18:11 ccfiel

@ccfiel We have a new version available at Google Play on Beta channel. It has many improvements on network issues. It's still not bulletproof but it's a checkpoint for us. Any help on testing it will be appreciated.

leonardoaramaki avatar Nov 11 '17 22:11 leonardoaramaki

@leonardoaramaki how can I apply for beta test? :) I love to help

ccfiel avatar Nov 11 '17 22:11 ccfiel

@ccfiel It's open to everyone. Just go to the Rocket.Chat+ app on Google Play and scroll to the bottom to apply :)

leonardoaramaki avatar Nov 11 '17 22:11 leonardoaramaki

Ok got it! 😀

On Nov 12, 2017 6:52 AM, "Leonardo Aramaki" [email protected] wrote:

@ccfiel https://github.com/ccfiel It's open to everyone. Just go to the Rocket.Chat+ app on Google Play and scroll to the bottom to apply :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RocketChat/Rocket.Chat.Android/issues/469#issuecomment-343699816, or mute the thread https://github.com/notifications/unsubscribe-auth/ABtJyFjZG3EiTEUQOGKHgqZdcPRS65F2ks5s1iVAgaJpZM4Pb9k6 .

ccfiel avatar Nov 11 '17 22:11 ccfiel

Using beta version now. So far so good :) I test some more. Hopefully, its now solved. @ArchimedesFM Try the beta

ccfiel avatar Nov 12 '17 19:11 ccfiel

The connection in beta 1.0.33 is much more stable then in the old release 1.0.18. I dont know how much of the refactoring is done, but you are on a good way.

ArchimedesFM avatar Dec 12 '17 13:12 ArchimedesFM

@ArchimedesFM Thanks for the feedback! @leonardoaramaki is working hard to fix it! 🎉

rafaelks avatar Dec 12 '17 13:12 rafaelks

Closing now, because it's already implemented in 2.0.0.

rafaelks avatar Mar 13 '18 09:03 rafaelks