Webhook does not report incoming data in the editor UI

Hi,
i have a problem with testing webhooks.
Generally the webhooks run in the workflow, but when I call the test url I get no feedback in the editor ui. In the video i show my procedure.

I actually expect the data of the webhook in the editor. Unfortunately, the spinning wheel goes on spinning forever. I only get the data when I stop/restart the n8n service.

[NoDataInWebhookGUI - YouTube](missing data feedback)

It is a simple webhook workflow

This behavior makes it difficult to develop workflows and I don’t know where I went wrong.

Here are my n8n configuration variables (systemd service file)

Environment="VUE_APP_URL_BASE_API=http://n8n.local/"
Environment="WEBHOOK_TUNNEL_URL=http://n8n.local/"
Environment="N8N_PORT=5678"
Environment="N8N_LISTEN_ADDRESS=127.0.0.1"

and the nginx reverse proxy settings:

proxy_pass http://localhost:5678;
proxy_set_header Connection '';
proxy_http_version 1.1;
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;

Information on your n8n setup

  • n8n version:0.162.0
    (standard npm installation)

Hi @Mirco, so you are seeing a response in Postman but n8n never shows the data sent to the test URL?

Does sending data to your test webhook URL work when you send a request to 127.0.0.1 on the machine running n8n? And is your n8n service healthy before you restart it and how have you configured your service?

Hi,
yes, the same problem exists with 127.0.0.1 on the host running n8n.
I test via terminal:

curl --location --request POST 'http://127.0.0.1/webhook-test/assets-test' \
--header 'accept: text/plain, application/json, application/*+json, */*' \
--header 'x-hook-signature: c526e079b7b5570d899ff647cfac10f1b18a2682918472e19eb791393e0a84a5' \
--header 'authorization: Basic YWRtaW46Y29yZTRhZG1pbg==' \
--header 'Content-Type: application/json' \
--data '{ ...

Response in terminal:

{"message":"Workflow got started."}

No reaction in Editor-UI.

The service is running so far and is configured in as follows (etc/systemd/system/n8n.service):

[Unit]
Description=n8n.io

[Service]
Restart=always
ExecStart=/usr/bin/node /usr/lib/node_modules/n8n/bin/n8n
Environment="VUE_APP_URL_BASE_API=http://n8n.local/"
Environment="WEBHOOK_TUNNEL_URL=http://n8n.local/"
Environment="N8N_PORT=5678"
Environment="N8N_LISTEN_ADDRESS=n8n.local"
Environment="GENERIC_TIMEZONE=Europe/Berlin"
Environment="N8N_LOG_LEVEL=debug"
Environment="N8N_LOG_OUTPUT=file"
Environment="N8N_LOG_FILE_LOCATION=/var/log/n8n.log"
Environment="N8N_LOG_FILE_MAXSIZE=50"
Environment="N8N_LOG_FILE_MAXCOUNT=60"

