What happened?
I'm trying to connect a remote Splunk MCP server from LibreChat through a proxy, but I'm getting a connection timeout error.
The MCP endpoint is reachable from the API container using curl, so network connectivity appears to be working correctly. Since we are using a proxy, we added the proxy-related headers/configuration in the YAML request settings, and the connection is configured like this:
splunk:
startup: false
type: streamable-http
url: <splunk_url>
iconPath: /assets/splunk.png
timeout: 80000
initTimeout: 30000
headers:
Authorization: "Bearer {{splunk_api_key}}"
Content-Type: "application/json"
HTTPS_PROXY: <proxy_address>
Accept: "application/json, text/event-stream"
customUserVars:
splunk_api_key:
title: "Splunk API Key"
description: "Enter your Splunk Bearer token"
We are using curl like this from the LibreChat container, and the connection is successful.
curl -v -X POST \
--proxy <proxy_address>/ \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{}},"id":1}' \
<splunk_url>
Could you please check this
Version Information
1bc2692
Steps to Reproduce
- Connect the remote Splunk MCP server from LibreChat through a proxy.
What browsers are you seeing the problem on?
No response
Relevant log output
2026-05-07 21:06:13 info: [updateUserPluginsController] Attempting disconnect of MCP server "splunk" for user 6862786e99cd9d0127a61df8 after plugin auth update.
2026-05-07 21:06:13 info: [MCP Reinitialize] Reinitializing server: splunk
2026-05-07 21:06:13 info: [MCP Reinitialize] Disconnected existing user connection for server: splunk
2026-05-07 21:06:13 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Establishing new connection
2026-05-07 21:06:14 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Access token missing
2026-05-07 21:06:14 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Access token missing and no refresh token available — re-authentication required
2026-05-07 21:06:14 info: [MCP][splunk][6862786e99cd9d0127a61df8] Re-authentication required for "splunk": access token missing and no refresh token available, will trigger OAuth flow
2026-05-07 21:06:14 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Creating streamable-http transport: <url>
2026-05-07 21:06:24 error: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Transport error (transient, will reconnect): fetch failed (request aborted, likely after a timeout — connection may still be usable)
2026-05-07 21:06:24 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Streamable-http transport closed
2026-05-07 21:06:24 error: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Connection failed: fetch failed
2026-05-07 21:06:26 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Creating streamable-http transport: <url>
2026-05-07 21:06:37 error: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Transport error (transient, will reconnect): fetch failed (request aborted, likely after a timeout — connection may still be usable)
2026-05-07 21:06:37 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Streamable-http transport closed
2026-05-07 21:06:37 error: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Connection failed: fetch failed
2026-05-07 21:06:41 info: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Creating streamable-http transport: <url>
2026-05-07 21:06:44 error: [MCP][User: 6862786e99cd9d0127a61df8][splunk] Failed to establish connection Connection timeout after 30000ms
2026-05-07 21:06:44 info: [MCP Reinitialize] getConnection threw error: Connection timeout after 30000ms
2026-05-07 21:06:44 info: [MCP Reinitialize] OAuth state - oauthRequired: false, oauthUrl: null
2026-05-07 21:06:44 error: [MCP Reinitialize] Error initializing MCP server splunk for user: Connection timeout after 30000ms
Screenshots
None
Code of Conduct
What happened?
I'm trying to connect a remote Splunk MCP server from LibreChat through a proxy, but I'm getting a connection timeout error.
The MCP endpoint is reachable from the API container using curl, so network connectivity appears to be working correctly. Since we are using a proxy, we added the proxy-related headers/configuration in the YAML request settings, and the connection is configured like this:
We are using curl like this from the LibreChat container, and the connection is successful.
Could you please check this
Version Information
1bc2692
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
None
Code of Conduct