Skip to content

The MCP inspector spams http client factory logs #861

Closed

Description

@davidfowl
07:29:50 [Information] Aspire.Hosting.DistributedApplication: Login to the dashboard at https://localhost:17200/login?t=a6315f9308bb856897bf336da0737cd9
07:29:50 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:29:50 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:29:51 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:29:51 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:29:51 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 5.822ms - 200
07:29:51 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 12.21ms - 200
07:29:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:29:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:29:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 1.3186ms - 200
07:29:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 1.427ms - 200
07:30:00 [Information] Aspire.Hosting.DistributedApplication: Distributed application started. Press Ctrl+C to shut down.
07:30:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:30:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:30:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 6.0425ms - 200
07:30:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 6.3769ms - 200
07:30:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:30:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:30:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 6.0976ms - 200
07:30:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 6.4767ms - 200
07:31:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:31:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:31:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 1.596ms - 200
07:31:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 1.6865ms - 200
07:31:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:31:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:31:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 7.6535ms - 200
07:31:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 8.0398ms - 200
07:32:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:32:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:32:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 6.6315ms - 200
07:32:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 7.0293ms - 200
07:32:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:32:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:32:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 6.4467ms - 200
07:32:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 6.9181ms - 200
07:33:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:33:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:33:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 7.8011ms - 200
07:33:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 8.2119ms - 200
07:33:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:33:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:33:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 6.0038ms - 200
07:33:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 6.41ms - 200
07:34:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:34:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:34:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 4.9668ms - 200
07:34:23 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 5.2607ms - 200
07:34:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: Start processing HTTP request GET http://localhost:6277/config
07:34:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Sending HTTP request GET http://localhost:6277/config
07:34:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.ClientHandler: Received HTTP response headers after 5.8022ms - 200
07:34:53 [Information] System.Net.Http.HttpClient.mcp-inspector_proxy_config_check.LogicalHandler: End processing HTTP request after 6.0948ms - 200

We need to suppress these logs. e.g. https://github.com/dotnet/aspire/blob/44f280d0c52473ad118f2ee0dd205c3e4a6b9fb0/src/Aspire.Hosting/Utils/LoggingUtils.cs#L11

Activity

  1. aaronpowell commented on Sep 18, 2025

    @aaronpowell
    Member

    want to make that type public so I don't have to copy the code over?

  2. github-actions commented on Oct 10, 2025

    @github-actions
    Contributor

    We have noticed this issue has not been updated within 21 days. If there is no action on this issue in the next 14 days, we will automatically close it. You can use /stale-extend to extend the window.

  3. self-assigned this
    on Oct 13, 2025
  4. added a commit that references this issue on Oct 13, 2025
    e7efceb
  5. added a commit that references this issue on Oct 15, 2025
    adf5932
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions