Skip to content

App permanently loses connection after network switch (Wi-Fi/Cellular/VPN) #5657

@utop-top

Description

@utop-top

Steps to reproduce

Environment:
Client: Element X / matrix-rust-sdk
OS: iOS / Android
Steps to Reproduce:
Open the app and ensure it is connected and syncing normally.
Change the active network interface (e.g., disable Wi-Fi to switch to Cellular, or toggle a system VPN on/off).
Attempt to send a message or wait for new messages.
Actual Behavior:
The app hangs indefinitely in an offline or "connecting" state. It never automatically recovers the connection. The user must manually force-close and restart the application to restore network connectivity.
Expected Behavior:
The app should detect the network change (Wi-Fi <-> Cellular <-> VPN) and automatically re-establish the connection without requiring a manual restart.

Outcome

What did you expect?

What happened instead?

Your phone model

No response

Operating system version

No response

Application version

No response

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions