mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #9539] Open WebUI does not work over SSH tunnel #54216
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 runningSimilarly, opening
http://localhost:5050/api/tagsin 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)`.