[Install]
WantedBy=multi-user.target
LOG
{"level":"verbose","message":"Started execution of workflow \"Assets Webhook Test\" from webhook with execution ID 138","metadata":{"executionId":"138","file":"WebhookHelpers.js","function":"executeWebhook","timestamp":"2022-02-09T09:34:36.706Z"}}
{"level":"debug","message":"Send data of type \"testWebhookReceived\" to editor-UI","metadata":{"dataType":"testWebhookReceived","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:36.706Z"}}
{"level":"debug","message":"Received child process message of type start for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:37.818Z"}}
{"level":"verbose","message":"Initializing n8n sub-process","metadata":{"file":"WorkflowRunnerProcess.js","function":"runWorkflow","pid":7016,"timestamp":"2022-02-09T09:34:37.839Z","workflowId":"1"}}
{"level":"verbose","message":"Workflow execution started","metadata":{"file":"WorkflowExecute.js","function":"processRunExecutionData","timestamp":"2022-02-09T09:34:40.380Z","workflowId":"1"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Executing hook (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.387Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"executionStarted\" to editor-UI","metadata":{"dataType":"executionStarted","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Executing hook on node \"Assets Webhook\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.387Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteBefore\" to editor-UI","metadata":{"dataType":"nodeExecuteBefore","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Executing hook on node \"Assets Webhook\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.387Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteAfter\" to editor-UI","metadata":{"dataType":"nodeExecuteAfter","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.387Z"}}
{"level":"debug","message":"Executing hook on node \"Convert Asset JSON\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.388Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteBefore\" to editor-UI","metadata":{"dataType":"nodeExecuteBefore","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.388Z"}}
{"level":"debug","message":"Start processing node \"Assets Webhook\"","metadata":{"file":"WorkflowExecute.js","node":"Assets Webhook","timestamp":"2022-02-09T09:34:40.384Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Assets Webhook\" started","metadata":{"file":"WorkflowExecute.js","node":"Assets Webhook","timestamp":"2022-02-09T09:34:40.384Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Assets Webhook\" finished successfully","metadata":{"file":"WorkflowExecute.js","node":"Assets Webhook","timestamp":"2022-02-09T09:34:40.385Z","workflowId":"1"}}
{"level":"debug","message":"Start processing node \"Convert Asset JSON\"","metadata":{"file":"WorkflowExecute.js","node":"Convert Asset JSON","timestamp":"2022-02-09T09:34:40.386Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Convert Asset JSON\" started","metadata":{"file":"WorkflowExecute.js","node":"Convert Asset JSON","timestamp":"2022-02-09T09:34:40.386Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Convert Asset JSON\" finished successfully","metadata":{"file":"WorkflowExecute.js","node":"Convert Asset JSON","timestamp":"2022-02-09T09:34:40.390Z","workflowId":"1"}}
{"level":"debug","message":"Start processing node \"Validate Data\"","metadata":{"file":"WorkflowExecute.js","node":"Validate Data","timestamp":"2022-02-09T09:34:40.391Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Validate Data\" started","metadata":{"file":"WorkflowExecute.js","node":"Validate Data","timestamp":"2022-02-09T09:34:40.391Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Validate Data\" finished successfully","metadata":{"file":"WorkflowExecute.js","node":"Validate Data","timestamp":"2022-02-09T09:34:40.394Z","workflowId":"1"}}
{"level":"debug","message":"Start processing node \"IF\"","metadata":{"file":"WorkflowExecute.js","node":"IF","timestamp":"2022-02-09T09:34:40.394Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"IF\" started","metadata":{"file":"WorkflowExecute.js","node":"IF","timestamp":"2022-02-09T09:34:40.394Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"IF\" finished successfully","metadata":{"file":"WorkflowExecute.js","node":"IF","timestamp":"2022-02-09T09:34:40.396Z","workflowId":"1"}}
{"level":"debug","message":"Start processing node \"Convert to Binary - Error\"","metadata":{"file":"WorkflowExecute.js","node":"Convert to Binary - Error","timestamp":"2022-02-09T09:34:40.396Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Convert to Binary - Error\" started","metadata":{"file":"WorkflowExecute.js","node":"Convert to Binary - Error","timestamp":"2022-02-09T09:34:40.396Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Convert to Binary - Error\" finished successfully","metadata":{"file":"WorkflowExecute.js","node":"Convert to Binary - Error","timestamp":"2022-02-09T09:34:40.397Z","workflowId":"1"}}
{"level":"debug","message":"Start processing node \"Write Error File\"","metadata":{"file":"WorkflowExecute.js","node":"Write Error File","timestamp":"2022-02-09T09:34:40.398Z","workflowId":"1"}}
{"level":"debug","message":"Running node \"Write Error File\" started","metadata":{"file":"WorkflowExecute.js","node":"Write Error File","timestamp":"2022-02-09T09:34:40.398Z","workflowId":"1"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.399Z"}}
{"level":"debug","message":"Executing hook on node \"Convert Asset JSON\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.399Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteAfter\" to editor-UI","metadata":{"dataType":"nodeExecuteAfter","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.400Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.401Z"}}
{"level":"debug","message":"Executing hook on node \"Validate Data\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.401Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteBefore\" to editor-UI","metadata":{"dataType":"nodeExecuteBefore","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.401Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.401Z"}}
{"level":"debug","message":"Executing hook on node \"Validate Data\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.401Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteAfter\" to editor-UI","metadata":{"dataType":"nodeExecuteAfter","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.402Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.402Z"}}
{"level":"debug","message":"Executing hook on node \"IF\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.402Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteBefore\" to editor-UI","metadata":{"dataType":"nodeExecuteBefore","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.402Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.402Z"}}
{"level":"debug","message":"Executing hook on node \"IF\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.403Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteAfter\" to editor-UI","metadata":{"dataType":"nodeExecuteAfter","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.403Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.403Z"}}
{"level":"debug","message":"Executing hook on node \"Convert to Binary - Error\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.403Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteBefore\" to editor-UI","metadata":{"dataType":"nodeExecuteBefore","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.403Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.404Z"}}
{"level":"debug","message":"Executing hook on node \"Convert to Binary - Error\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.404Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteAfter\" to editor-UI","metadata":{"dataType":"nodeExecuteAfter","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.404Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.404Z"}}
{"level":"debug","message":"Executing hook on node \"Write Error File\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteBefore","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.404Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteBefore\" to editor-UI","metadata":{"dataType":"nodeExecuteBefore","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.405Z"}}
{"level":"debug","message":"Running node \"Write Error File\" finished successfully","metadata":{"file":"WorkflowExecute.js","node":"Write Error File","timestamp":"2022-02-09T09:34:40.417Z","workflowId":"1"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.419Z"}}
{"level":"debug","message":"Executing hook on node \"Write Error File\" (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"nodeExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.420Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"nodeExecuteAfter\" to editor-UI","metadata":{"dataType":"nodeExecuteAfter","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.420Z"}}
{"level":"debug","message":"Received child process message of type processHook for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.421Z"}}
{"level":"debug","message":"Executing hook (hookFunctionsSave)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteAfter","timestamp":"2022-02-09T09:34:40.422Z","workflowId":"1"}}
{"level":"debug","message":"Received child process message of type end for execution ID 138.","metadata":{"executionId":"138","file":"WorkflowRunner.js","timestamp":"2022-02-09T09:34:40.423Z"}}
{"level":"debug","message":"Executing hook (hookFunctionsPush)","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteAfter","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.437Z","workflowId":"1"}}
{"level":"debug","message":"Save execution progress to database for execution ID 138 ","metadata":{"executionId":"138","file":"WorkflowExecuteAdditionalData.js","function":"workflowExecuteAfter","timestamp":"2022-02-09T09:34:40.437Z","workflowId":"1"}}
{"level":"debug","message":"Send data of type \"executionFinished\" to editor-UI","metadata":{"dataType":"executionFinished","file":"Push.js","function":"send","sessionId":"cblf74i74yr","timestamp":"2022-02-09T09:34:40.437Z"}}

What I have tested at this time, all with the same result:

  • npx Installation on Ubuntu VMWare (no nginx) only call “n8n start”
  • npm Installation on Centos7 VMWare (with nginx as reverse proxy) start as service - data in this post

I hope this helps and someone can help me.

Hello,
I am facing the exact same problem… Did you got how to solve this?

I made a post: