Skip to content

Connection to OpenWebUI is lost immediately after initial login, causing models/chats to disappear and preventing prompt submission #138

Description

@IrvinK02

App Version (optional)

v4.15.5 (3)

What happened?

I installed OpenRelay for the first time and connected it to my self-hosted OpenWebUI instance.

The initial connection appears to succeed without issue. After entering my server URL and logging in:

  • The app successfully connects to my OpenWebUI server.
  • All of my available AI models populate correctly.
  • My previous chat history is also retrieved and displayed.

However, immediately after this initial synchronization, the connection appears to stall.

Symptoms include:

  • Attempting to send a prompt causes the message to disappear from the input box, but nothing is ever sent.
  • No response is generated.
  • Under Settings → Server, the server status remains stuck on “Checking…” indefinitely.
  • The server information (IP address, port, account, etc.) is correct, but the connection never transitions to a healthy/connected state.

If I completely close and reopen the app:

  • All models disappear.
  • Previous chats disappear.
  • The sidebar is essentially empty.
  • The app is no longer connected to my OpenWebUI instance.

The only way to temporarily reconnect is to:

  1. Log out.
  2. Delete the server.
  3. Add the server again.

Doing this repeats the exact same behavior every time:

  • Initial connection succeeds.
  • Models and chats load.
  • Connection stalls.
  • Prompt submission stops working.
  • Restarting the app leaves it disconnected again.

This has been 100% reproducible on every attempt.

Steps to Reproduce

  1. Install OpenRelay.
  2. Open the app for the first time.
  3. Add an OpenWebUI server.
  4. Log into the server.
  5. Observe that models and previous chats load successfully.
  6. Attempt to send any prompt.
  7. Notice that the prompt disappears but nothing is sent.
  8. Navigate to Settings → Server and observe the server status remains stuck on “Checking…”.
  9. Close the app completely.
  10. Reopen the app.
  11. Observe that the models and chats are gone and the server is no longer connected.
  12. Delete the server and add it again.
  13. The exact same behavior repeats.

Expected Behavior

After successfully connecting to the OpenWebUI server, the connection should remain active.

I should be able to:

  • Send prompts normally.
  • Receive responses.
  • Continue using the app without reconnecting.
  • Reopen the app and remain connected.
  • Retain access to my models and existing chat history without needing to delete and recreate the server.

Screenshots / Recording (optional)

Image https://github.com/user-attachments/assets/e915ffae-a498-4c01-80c1-9999c47c489c Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isnt workingtriageNeeds review and categorization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions