issue: GET /models 404 Not Found #5837

Closed
opened 2025-11-11 16:35:25 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @latel on GitHub (Jul 22, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.16

Ollama Version (if applicable)

No response

Operating System

docker

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

tools added

Actual Behavior

tools add failed

Steps to Reproduce

  1. add tool
Image
  1. test connect
  2. connect failed, says GET /models 404 Not Found

Logs & Screenshots

(base) ➜  weather git:(main) ✗ uvx mcpo --api-key 'top-secret' --cors-allow-origins '*' --port 8000 -- uvx mcp-server-time --local-timezone=America/New_York
Starting MCP OpenAPI Proxy on 0.0.0.0:8000 with command: uvx mcp-server-time --local-timezone=America/New_York
2025-07-22 18:11:54,073 - INFO - Starting MCPO Server...
2025-07-22 18:11:54,073 - INFO -   Name: MCP OpenAPI Proxy
2025-07-22 18:11:54,073 - INFO -   Version: 1.0
2025-07-22 18:11:54,073 - INFO -   Description: Automatically generated API from MCP Tool Schemas
2025-07-22 18:11:54,073 - INFO -   Hostname: okwangdeMacBook-Pro.local
2025-07-22 18:11:54,073 - INFO -   Port: 8000
2025-07-22 18:11:54,073 - INFO -   API Key: Provided
2025-07-22 18:11:54,073 - INFO -   CORS Allowed Origins: ['*']
2025-07-22 18:11:54,073 - INFO -   Path Prefix: /
2025-07-22 18:11:54,073 - INFO - Configuring for a single Stdio MCP Server with command: uvx mcp-server-time --local-timezone=America/New_York
2025-07-22 18:11:54,073 - INFO - Uvicorn server starting...
INFO:     Started server process [38512]
INFO:     Waiting for application startup.
Installed 29 packages in 52ms


INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     127.0.0.1:55037 - "OPTIONS /models HTTP/1.1" 200 OK
INFO:     127.0.0.1:55037 - "GET /models HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:55131 - "GET /models HTTP/1.1" 404 Not Found

Additional Information

No response

Originally created by @latel on GitHub (Jul 22, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.16 ### Ollama Version (if applicable) _No response_ ### Operating System docker ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using 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. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior tools added ### Actual Behavior tools add failed ### Steps to Reproduce 1. add tool <img width="762" height="554" alt="Image" src="https://github.com/user-attachments/assets/54375dc2-fc55-4e4c-8e3b-227fb6f58b33" /> 2. test connect 3. connect failed, says GET /models 404 Not Found ### Logs & Screenshots ``` (base) ➜ weather git:(main) ✗ uvx mcpo --api-key 'top-secret' --cors-allow-origins '*' --port 8000 -- uvx mcp-server-time --local-timezone=America/New_York Starting MCP OpenAPI Proxy on 0.0.0.0:8000 with command: uvx mcp-server-time --local-timezone=America/New_York 2025-07-22 18:11:54,073 - INFO - Starting MCPO Server... 2025-07-22 18:11:54,073 - INFO - Name: MCP OpenAPI Proxy 2025-07-22 18:11:54,073 - INFO - Version: 1.0 2025-07-22 18:11:54,073 - INFO - Description: Automatically generated API from MCP Tool Schemas 2025-07-22 18:11:54,073 - INFO - Hostname: okwangdeMacBook-Pro.local 2025-07-22 18:11:54,073 - INFO - Port: 8000 2025-07-22 18:11:54,073 - INFO - API Key: Provided 2025-07-22 18:11:54,073 - INFO - CORS Allowed Origins: ['*'] 2025-07-22 18:11:54,073 - INFO - Path Prefix: / 2025-07-22 18:11:54,073 - INFO - Configuring for a single Stdio MCP Server with command: uvx mcp-server-time --local-timezone=America/New_York 2025-07-22 18:11:54,073 - INFO - Uvicorn server starting... INFO: Started server process [38512] INFO: Waiting for application startup. Installed 29 packages in 52ms INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) INFO: 127.0.0.1:55037 - "OPTIONS /models HTTP/1.1" 200 OK INFO: 127.0.0.1:55037 - "GET /models HTTP/1.1" 404 Not Found INFO: 127.0.0.1:55131 - "GET /models HTTP/1.1" 404 Not Found ``` ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:35:25 -06:00
Author
Owner

@rgaricano commented on GitHub (Jul 22, 2025):

you have to add the mcpo+tool name, as: http://127.0.0.1:1314/mcp-server-time
(I supose that mcpo http://0.0.0.0:8000 is proxied as http://127.0.0.1:1314 )

@rgaricano commented on GitHub (Jul 22, 2025): you have to add the mcpo+tool name, as: `http://127.0.0.1:1314/mcp-server-time` (I supose that mcpo `http://0.0.0.0:8000` is proxied as `http://127.0.0.1:1314` )
Author
Owner

@latel commented on GitHub (Jul 23, 2025):

Sorry, I added the tools to the externals setting menu, not the tools list.

@latel commented on GitHub (Jul 23, 2025): Sorry, I added the tools to the externals setting menu, not the tools list.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5837