Unable to start workflow with the chat trigger node in n8n web gui

Describe the problem/error/question

When running a workflow which starts with a chat input via the n8n web gui, the workflow does not progress.

The chat window has a pop-up appear saying “Waiting for you to submit the chat”. The N8N web GUI chat window shows the spinner for a second or two then says ‘Error: Failed to receive response’. A square button also appears at the bottom center of the workflow window with the hint of ‘Stop waiting for webhook call‘.

There are no errors in the docker logs for both n8n and n8n-runners. If ‘feels‘ like the n8n web gui is not sending the chat message to the workflow node in a way it is expecting.

I have removed the n8n and n8n-runners containers and restarted with no change. I have recreated the chat trigger, with no change. I have also tried adding a chat message node at the end of the workflow and setting the chat trigger node to response mode, but again no change.

I can provide the docker compose file if required.

I did a docker pull 2 days ago and have been using the workflows for the last two days without issue. Only today has the issue occured.

Any help would be appreciated.

What is the error message (if any)?

“Waiting for you to submit the chat” –> ‘Error: Failed to receive response’

Please share your workflow

Share the output returned by the last node

“Waiting for you to submit the chat”

Information on your n8n setup

  • n8n version: 2.11.1.
  • Database (default: SQLite): postgres, Qdrant, Redis
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: RHEL 9
1 Like

hello @Rimblock

So, when you click on the Open Chat button, you don’t see the chat window at the bottom?

What ENVs do you have for the n8n? can you share the docker compose config?

Have you tried another method like webhooks? do they work? and what about n8n form?

And what exactly you cannot see? Like the chat node’s Open Chat button?

Thanks for the responses.

  1. I put in a chat message.
  2. I click the go / send / post button
  3. The message comes up on the chat node instantly and the ‘stop webhook waiting‘ button also appears.
  4. After a second or two the message in the chat response window appears.

I have not tried any other methods as this is how I start these chat oriented workflows. I do have a couple of for loading files and processing DB data which I start with a “When execute workflow is pressed“ trigger and they start without an issue.

No error messages appear int he docker logs.

Docker Compose file… Cannot add as an attachment due to being a new user… apparently :neutral_face: .

n8n service environment (image: n8nio/n8n:2.11.1);

environment:
  - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
  - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
  - N8N_PORT=5678
  - N8N_PROTOCOL=https
  - N8N_PROXY_HOPS=1  - N8N_RUNNERS_MODE=external
  - N8N_RUNNERS_AUTH_TOKEN=${RUNNERS_AUTH_TOKEN}
  - N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
  - EXPRESS_TRUST_PROXY=true
  - NODE_ENV=production
  - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
  - GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
  - TZ=${GENERIC_TIMEZONE}
  - DB_TYPE=postgresdb
  - DB_POSTGRESDB_HOST=postgres
  - DB_POSTGRESDB_USER=${POSTGRES_USER}
  - DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
  - REDIS_HOST=redis
  - REDIS_PORT=6379

n8n-runners environment (image: n8nio/runners:2.11.1);

  - N8N_RUNNERS_TASK_BROKER_URI=http://n8n:5679
  - N8N_RUNNERS_AUTH_TOKEN=${RUNNERS_AUTH_TOKEN}
  - N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT=15

Thanks for the help.

Have just tried kicking off the workflow via a n8n form and it works fine. It is just the chat trigger and n8n gui communicating with each other that seems to be not working.

1 Like