mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-23 03:23:08 -05:00
[GH-ISSUE #20828] issue: OAuth2.1 MCP Tool Server Verification Error - Failed to connect to the tool server: 'coroutine' object is not iterable #34831
Reference in New Issue
Block a user
Originally created by @Lemmons on GitHub (Jan 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20828
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
No response
Operating System
EKS (Amazon Linux)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Requests to
/api/v1/configs/tool_servers/verifyfor a properly configured MCP tool server utilizing OAuth2.1 should succeed.Actual Behavior
Regression in v0.7.2 vs v0.6.36 for the exact same MCP tool server with the exact same settings.
v0.6.36 - MCP client verification succeeds
v0.7.2 - MCP client verification fails immediately with
open_webui.routers.configs:verify_tool_servers_config:347 - Failed to connect to the tool server: 'coroutine' object is not iterableSteps to Reproduce
open_webui.routers.configs:verify_tool_servers_config:347 - Failed to connect to the tool server: 'coroutine' object is not iterableLogs & Screenshots
MCP client verification fails immediately
MCP client registration succeeds
Tool use works
Additional Information
This looks like its only an issue with verification of the url, as both client registration, and actual tool usage seems to work fine. I have not seen any suspect log messages during actual use.
@owui-terminator[bot] commented on GitHub (Jan 20, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20808 issue: mcp oauth 2.1 callback always ends in 401 not authenticated
by bk-lg • Jan 20, 2026 •
bug#19823 Issue: MCP with OAuth 2.1 Authorization/Token retrival is broken in v0.6.41
by mllab-nl • Dec 08, 2025 •
bug#19116 issue: MCP OAuth 2.1 client registration fails when policy_uri, client_uri, logo_uri or tos_uri are not set
by xqqp • Nov 11, 2025 •
bug#20802 issue: oauth_token passed to tools is None
by m1g32 • Jan 19, 2026 •
bug#19148 issue: Verify OAuth mcp server sends incorrect authorization header
by Oleg52 • Nov 12, 2025 •
bugShow 2 more related issues
#20629 issue: MCP server response fails
by thrasher • Jan 12, 2026 •
bug#19813 issue: Failed to connect to MCP server, while the connection test works fine
by spi-dlp • Dec 08, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.