Skip to content

Warning of request processing failure when using cline client connection #898

Closed as not planned

Description

@jello-chen
Begin start the deploy service at http://0.0.0.0:12345/.
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://0.0.0.0:12345
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Workbench\deploy\Deploy\bin\Debug\net9.0\win-x64
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://127.0.0.1:12345/sse - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: GET /sse'
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://127.0.0.1:12345/sse - - -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: GET /sse'
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - application/json 155
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: ModelContextProtocol.Server.McpServer[2103773711]
      Server (deploy 1.0.0.0) message processing canceled.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'MCP HTTP with SSE | HTTP: GET /sse'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://127.0.0.1:12345/sse - 200 - text/event-stream 68045.2067ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - 202 - - 188.0191ms
info: ModelContextProtocol.Server.McpServer[570385771]
      Server (deploy 1.0.0.0) method 'initialize' request handler called.
info: ModelContextProtocol.Server.McpServer[1867955179]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) method 'initialize' request handler completed.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - application/json 54
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - 202 - - 33.3618ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - application/json 46
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: ModelContextProtocol.Server.McpServer[570385771]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) method 'tools/list' request handler called.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - 202 - - 60.5496ms
info: ModelContextProtocol.Server.McpServer[1867955179]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) method 'tools/list' request handler completed.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - application/json 50
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - 202 - - 61.2782ms
warn: ModelContextProtocol.Server.McpServer[2049951654]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) received request for method 'resources/list', but no handler is available.
warn: ModelContextProtocol.Server.McpServer[975074943]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) method 'resources/list' request handler failed.
      ModelContextProtocol.McpException: Method 'resources/list' is not available.
         at ModelContextProtocol.McpSessionHandler.HandleRequest(JsonRpcRequest request, CancellationToken cancellationToken)
         at ModelContextProtocol.McpSessionHandler.HandleMessageAsync(JsonRpcMessage message, CancellationToken cancellationToken)
         at ModelContextProtocol.McpSessionHandler.<>c__DisplayClass26_1.<<ProcessMessagesCoreAsync>g__ProcessMessageAsync|1>d.MoveNext()
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - application/json 60
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'MCP HTTP with SSE | HTTP: POST /message'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'MCP HTTP with SSE | HTTP: POST /message'
warn: ModelContextProtocol.Server.McpServer[2049951654]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) received request for method 'resources/templates/list', but no handler is available.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://127.0.0.1:12345/message?sessionId=sHAhsLBEnnb3sTTp2KbPQg - 202 - - 70.3125ms
warn: ModelContextProtocol.Server.McpServer[975074943]
      Server (deploy 1.0.0.0), Client (Cline 3.33.1) method 'resources/templates/list' request handler failed.
      ModelContextProtocol.McpException: Method 'resources/templates/list' is not available.
         at ModelContextProtocol.McpSessionHandler.HandleRequest(JsonRpcRequest request, CancellationToken cancellationToken)
         at ModelContextProtocol.McpSessionHandler.HandleMessageAsync(JsonRpcMessage message, CancellationToken cancellationToken)
         at ModelContextProtocol.McpSessionHandler.<>c__DisplayClass26_1.<<ProcessMessagesCoreAsync>g__ProcessMessageAsync|1>d.MoveNext()

Activity

  1. PederHP commented on Oct 19, 2025

    @PederHP
    Member

    Assuming you haven't added any resources, the problem is that according to the protocol spec, client hosts are not allowed to call resources/list or resources/templates/list if resources are not supported. However many client hosts do this anyway. There's some discussion, I believe about evolving the protocol in this regard (cannot recall if it is to be more harsh or more lenient).

    But it is something you can expect to happen, and it's not necessarily a problem. warn level log spam is always annoying, but if you don't actually have resources in your server, you can safely ignore this.

  2. PederHP commented on Oct 29, 2025

    @PederHP
    Member

    Do you have resources or resource templates in your server?

  3. added
    needs confirmation
    on Oct 29, 2025
  4. stephentoub commented on Dec 16, 2025

    @stephentoub
    Contributor

    Closing due to lack of follow-up. If your issue persists, please feel free to re-open and share more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs confirmation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions