Cant run any javascript

Describe the problem/error/question

Hello,

I am using n8n community edition on windows server and I am not able to run any javascript code. it just keep loading even with default n8n code. the python works but very slow. I was hoping if anyone can help us to understand the issue. both n8n and runner are 1.111.1

N8N_HOST=servername
N8N_PORT=5678
N8N_PROTOCOL=https
N8N_LISTEN_ADDRESS=0.0.0.0
WEBHOOK_URL=https://servername/
N8N_EDITOR_BASE_URL=https://servername/
VUE_APP_URL_BASE_API=https://servername/
N8N_TRUST_PROXY=true
N8N_PROXY_HOPS=1
NODE_ENV=production
N8N_BLOCK_ENV_ACCESS_IN_NODE=true
N8N_ENCRYPTION_KEY_FILE=/encryption_key
N8N_SSL_CERT_FILE=/servername.pem
N8N_SECURE_COOKIE=false
N8N_SESSION_COOKIE_SAMESITE=lax
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false
TZ=UTC
N8N_DIAGNOSTICS_ENABLED=false
DB_TYPE=postgresdb
DB_POSTGRESDB_DATABASE_FILE=/db_database
DB_POSTGRESDB_HOST_FILE=/db_host
DB_POSTGRESDB_PORT_FILE=/db_port
DB_POSTGRESDB_USER_FILE=/db_user
DB_POSTGRESDB_PASSWORD_FILE=/db_password
N8N_RUNNERS_ENABLED=true
N8N_RUNNERS_MODE=external
N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
N8N_RUNNERS_PORT=5679
N8N_RUNNERS_AUTH_TOKEN_FILE=/runners_encryption_key
N8N_PUSH_BACKEND=websocket
N8N_RUNNERS_LAUNCHER_LOG_LEVEL=debug
N8N_LOG_LEVEL=debug

Please share your workflow

Share the output returned by the last node

Null

Information on your n8n setup

  • n8n version: 1.111.1
  • Database (default: SQLite): PosgressDB
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (Podman GUI)
  • Operating system: Windows Server 2025 Datacenter

Temporarily disable external runners to confirm JS execution works in the main process

N8N_RUNNERS_ENABLED=false

Restart n8n and test the JavaScript node. If it works, the issue is definitely with runner connectivity.

At the beginning I had without runner and same issue. Is there a way to test from terminal inside of the container? Maybe to run the java it require a component

Just to echo this, I’ve had this problem start as well. Previously working JS code node on n8n cloud now just enters an endless execution loop.

Tried deactivating and adding a new code node with the default boilerplate, same issue

Yes, So I was hoping there is a test I can do to find more info. Somewhere outside of editor

Anyone can help with this?

Did you get a resolution for this? Suddenly my code nodes never stop running and move on to the next node, like they are in an execution loop that doesn’t end

No I did not get anything. I have now more issue. I will open a new topic

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.