Skip to content

Chatting fails with No valid session ID provided provided error. #4857

@sangee2004

Description

@sangee2004

Describe the bug
Chatting fails with No valid session ID provided provided error.

Environment: local docker install
Consistently Reproduces: No
Additional environments attempted in: Not attempted in main yet

Note I do not have steps to reproduce this issue. I am providing the steps that i had done in this setup before i ecounterd this problem

To Reproduce
Steps to reproduce the behavior:

  1. Had a project with Antv Chart and Outlook MCP servers and was able to chat successfully with both MCP servers with tool calls succeeding

After few hours , when I tried to chat in this project , I am starting to see the following errors:

Image

Following errors seen in obot logs

error│ failed to restart SSE: failed to restart SSE: failed to connect to SSE server url https://outlook-mcp.obot.ai/mcp: 400 Bad Request, Bad Request: No valid session ID provided
time="2025-11-04T18:25:11Z" level=error msg="Failed to send resources/list message to server ms1ddq6g: failed to send request: failed to send message: 400 Bad Request: Bad Request: No valid session ID provided" logger=/app/pkg/api/handlers/mcpgateway/handler.go
time="2025-11-04T18:25:11Z" level=info msg="Handling request: method POST, path /credentials/reveal" id=6be92ac6-e1d8-4fc1-94f1-b5f90b8eb90d
time="2025-11-04T18:25:11Z" level=info msg="Handled request: method POST, path /credentials/reveal" id=6be92ac6-e1d8-4fc1-94f1-b5f90b8eb90d
error│ failed to restart SSE: failed to restart SSE: failed to connect to SSE server url https://outlook-mcp.obot.ai/mcp: 400 Bad Request, Bad Request: No valid session ID providedtime="2025-11-04T18:25:11Z" level=error msg="Failed to send tools/list message to server ms1ddq6g: failed to send request: failed to send message: 400 Bad Request: Bad Request: No valid session ID provided" logger=/app/pkg/api/handlers/mcpgateway/handler.go

listing tools for outlook MCP sever also fails with the same error.

time="2025-11-04T00:32:52Z" level=error msg="Failed to send tools/list message to server ms1ddq6g: failed to send request: failed to send message: 400 Bad Request: Bad Request: No valid session ID provided" logger=/app/pkg/api/handlers/mcpgateway/handler.go
error│ failed to restart SSE: failed to restart SSE: failed to connect to SSE server url https://outlook-mcp.obot.ai/mcp: 400 Bad Request, Bad Request: No valid session ID provided`

Able to still work with Antv Chart` MCP server.

Note
I have another project with Outlook MCP server ( a new instance) in which I dont see this problem. I am able to continue to use this instance even after 18 hours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    High

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions