mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #124] issue: Connection Failed from user settings, but works from admin settings #55
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @abdessalaam on GitHub (May 9, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/124
Check Existing Issues
mcpo Version
v0.0.13
Open WebUI Version (if applicable)
v0.6.7 (latest)
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
I run mcpo in docker following this set-up #86
When I want to add a new tool in OpenWebUI Admin Settings -> Tools, it works:
http://host.docker.internal:5002/memoryI would expect that adding exactly the same configuration and API token under my User Settings -> Tools should work as well.
Actual Behavior
When I try to add exactly the same setup under my User Settings -> Tools, the connection fails. The message is simply
Connection failed.Steps to Reproduce
http://host.docker.internal:5002/memoryand APIhttp://host.docker.internal:5002/memoryand APIConnection failed.Logs & Screenshots
There are no logs visible in the docker logs, sadly, apart from the standard:
Additional Information
No response
@nickfixit commented on GitHub (May 21, 2025):
How do we resolve this. It's frustrating
@u6tory commented on GitHub (Jun 15, 2025):
Same issue. My case was caused by a Mixed Content problem. My OpenWebUI is hosted on HTTPS, but MCPO was on HTTP. I solved this by adding HTTPS to my MCPO server. Adding tools for admin settings is in progress on the backend, but for user settings, it's on the frontend, browser-side.
@taylorwilsdon commented on GitHub (Aug 2, 2025):
To clarify, that is not how it works. If you add from user settings -> tools, the calls take place on the client side - from your browser to the tool server. When added centrally in the admin panel, the calls are made from the server backend, not the client, so if you're running something on localhost on your laptop you'll only be able to reach it that way by user-scoped tool installation.
Closing as this is unrelated to MCPO / just related to Open WebUI, but u6tory has a great callout to check - if you're getting errors, look in your open webui logs to see if it's something like mixed http/https or a network path issue (ie trying to use localhost when the tool server isn't running on the same host as open-webui)