Connection lost at fresh install n8n at cpanel

Describe the problem/error/question

Install clear N8N at cpanel account. Us VPS Server. and this manual How to install n8n on cpanel succesffuly - #3 by rubenalonsoes

my NodeJS Environment variables:
N8N_BASIC_AUTH_ACTIVE true
N8N_BASIC_AUTH_PASSWORD [password]
N8N_BASIC_AUTH_USER [username]
N8N_HOST localhost
N8N_LOG_LEVEL debug
N8N_PORT 5678
N8N_PROTOCOL https
N8N_PROXY_HOPS 1
N8N_PUSH_BACKEND sse
QUEUE_HEALTH_CHECK_ACTIVE true
VUE_APP_URL_BASE_API https://subdomain.mysiteurl.com/
WEBHOOK_URL https://subdomain.mysiteurl.com/

What is the error message (if any)?

Every time get error Connection lost. or Problem running workflow.
Lost connection to the server. Use Environment variables

Error log n8n is empty. Workflow is empty to. In server log have:

App 811041 output: 2025-07-03T18:05:59.436Z | warn | Origin header is missing {“scopes”:[“push”],“file”:“index.js”,“function”:“handleRequest”}
App 811041 output: ResponseError: Invalid origin!
App 811041 output: at Push.handleRequest (/home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/n8n/src/push/index.ts:143:10)
App 811041 output: at /home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/n8n/src/push/index.ts💯10
App 811041 output: at Layer.handleRequest (/home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/router/lib/layer.js:152:17)
App 811041 output: at trimPrefix (/home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/router/index.js:342:13)
App 811041 output: at /home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/router/index.js:297:9
App 811041 output: at processParams (/home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/router/index.js:582:12)
App 811041 output: at next (/home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/router/index.js:291:5)
App 811041 output: at AuthService.authMiddleware (/home/mysite/nodevenv/node_modules/n8n/bin/n8n/22/lib/node_modules/n8n/src/auth/auth.service.ts:86:17)
App 811041 output: 2025-07-03T18:06:08.461Z [Rudder] debug: in flush

recording takes place through the Cpanel control panel, using CloudLinux WHM/cPanel, through the creation of a node js application, this option does not have the ability to make changes to server configuration files. ( nginx + apache )

Please share your workflow

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

Share the output returned by the last node

Information on your n8n setup

Debug info
core

n8nVersion: 1.100.1
platform: npm
nodeJsVersion: 22.16.0
database: sqlite
executionMode: regular
concurrency: -1
license: enterprise (production)

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; rv:140.0) gecko/20100101 firefox/140.0
isTouchDevice: false