[GH-ISSUE #3861] Unable to connect to Ollama #28943

Closed
opened 2026-04-25 03:26:58 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @tifDev on GitHub (Jul 14, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3861

Bug Report

Description

Getting below error:
image

Note: Accessing webui through http://localhost:3000/

Bug Summary:
[Provide a brief but clear summary of the bug]

Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]

Clean all containers so below command doesn't list any container:
sudo docker ps -a

Launch the container:
sudo docker run -d -p 3000:8080 -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --restart always ghcr.io/open-webui/open-webui:main

When going to settings page the error message appears.

Expected Behavior:
Connect to ollama

Actual Behavior:
Cannot connect to ollama

Environment

  • Open WebUI Version: v0.3.8

  • Ollama (if applicable): last

  • Operating System: Ubuntu 20.04

  • Browser (if applicable): Firefox

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Browser Console Logs:
image

Docker Container Logs:
image

Screenshots (if applicable):
image

Installation Method

Via docker

Originally created by @tifDev on GitHub (Jul 14, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/3861 # Bug Report ## Description Getting below error: ![image](https://github.com/user-attachments/assets/2fd82e37-98d6-4cc1-aab9-5ce47518513b) Note: Accessing webui through http://localhost:3000/ **Bug Summary:** [Provide a brief but clear summary of the bug] **Steps to Reproduce:** [Outline the steps to reproduce the bug. Be as detailed as possible.] Clean all containers so below command doesn't list any container: `sudo docker ps -a` Launch the container: `sudo docker run -d -p 3000:8080 -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --restart always ghcr.io/open-webui/open-webui:main` When going to settings page the error message appears. **Expected Behavior:** Connect to ollama **Actual Behavior:** Cannot connect to ollama ## Environment - **Open WebUI Version:** v0.3.8 - **Ollama (if applicable):** last - **Operating System:** Ubuntu 20.04 - **Browser (if applicable):** Firefox ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. ## Logs and Screenshots **Browser Console Logs:** ![image](https://github.com/user-attachments/assets/85ad830e-758f-43cb-8e5f-c60027574cc8) **Docker Container Logs:** ![image](https://github.com/user-attachments/assets/020718c9-099d-4ec2-bfde-7157ba1250c1) **Screenshots (if applicable):** ![image](https://github.com/user-attachments/assets/7279802f-ae7a-4196-8eec-f55f786ac4e1) ## Installation Method Via docker
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#28943