[GH-ISSUE #9539] Open WebUI does not work over SSH tunnel #102545

Closed
opened 2026-05-17 23:52:43 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @riedlc on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9539

I have Ollama running on a remote server.

From my local laptop, I open a SSH tunnel to the remote server via:
ssh -L 5050:localhost:5000 <user>@<remote server>

From my local laptop, I verify that Ollama runs correctly and is accessible:
bash$ curl http://localhost:5050 Ollama is running

Similarly, opening http://localhost:5050/api/tags in my local browser shows a json object listing all the models installed on the remote server.

Yet when I add http://localhost:5050 (or ``http://172.0.0.1:5050) as a Connection in the Open WebUI admin interface, it doesn't work and returns a "Network Problem" error. The Javascript console shows: POST http://localhost:3000/ollama/verify 500 (Internal Server Error)`.

Originally created by @riedlc on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9539 I have Ollama running on a remote server. From my local laptop, I open a SSH tunnel to the remote server via: `ssh -L 5050:localhost:5000 <user>@<remote server>` From my local laptop, I verify that Ollama runs correctly and is accessible: `bash$ curl http://localhost:5050 Ollama is running` Similarly, opening `http://localhost:5050/api/tags` in my local browser shows a json object listing all the models installed on the remote server. Yet when I add `http://localhost:5050` (or ``http://172.0.0.1:5050`) as a Connection in the Open WebUI admin interface, it doesn't work and returns a "Network Problem" error. The Javascript console shows: `POST http://localhost:3000/ollama/verify 500 (Internal Server Error)`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#102545