{"record":{"id":"23cd34f2b1a92556","repo":"FlowiseAI/Flowise","slug":"connection-refused-by-pipedream-mcp-server-the-se","errorCode":null,"errorMessage":"Connection refused by Pipedream MCP server. The service may be temporarily unavailable.","messagePattern":"Connection refused by Pipedream MCP server\\. The service may be temporarily unavailable\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"warning","filePath":"packages/components/nodes/tools/MCP/Pipedream/PipedreamMCP.ts","lineNumber":357,"sourceCode":"            const tools = settled.filter((r): r is PromiseFulfilledResult<Tool> => r.status === 'fulfilled').map((r) => r.value)\n\n            if (tools.length === 0) {\n                throw new Error(`No tools available for the Pipedream app slug \"${appSlug}\". Please check your configuration.`)\n            }\n\n            return tools\n        } catch (error: any) {\n            if (error.message?.includes('404')) {\n                throw new Error(`Pipedream app slug \"${appSlug}\" not found. Please verify the slug on mcp.pipedream.com.`)\n            }\n            if (error.message?.includes('401')) {\n                throw new Error('Invalid Pipedream credentials. Please verify your Client ID and Client Secret.')\n            }\n            if (error.message?.includes('timeout') || error.message?.includes('ECONNABORTED')) {\n                throw new Error('Connection to Pipedream MCP server timed out. Please check your network connectivity.')\n            }\n            if (error.message?.includes('ECONNREFUSED')) {\n                throw new Error('Connection refused by Pipedream MCP server. The service may be temporarily unavailable.')\n            }\n            throw new Error(`Pipedream MCP error: ${error.message ?? 'Unknown error'}`)\n        }\n    }\n}\n\nmodule.exports = { nodeClass: Pipedream_MCP }\n","sourceCodeStart":339,"sourceCodeEnd":365,"githubUrl":"https://github.com/FlowiseAI/Flowise/blob/abe4a8601a058047b350c260676826e21dd14101/packages/components/nodes/tools/MCP/Pipedream/PipedreamMCP.ts#L339-L365","documentation":"Catch-block branch: if the underlying error message includes 'ECONNREFUSED', the Pipedream MCP server actively refused the TCP connection, reported as the service being temporarily unavailable.","triggerScenarios":"Connection attempt to remote.mcp.pipedream.net is refused at the TCP layer — typically a transient outage, wrong port/host due to misconfiguration, or a network path that drops the TLS handshake.","commonSituations":"Pipedream MCP endpoint down or restarting; DNS pointing to a dead endpoint; local/network egress policy refusing the port; extremely rare given it is a managed HTTPS endpoint.","solutions":["Verify https://remote.mcp.pipedream.net is reachable from the server (curl/TCP test).","Check Pipedream status page for an active incident.","Retry after a short wait; if persistent, inspect DNS resolution.","Ensure no firewall rule is refusing outbound 443."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"try { await pipedream.getTools(nodeData, options) }\ncatch (e) { if (e instanceof Error && e.message.includes('Connection refused')) { /* check Pipedream status, retry shortly */ } }","preventionTips":["Track Pipedream status; suppress retries during known incidents.","Probe the endpoint with a lightweight health check before tool loading."],"tags":["pipedream","network","connection-refused","mcp"],"backgroundTag":null,"analyzedSha":"abe4a8601a058047b350c260676826e21dd14101","analyzedAt":"2026-08-12T16:04:40.823Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}