Skip to content

App gets stuck on "connecting to AI" - requires resetting network to resume #476

@jebko0429

Description

@jebko0429

Bug Description

The app gets stuck on "connecting to AI" status and stops responding. To work around this, I have to restart my phone's internet connection (toggle airplane mode or toggle WiFi/mobile data) to make the agent continue responding.

Expected Behavior

The agent should either connect successfully or fail gracefully with a retry option, without requiring manual network reset.

Actual Behavior

  • The app hangs on "connecting to AI"
  • Agent becomes unresponsive
  • Only workaround is to restart phone's network connection

Steps to Reproduce

  1. Use the agent normally
  2. Eventually it gets stuck on "connecting to AI"
  3. Agent stops responding
  4. Toggle airplane mode or restart WiFi/mobile data
  5. Agent resumes working

Environment

Please provide:

  • Android version:
  • Operit version:
  • Device model:
  • Network type (WiFi/Mobile/5G):

Additional Context

The issue appears to be related to network connection handling - possibly the socket/connection not timing out properly or not detecting network changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions