Describe the problem/error/question
The testing environment of n8n is not working. I’ve tried to use the n8n Form Trigger
and created a dummy input field. When running the workflow on the testing environment, it returns an error The session "{ID}" is not registered.
in the console, and the node prompts that it’s still listening, Even If the form said that it was submitted, it doesn’t go to the next step.
What is the error message (if any)?
n8n-n8n-1 | User settings loaded from: /root/.n8n/config
n8n-n8n-1 | 2024-04-04T17:10:28.911Z | info | Initializing n8n process "{ file: 'start.js', function: 'init' }"
n8n-n8n-1 | 2024-04-04T17:10:29.128Z | debug | Lazy Loading credentials and nodes from n8n-nodes-base "{\n credentials: 352,\n nodes: 445,\n file: 'LoggerProxy.js',\n function: 'exports.debug'\n}"
n8n-n8n-1 | 2024-04-04T17:10:29.144Z | debug | Lazy Loading credentials and nodes from @n8n/n8n-nodes-langchain "{\n credentials: 14,\n nodes: 70,\n file: 'LoggerProxy.js',\n function: 'exports.debug'\n}"
n8n-n8n-1 | n8n ready on 0.0.0.0, port 5678
n8n-n8n-1 | 2024-04-04T17:10:29.279Z | debug | [license] initializing for deviceFingerprint 40c2277a3b0bfd1b9ee6daab29967e8ab0fbd2342cab329e863907bc13ebe6d4 "{ file: 'LicenseManager.js', function: 'log' }"
n8n-n8n-1 | 2024-04-04T17:10:29.286Z | debug | [license] attempting license renewal "{ file: 'LicenseManager.js', function: 'log' }"
n8n-n8n-1 | 2024-04-04T17:10:29.288Z | debug | Orchestration init complete "{ file: 'start.js', function: 'init' }"
n8n-n8n-1 | 2024-04-04T17:10:29.291Z | debug | Binary data service init complete "{ file: 'start.js', function: 'init' }"
n8n-n8n-1 | 2024-04-04T17:10:29.292Z | debug | External hooks init complete "{ file: 'start.js', function: 'init' }"
n8n-n8n-1 | 2024-04-04T17:10:29.294Z | debug | External secrets init complete "{ file: 'start.js', function: 'init' }"
n8n-n8n-1 | 2024-04-04T17:10:29.295Z | debug | Workflow history init complete "{ file: 'start.js', function: 'init' }"
n8n-n8n-1 | 2024-04-04T17:10:30.532Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
n8n-n8n-1 | 2024-04-04T17:10:30.827Z | debug | Initializing event bus... "{ file: 'MessageEventBus.js', function: 'initialize' }"
n8n-n8n-1 | 2024-04-04T17:10:30.830Z | debug | Initializing event writer "{ file: 'MessageEventBus.js', function: 'initialize' }"
n8n-n8n-1 | 2024-04-04T17:10:30.834Z | debug | Checking for unsent event messages "{ file: 'MessageEventBus.js', function: 'initialize' }"
n8n-n8n-1 | 2024-04-04T17:10:30.865Z | debug | Start logging into /root/.n8n/n8nEventLog.log "{ file: 'MessageEventBus.js', function: 'initialize' }"
n8n-n8n-1 | 2024-04-04T17:10:30.868Z | debug | MessageEventBus initialized "{ file: 'MessageEventBus.js', function: 'initialize' }"
n8n-n8n-1 | Version: 1.34.2
n8n-n8n-1 | 2024-04-04T17:10:30.869Z | debug | Server ID: main-wny2zrvS8OxFhVJW "{ file: 'Server.js', function: 'start' }"
n8n-n8n-1 | 2024-04-04T17:10:30.872Z | debug | [Pruning] Starting soft-deletion and hard-deletion timers "{ file: 'pruning.service.js', function: 'startPruning' }"
n8n-n8n-1 | 2024-04-04T17:10:30.873Z | debug | [Pruning] Soft-deletion scheduled every 60 min "{ file: 'pruning.service.js', function: 'setSoftDeletionInterval' }"
n8n-n8n-1 | 2024-04-04T17:10:30.873Z | debug | [Pruning] Hard-deletion scheduled for next 15 min "{ file: 'pruning.service.js', function: 'scheduleHardDeletion' }"
n8n-n8n-1 |
n8n-n8n-1 | Editor is now accessible via:
n8n-n8n-1 | http://localhost:5678/
n8n-n8n-1 | 2024-04-04T17:10:40.292Z | verbose | Execution for workflow My workflow was assigned id 4 "{\n executionId: '4',\n file: 'WorkflowRunner.js',\n function: 'runMainProcess'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.302Z | debug | Executing hook (hookFunctionsPush) "{\n executionId: '4',\n sessionId: '2slvnpiyjkj',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'workflowExecuteBefore'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.303Z | error | The session "2slvnpiyjkj" is not registered. "{\n sessionId: '2slvnpiyjkj',\n file: 'abstract.push.js',\n function: 'sendToOneSession'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.303Z | debug | Execution ID 4 had Execution data. Running with payload. "{\n executionId: '4',\n file: 'WorkflowRunner.js',\n function: 'runMainProcess'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.305Z | verbose | Workflow execution started "{\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'LoggerProxy.js',\n function: 'exports.verbose'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.310Z | debug | Start processing node "n8n Form Trigger" "{\n node: 'n8n Form Trigger',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'LoggerProxy.js',\n function: 'exports.debug'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.327Z | debug | Executing hook on node "n8n Form Trigger" (hookFunctionsPush) "{\n executionId: '4',\n sessionId: '2slvnpiyjkj',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'nodeExecuteBefore'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.335Z | error | The session "2slvnpiyjkj" is not registered. "{\n sessionId: '2slvnpiyjkj',\n file: 'abstract.push.js',\n function: 'sendToOneSession'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.341Z | verbose | Started execution of workflow "My workflow" from webhook with execution ID 4 "{\n executionId: '4',\n file: 'WebhookHelpers.js',\n function: 'executeWebhook'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.343Z | error | The session "2slvnpiyjkj" is not registered. "{\n sessionId: '2slvnpiyjkj',\n file: 'abstract.push.js',\n function: 'sendToOneSession'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.345Z | debug | Running node "n8n Form Trigger" started "{\n node: 'n8n Form Trigger',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'LoggerProxy.js',\n function: 'exports.debug'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.346Z | debug | Running node "n8n Form Trigger" finished successfully "{\n node: 'n8n Form Trigger',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'LoggerProxy.js',\n function: 'exports.debug'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.347Z | debug | Executing hook on node "n8n Form Trigger" (hookFunctionsPush) "{\n executionId: '4',\n sessionId: '2slvnpiyjkj',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'nodeExecuteAfter'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.347Z | error | The session "2slvnpiyjkj" is not registered. "{\n sessionId: '2slvnpiyjkj',\n file: 'abstract.push.js',\n function: 'sendToOneSession'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.349Z | verbose | Workflow execution finished successfully "{\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'LoggerProxy.js',\n function: 'exports.verbose'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.352Z | debug | Executing hook (hookFunctionsSave) "{\n executionId: '4',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'workflowExecuteAfter'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.354Z | debug | Save execution data to database for execution ID 4 "{\n executionId: '4',\n workflowId: 'ndClDVcBNOtmySlG',\n finished: true,\n stoppedAt: 2024-04-04T17:10:40.349Z,\n file: 'sharedHookFunctions.js',\n function: 'updateExistingExecution'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.378Z | debug | Executing hook (hookFunctionsPush) "{\n executionId: '4',\n sessionId: '2slvnpiyjkj',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'workflowExecuteAfter'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.386Z | debug | Save execution progress to database for execution ID 4 "{\n executionId: '4',\n workflowId: 'ndClDVcBNOtmySlG',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'workflowExecuteAfter'\n}"
n8n-n8n-1 | 2024-04-04T17:10:40.387Z | error | The session "2slvnpiyjkj" is not registered. "{\n sessionId: '2slvnpiyjkj',\n file: 'abstract.push.js',\n function: 'sendToOneSession'\n}"
n8n-n8n-1 | 2024-04-04T17:11:30.534Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
n8n-n8n-1 | 2024-04-04T17:12:30.535Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
n8n-n8n-1 | 2024-04-04T17:13:30.535Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
n8n-n8n-1 | 2024-04-04T17:14:30.535Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
Please share your workflow
Share the output returned by the last node
The node never runs, continuously listening.
Information on your n8n setup
-
n8n version: 1.34.2
-
Database (default: SQLite):
-
n8n EXECUTIONS_PROCESS setting (default: own, main):
-
Running n8n via (Docker, npm, n8n cloud, desktop app): docker-compose
-
Operating system: Linux Ubuntu
-
docker-compose.yml:
version: "3.8"
services:
# n8n
n8n:
image: "docker.n8n.io/n8nio/n8n:latest"
# restart: always
user: root
environment:
WEBHOOK_URL: https://n8n.domain.com/
NODE_ENV: production
N8N_DIAGNOSTICS_ENABLED: false
N8N_LOG_LEVEL: debug
volumes:
- './n8n/data:/root/.n8n'
ports: ["909:5678"]
- Apache2 Configuration:
<VirtualHost *:80>
ServerName $serverName
ServerAlias www.$serverName
ServerAdmin admin@$serverName
ErrorLog ${APACHE_LOG_DIR}/$serverName/error.log
CustomLog ${APACHE_LOG_DIR}/$serverName/access.log combined
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerName $serverName
ServerAlias www.$serverName
ServerAdmin admin@$serverName
ErrorLog ${APACHE_LOG_DIR}/$serverName/error.log
CustomLog ${APACHE_LOG_DIR}/$serverName/access.log combined
ProxyRequests Off
ProxyPreserveHost On
SSLEngine On
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPass "/" "http://$ip:$port/"
ProxyPassReverse "/" "http://$ip:$port/"
SSLCertificateFile /etc/letsencrypt/live/$serverName/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/$serverName/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2 +TLSv1.3
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:EC>
SSLHonorCipherOrder on
SSLCompression off
SSLOptions +StrictRequire
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
</VirtualHost>
</IfModule>