-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Search before asking
- I had searched in the issues and found no similar issues.
Operating system information
Linux
Python version information
=3.11
What happened
Hi author,
I tested it with the latest version, but it still doesn't work,but the error message is different now.
2025-11-27 22:06:45 ubuntu derisk_serve.mcp.api.endpoints[8859] INFO 正在连接MCP服务 'zabbix'...
2025-11-27 22:06:45 ubuntu derisk_serve.mcp.service.service[8859] INFO connect_mcp:zabbix,None
2025-11-27 22:06:45 ubuntu derisk.agent.resource.tool.mcp.mcp_utils[8859] INFO connect_mcp:zabbix,None
2025-11-27 22:06:45 ubuntu mcp.client.sse[8859] INFO Connecting to SSE endpoint: http://172.16.7.125/
2025-11-27 22:06:45 ubuntu mcp.client.sse[8859] ERROR Error in sse_reader: Expected response header Content-Type to contain 'text/event-stream', got 'text/html'
2025-11-27 22:07:01 ubuntu derisk.model.cluster.worker.manager[8859] INFO There has model storage, start the model from storage
2025-11-27 22:07:15 ubuntu derisk.util.async_executor_utils[8859] WARNING Service mcp_tool_list timed out (30s)
2025-11-27 22:07:15 ubuntu derisk.agent.resource.tool.mcp.mcp_utils[8859] ERROR connect_mcp error: ('MCP服务http://172.16.7.125/工具列表调用异常!', ServiceTimeoutError('Service mcp_tool_list timed out after 30s'))
2025-11-27 22:07:15 ubuntu derisk_serve.mcp.api.endpoints[8859] ERROR 无法连接到MCP服务 'zabbix'
INFO: 172.16.10.97:52313 - "POST /api/v1/serve/mcp/start HTTP/1.1" 200 OK
What you expected to happen
Connection to MCP failed
How to reproduce
1.Configure the MCP server
2.After configuring MCP on the page, click Connect
Additional context
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!