Skip to content

Raw UnknownHostException shown when updating apps while offline #445

@jabir-dev

Description

@jabir-dev

Device: Pixel 9a
Channel: Stable
App: GrapheneOS Apps

Summary

When the device is offline, attempting to update an application in the Updates section of the GrapheneOS Apps client results in a technical Java exception instead of a user-friendly "no internet" message.

Steps to reproduce

Disable Wi-Fi and mobile data (or enable Airplane mode).
Open the GrapheneOS Apps application.
Go to the Updates tab.
Tap on Update for any app (e.g., Auditor).

Actual result

A raw exception is shown:

java.net.UnknownHostException: Unable to resolve host "apps.grapheneos.org": No address associated with hostname

Image

Expected result

A clean, user-friendly offline message such as:

"No internet connection"
"Unable to download updates. Please check your network connection."

Additional information

Network permission for GrapheneOS Apps: Allowed
Network state: Offline
Reproducible: 100% of the time when offline
Screenshot attached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions