Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android app retry interval not configurable #756

Open
JPMakesStuff opened this issue Jan 15, 2025 · 3 comments
Open

Android app retry interval not configurable #756

JPMakesStuff opened this issue Jan 15, 2025 · 3 comments
Labels
a:feature New feature or request

Comments

@JPMakesStuff
Copy link

Seems the Android app does not do a very good job flushing DNS of the currently connected server, or does not do a very good job retrying the connection to the server when switching between WiFi to WiFi or WiFi to Cellular networks.

Sometimes have to force quit the app to get it to find the server after network re-connection, waiting minutes to then get delayed messages after whatever the automatic re-connection period is seems to defeat the whole purpose.

Would like the ability to set retry intervals for both WiFi and Cellular connections.

@JPMakesStuff JPMakesStuff added the a:feature New feature or request label Jan 15, 2025
@jmattheis
Copy link
Member

The app should automatically try when a network gets available. Could you post the gotify/android logs when you'd expect an automatic reconnect but it doesn't happen?

The dns caching likely uses the ttl of the dns entry, do you have a low ttl for the domain you use? The interval configuration seems like duplicate of #287.

@JPMakesStuff
Copy link
Author

I have tried a very low TTL, I have also tried it via IP directly.

Example for testing...
set android client to use private LAN IP
go off wifi, cellular only, obviously LAN IP wont be reachable
go about your day, client complains of not reachable
go home, join wifi, client says server still not reachable, must force quit app and load again for it to find server

@jmattheis
Copy link
Member

Does the normal refresh (in the navigation drawer) work to fix the issue when it appears?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature New feature or request
Development

No branches or pull requests

2 participants