n8n - 💡(How to fix) Fix Connection becomes offline [4 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#28901Fetched 2026-04-23 07:44:14
View on GitHub
Comments
4
Participants
4
Timeline
12
Reactions
0
Author
Timeline (top)
commented ×4subscribed ×4mentioned ×3labeled ×1

Error Message

Describe the problem/error/question

What is the error message (if any)?

No error message is shown in this turn. Code 503 was shown in previous run yesterday

  • error: all

Code Example

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.
RAW_BUFFERClick to expand / collapse
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->

Describe the problem/error/question

Few mins after the run is triggered, status becomes offline. Execution fails

<img width="1160" height="834" alt="Image" src="https://github.com/user-attachments/assets/620ef12b-0edb-4977-afb8-7444dd94dee7" /> <img width="3036" height="1520" alt="Image" src="https://github.com/user-attachments/assets/632198c9-509d-4a37-987e-b7b90f821afe" />

What is the error message (if any)?

No error message is shown in this turn. Code 503 was shown in previous run yesterday

Please share your workflow/screenshots/recording

{ "nodes": [ { "parameters": { "promptType": "define", "text": "=Today is {{$today}}. Use this week’s information from:\n\n- Tool: n8n-semiconductor intelligence, \n- Tool: Finance info, and\n- QQQ/SPY price sub-workflow (last 5 trading days).\n\nThe current calendar week number is {{ $now.weekNumber }}.\n\n[Substack data for last 7 days from {{ $now.minus({ days: 7 }).toISO() }} till {{ $today.toISODate() }}] - TOOL (filter on "date" column of n8n-semiconductor)\n\n[QQQ and SPY price data] - TOOL (QQQ/SPY price)\n\nYour tasks:\n\n1. Market outlook and sentiment\n- In 2–4 sentences, describe the overall market outlook and sentiment for week {{ $now.weekNumber }} based only on the semiconductor intelligence data and the behaviour of QQQ and SPY.\n- Explicitly mention “week {{ $now.weekNumber }}”.\n- Quote the latest closing price of SPY and QQQ from the price data, exactly as:\n - SPY last close: <value from input>\n - QQQ last close: <value from input>\n\n2. Stock-by-stock summary\n- From the semiconductor intelligence data, extract a deduplicated list of stocks/tickers mentioned.\n- For each stock, output a short block with:\n - Name / ticker (as given in the input; if unclear, say “ticker not provided”).\n - Intelligence sentiment this week: label as bullish / bearish / mixed/neutral / not specified, and explain in 1–2 sentences using the Substack text.\n - 2–4 bullet points of key information from semiconductor intelligence (industrial insight, catalysts/risks, valuation comments, trading ideas, name of sender).\n - Current price, search for current price from Tool: Finance Info\n - Valuation view from intelligence (cheap / fair / expensive / not specified), using only what is written in the input.\n - Finance metrics from Perplexity (P/E, Forward P/E, PEG, P/S etc), search for financial metrics from Tool: Finance Info\n - Trading strategy / entry or exit levels only if they are explicitly in the input; otherwise say “no explicit levels provided in this week’s data”.\n - Watchlist (Add / Exist / Remove), go through Tool: Watchlist and advise your recommended action as per this weekly summary\n\nDo NOT:\n- Mention any tools or workflows in your answer.\n\n\nOutput format (Markdown):\n\n## Market outlook and sentiment\n\n[2–4 sentences]\n\n## Stock-by-stock summary\n\n### TICKER / Name\n- Substack sentiment: ...\n- Key information:\n - ...\n - ...\n- Current price:...\n- Valuation view from substack: ...\n- Finance Metrics from Perplexity:...\n- Trading strategy / entry/exit: ...\n- Watchlist: ...\n\n(Repeat the stock block for each stock.)\n", "options": { "systemMessage": "=You are an AI experienced equity analyst specialising in technology and growth stocks.\nYour task is to produce a concise, actionable weekly market and sector note for an informed investor.\n\nYou receive two structured inputs (as JSON):\n\nIndustrial intelligence from Tool: n8n-semiconductor for last 2 week.\n\nCurrent price and financial metrics from Tool: Finance Info\n\nQQQ and SPY prices for the last 5 trading days.\n\nUse only information present in these inputs.\nDo not fetch or assume any other data (except from Tool).\nIf something is missing, explicitly say that it is “not provided in the input” or search from Tool: Finance Info\n\nWrite as if you are sending a short weekly note." } }, "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 2.2, "position": [ 592, -80 ], "id": "4548a43b-29b0-4a15-a2b5-b1d49689815a", "name": "AI Agent" }, { "parameters": { "sendTo": "[email protected]", "subject": "= CW{{ $now.weekNumber }}- Weekly Semiconductor Intelligence (Substack)", "message": "= CW{{ $now.weekNumber }} - {{ $json.data }}", "options": {} }, "type": "n8n-nodes-base.gmail", "typeVersion": 2.1, "position": [ 1136, -80 ], "id": "3bbca2bd-8a62-4f77-aff3-b91d95295676", "name": "Send a message", "webhookId": "87a82adb-4096-410d-9a73-f9e571245b89", "credentials": { "gmailOAuth2": { "id": "CiQMW7wfGrIPLZBh", "name": "Gmail account 2" } } }, { "parameters": { "mode": "markdownToHtml", "markdown": "={{ $json.output }}", "options": {} }, "type": "n8n-nodes-base.markdown", "typeVersion": 1, "position": [ 928, -80 ], "id": "9f913c42-f234-4b86-9436-45b3e14c750a", "name": "Markdown" }, { "parameters": { "rule": { "interval": [ { "field": "weeks", "triggerAtDay": [ 6 ], "triggerAtHour": 4 } ] } }, "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.2, "position": [ 320, -80 ], "id": "2ae779ef-1a1e-4af8-99df-92c8a02bed42", "name": "Schedule Trigger" }, { "parameters": { "workflowId": { "__rl": true, "value": "f288xVAVmTZ2OR4O", "mode": "list", "cachedResultUrl": "/workflow/f288xVAVmTZ2OR4O", "cachedResultName": "AI - Weekly Semiconductor Intelligence" }, "workflowInputs": { "mappingMode": "defineBelow", "value": {}, "matchingColumns": [], "schema": [], "attemptToConvertTypes": false, "convertFieldsToString": false } }, "type": "@n8n/n8n-nodes-langchain.toolWorkflow", "typeVersion": 2.2, "position": [ 656, 176 ], "id": "377cd4cc-e21e-4893-b65d-d758c3201549", "name": "QQQ/SPY price" }, { "parameters": { "options": {} }, "type": "n8n-nodes-base.dateTimeTool", "typeVersion": 2, "position": [ 928, 176 ], "id": "8dda3f0f-5a02-465e-9fbf-1b0bc5172ff6", "name": "Date & Time" }, { "parameters": { "model": "sonar-reasoning-pro", "messages": { "message": [ { "content": "=You are a financial analyst. Your job is to provide current price and finance metrics of all stocks mentioned to AI experienced equity analyst", "role": "system" }, { "content": "={{ /n8n-auto-generated-fromAI-override/ $fromAI('message1_Text', provide current price and finance metrics of all stocks mentioned, 'string') }}" } ] }, "options": {}, "requestOptions": {} }, "type": "n8n-nodes-base.perplexityTool", "typeVersion": 1, "position": [ 800, 176 ], "id": "5ca0ee49-512c-4fa9-806c-a6806b0c0b7e", "name": "Finance Info", "credentials": { "perplexityApi": { "id": "OOTATQcmtwV5zyE8", "name": "Perplexity account" } } }, { "parameters": { "documentId": { "__rl": true, "value": "1joHgJ08Kz6zMKHrhpo5_Y9mozyIYbTVc6mkdr6VItYc", "mode": "list", "cachedResultName": "n8n-AI-portifolio-manager", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1joHgJ08Kz6zMKHrhpo5_Y9mozyIYbTVc6mkdr6VItYc/edit?usp=drivesdk" }, "sheetName": { "__rl": true, "value": "gid=0", "mode": "list", "cachedResultName": "watchlist", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1joHgJ08Kz6zMKHrhpo5_Y9mozyIYbTVc6mkdr6VItYc/edit#gid=0" }, "options": {} }, "type": "n8n-nodes-base.googleSheetsTool", "typeVersion": 4.7, "position": [ 1040, 176 ], "id": "1640f6a6-8883-44f9-b6a5-b0157012f035", "name": "Watchlist", "credentials": { "googleSheetsOAuth2Api": { "id": "uXkM74HndDOKWXip", "name": "Google Sheets account 2" } } }, { "parameters": { "model": "grok-4.20-0309-reasoning", "options": {} }, "type": "@n8n/n8n-nodes-langchain.lmChatXAiGrok", "typeVersion": 1, "position": [ 400, 176 ], "id": "33cb0dde-d728-429d-96a6-049e51c595ac", "name": "xAI Grok Chat Model", "credentials": { "xAiApi": { "id": "d9Nu0JnSpIldbIfB", "name": "xAi account 2" } } }, { "parameters": { "descriptionType": "manual", "toolDescription": "=Get many rows in Supabase in date column from {{ $now.minus({ days: 7 }).toISO() }} till {{ $today.toISODate() }}", "operation": "getAll", "tableId": "n8n-semiconductor", "returnAll": true, "filterType": "none" }, "type": "n8n-nodes-base.supabaseTool", "typeVersion": 1, "position": [ 1216, 176 ], "id": "214fd8e8-67bd-44df-940d-790eb05821ba", "name": "n8n-semiconductor intelligence", "credentials": { "supabaseApi": { "id": "WU8u1Mf10su8BQoV", "name": "Supabase account" } } } ], "connections": { "AI Agent": { "main": [ [ { "node": "Markdown", "type": "main", "index": 0 } ] ] }, "Markdown": { "main": [ [ { "node": "Send a message", "type": "main", "index": 0 } ] ] }, "Schedule Trigger": { "main": [ [ { "node": "AI Agent", "type": "main", "index": 0 } ] ] }, "QQQ/SPY price": { "ai_tool": [ [ { "node": "AI Agent", "type": "ai_tool", "index": 0 } ] ] }, "Date & Time": { "ai_tool": [ [ { "node": "AI Agent", "type": "ai_tool", "index": 0 } ] ] }, "Finance Info": { "ai_tool": [ [ { "node": "AI Agent", "type": "ai_tool", "index": 0 } ] ] }, "Watchlist": { "ai_tool": [ [ { "node": "AI Agent", "type": "ai_tool", "index": 0 } ] ] }, "xAI Grok Chat Model": { "ai_languageModel": [ [ { "node": "AI Agent", "type": "ai_languageModel", "index": 0 } ] ] }, "n8n-semiconductor intelligence": { "ai_tool": [ [ { "node": "AI Agent", "type": "ai_tool", "index": 0 } ] ] } }, "pinData": {}, "meta": { "templateCredsSetupCompleted": true, "instanceId": "96fe93d885ff7b23db6a5122c54f791ea28283b7c238b2707877c641421fe806" } }

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

Share the output returned by the last node

<!-- If you need help with data transformations, please also share your expected output. -->

Debug info

core

  • n8nVersion: 2.17.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: enterprise (sandbox)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-04-22T12:42:57.373Z

extent analysis

TL;DR

The workflow execution fails and becomes offline a few minutes after it's triggered, with a previous run showing a 503 error code, suggesting a potential issue with the workflow's configuration, node connections, or external service timeouts.

Guidance

  1. Review node connections and workflow configuration: Ensure all nodes are properly connected, and the workflow is correctly configured to handle the data flow and potential errors.
  2. Check external service timeouts and limits: Verify that the external services used in the workflow (e.g., Supabase, Perplexity, Google Sheets) are not timing out or exceeding their request limits, which could cause the workflow to fail.
  3. Investigate the 503 error code: Although the current run doesn't show an error message, the previous 503 error code indicates a potential server-side issue; check the server logs or contact the server administrator for more information.
  4. Test individual nodes and workflows: Isolate and test individual nodes or smaller workflows to identify if the issue is specific to a particular node or a combination of nodes.
  5. Monitor workflow execution and adjust concurrency: Given the concurrency setting of 5, monitor the workflow execution to ensure it's not overwhelming the system or external services, and adjust the concurrency setting if necessary.

Example

No specific code example is provided due to the complexity and specificity of the workflow. However, reviewing the connections and configuration of nodes like "AI Agent," "Markdown," and "Send a message" might be a good starting point.

Notes

  • The issue might be related to the specific configuration of the nodes or the external services used.
  • The provided workflow is quite complex, and without more specific error messages or logs, it's challenging to pinpoint the exact cause.
  • Ensure that all sensitive data (like API keys) is removed or properly secured.

Recommendation

Apply a workaround by testing individual nodes and smaller workflows to isolate the issue, and then adjust the workflow configuration or node connections as needed. This approach allows for a more targeted investigation and potential fix without requiring a full workflow redesign.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix Connection becomes offline [4 comments, 4 participants]