Hello,
For some reason I can’t connect Telegram to n8n.
When I enter my Access Token I receive the following error: Couldn’t connect with these settings.
“More details” shows: EHOSTUNREACH
The access token is correct - I have a 3rd party service working with this token without issues.
I created new Telegram bot to check if a new token would fix the issue and it doesn’t.
Once I save the credentials and try to run a workflow with a Telegram node, I receive this error:
Problem in node 'Telegram'
connect EHOSTUNREACH 2001:67c:4e8:f004::9:443
Issues:
connect EHOSTUNREACH 2001:67c:4e8:f004::9:443 (connect EHOSTUNREACH 2001:67c:4e8:f004::9:443)
Execution Error.
Error stack:
NodeApiError: connect EHOSTUNREACH 2001:67c:4e8:f004::9:443
at Object.apiRequest (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Telegram/GenericFunctions.ts:179:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.execute (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Telegram/Telegram.node.ts:2003:21)
at Workflow.runNode (/usr/lib/node_modules/n8n/node_modules/n8n-workflow/src/Workflow.ts:1269:19)
at /usr/lib/node_modules/n8n/node_modules/n8n-core/src/WorkflowExecute.ts:952:29
2001:67c:4e8:f004::9
should be an IP of Telegram, but it’s unlikely that this is a Telegram issue.
I hope you could help me fix it.
Describe the problem/error/question
Can’t connect to Telegram API.
What is the error message (if any)?
Problem in node ‘Telegram‘
connect EHOSTUNREACH 2001:67c:4e8:f004::9:443
Issues:
* connect EHOSTUNREACH 2001:67c:4e8:f004::9:443 (connect EHOSTUNREACH 2001:67c:4e8:f004::9:443)
* Execution Error.
Please share your workflow
{
"parameters": {
"chatId": "{CHAT ID}",
"text": "{TEXT}",
"additionalFields": {}
},
"id": "{ID}",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"position": [
1040,
420
],
"executeOnce": false,
"alwaysOutputData": false,
"credentials": {
"telegramApi": {
"id": "3",
"name": "Telegram account"
}
}
}
],
"connections": {}
}
Share the output returned by the last node
Issues:
- connect EHOSTUNREACH 2001:67c:4e8:f004::9:443 (connect EHOSTUNREACH 2001:67c:4e8:f004::9:443)
- Execution Error.
Information on your n8n setup
- n8n version: 0.233.1
- Database (default: SQLite): Default
- n8n EXECUTIONS_PROCESS setting (default: own, main): Default
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: Ubuntu 22