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

java.net.UnknownHostException #1917

Open
ajpanton opened this issue Nov 21, 2024 · 1 comment
Open

java.net.UnknownHostException #1917

ajpanton opened this issue Nov 21, 2024 · 1 comment
Assignees

Comments

@ajpanton
Copy link

ajpanton commented Nov 21, 2024

  • App build number: 2.5.3
  • Android version: 14
  • Device: Samsung Fold 5
  • Installation source: Google Play

Was just on a flight, and set my phone on airplane mode. Owntrack's notification complained about a "java.net.UnknownHostException: Unable to resolve host [url]...". A bit unnecessary, don't you think? More reasonable would be "No connection". If both mobile and wifi is down, either by flight mode or going into a cave or something, the app should know the reason it's unable to resolve the host.

The same message appears if the server only accepts a local connection and you're outside the local LAN (or the server happens to be offline). What about a "Server unreachable"?

I feel like error messages like "java.net.UnknownHostException" belong elsewhere, like the Status page in the app. You can already view the logs there.

@growse
Copy link
Collaborator

growse commented Nov 23, 2024

Definitely room to improve the UX here.

@growse growse self-assigned this Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants