Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram sendAndWait Node not working n8n on Railway #13331

Closed
jayray288 opened this issue Feb 18, 2025 · 5 comments
Closed

Telegram sendAndWait Node not working n8n on Railway #13331

jayray288 opened this issue Feb 18, 2025 · 5 comments
Labels
in linear Issue or PR has been created in Linear for internal review In Review We are reviewing the issue

Comments

@jayray288
Copy link

I am new to n8n and learning the new Human in the loop capability by following youtube video by Leon Van Zyl. I am using Telegram sendandWait node to get user response. The workflow is sending the request for human input to Telegram correctly. However, on responding in Telegram, the node continues to wait. I tried to use Gmail sendandWait for human reponse which is giving the same result.

The output within the Telegram sendandWait node says 'Waiting for response even after the response was sent.

Details of the Telegram sendandWait node after response:

{
"nodes": [
{
"parameters": {
"operation": "sendAndWait",
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"message": "={{ $json.output }}",
"approvalOptions": {
"values": {
"approvalType": "double"
}
},
"options": {}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
580,
0
],
"id": "c165f1c4-5790-44a1-907b-b42b466e6196",
"name": "Telegram",
"webhookId": "df087d5a-f4ac-4a3c-9f79-8a2b8aac34d9",
"credentials": {
"telegramApi": {
"id": "REMOVED FOR THIS POST",
"name": "Telegram account"
}
}
}
],
"connections": {},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "aac07d8052135143ce708133c979fe660265e684c595fadd71b50a5ac7069f1a"
}
}

(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.

core

  • n8nVersion: 1.78.1
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.2
  • database: postgres
  • executionMode: scaling
  • concurrency: -1
  • license: community

storage

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

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

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

Generated at: 2025-02-17T12:33:17.148Z}

@Joffcom
Copy link
Member

Joffcom commented Feb 18, 2025

Hey @jayray288,

We have created an internal ticket to look into this which we will be tracking as "GHC-881"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Feb 18, 2025
@jayray288
Copy link
Author

I am pasting details of the error below:

Workflow Execution Error
Workflow: HITL Tutorial

Date and Time: 2025-02-18T10:26:12.968+05:30

Last Node Executed:

Error Detail:

No node to start the workflow from could be found
Stack Trace:

Error: No node to start the workflow from could be found
at Queue.onFailed (/usr/local/lib/node_modules/n8n/node_modules/bull/lib/job.js:516:18)
at Queue.emit (node:events:518:28)
at Object.module.exports.emitSafe (/usr/local/lib/node_modules/n8n/node_modules/bull/lib/utils.js:50:20)
at EventEmitter.messageHandler (/usr/local/lib/node_modules/n8n/node_modules/bull/lib/queue.js:476:15)
at EventEmitter.emit (node:events:518:28)
at DataHandler.handleSubscriberReply (/usr/local/lib/node_modules/n8n/node_modules/ioredis/built/DataHandler.js:80:32)
at DataHandler.returnReply (/usr/local/lib/node_modules/n8n/node_modules/ioredis/built/DataHandler.js:47:18)
at JavascriptRedisParser.returnReply (/usr/local/lib/node_modules/n8n/node_modules/ioredis/built/DataHandler.js:21:22)
at JavascriptRedisParser.execute (/usr/local/lib/node_modules/n8n/node_modules/redis-parser/lib/parser.js:544:14)
at Socket. (/usr/local/lib/node_modules/n8n/node_modules/ioredis/built/DataHandler.js:25:20)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Socket.Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:191:23)
This is an automated message from your workflow system.

@Joffcom Joffcom added the In Review We are reviewing the issue label Feb 18, 2025
@Joffcom
Copy link
Member

Joffcom commented Feb 21, 2025

Hey @jayray288

It sounds like it could be a configuration issue but first... does it work if you don't use the test option and just make the workflow active and try from there?

@Joffcom Joffcom added Needs Feedback Waiting for further input or clarification. and removed In Review We are reviewing the issue labels Feb 21, 2025
@jayray288
Copy link
Author

jayray288 commented Feb 21, 2025 via email

@Joffcom Joffcom added In Review We are reviewing the issue and removed Needs Feedback Waiting for further input or clarification. labels Feb 21, 2025
@Joffcom
Copy link
Member

Joffcom commented Feb 23, 2025

Hey @jayray288

Changing that option shouldn't change anything but if anything I would have expected it to cause errors.

As it is working though I will mark this as solved for now.

@Joffcom Joffcom closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review In Review We are reviewing the issue
Projects
None yet
Development

No branches or pull requests

2 participants