Hi @davidbamboo - thanks for getting in touch about this!
Both myself and @MutedJam aren’t too sure what’s going on here by this description, as we can’t reproduce this based on what information you’ve provided. Can you let us know what service(s) you might be running n8n on? If you’re using a VPS there might be different loads on them, where one of your shared servers is a particularly busy server (and the other one isn’t).
I’ve been diagnosing this issue with n8n for the last year.
Neither of these servers is busy at all. But a few of the workflows really depend on having an instant response to a webhook (autocomplete lookups)
With the server that has instant responses, I had finally completely started from scratch and by some stroke of magic it worked. I then cloned that machine, followed all the same steps, and it didn’t work.
Somewhere something isn’t functioning correctly.
These are both on Linode 2cpu 4gb ram ubuntu 22.04 vps’s.
I’ve confirmed with multiple workflows, that are identical on both machines, that there is always a ~2sec delay on the one.
I just need to confirm that n8n is running in “main” mode. is there anyway to know that definitively?
# Folder where data should be saved
DATA_FOLDER=/home/xxxxxxxxx/n8n/
# The top level domain to serve from
DOMAIN_NAME=xxxxxxxxx.com
# The subdomain to serve from
SUBDOMAIN=xxxxxxxxx
# DOMAIN_NAME and SUBDOMAIN combined decide where n8n will be reachable from
# above example would result in: https://n8n.example.com
# The user name to use for autentication - IMPORTANT ALWAYS CHANGE!
N8N_BASIC_AUTH_USER=xxxxxxxxx
# The password to use for autentication - IMPORTANT ALWAYS CHANGE!
N8N_BASIC_AUTH_PASSWORD=xxxxxxxxx
# Optional timezone to set which gets used by Cron-Node by default
# If not set New York time will be used
GENERIC_TIMEZONE=America/Vancouver
# The email address to use for the SSL certificate creation
[email protected]
# postgres info
POSTGRES_DB=xxxxxxxxx
POSTGRES_NON_ROOT_USER=xxxxxxxxx
POSTGRES_NON_ROOT_PASSWORD=xxxxxxxxx
POSTGRES_HOST=xxxxxxxxx
## this param added to correct the SES errors per https://community.n8n.io/t/error-on-sending-html-email-with-amazon-ses/3773/5
N8N_USE_DEPRECATED_REQUEST_LIB=true
## lets store the encryption key here instead:
N8N_ENCRYPTION_KEY=xxxxxxxxx+xxxxxxxxx
EXECUTIONS_PROCESS=main
#EXECUTIONS_PROCESS=own
#EXECUTIONS_MODE=regular
#N8N_LOG_LEVEL=debug
#N8N_LOG_OUTPUT=file,console
#N8N_LOG_FILE_LOCATION=/home/xxxxxxxxx/n8n/logs/n8n.log
#DB_LOGGING_ENABLED=true
#### disable telemetry
N8N_DIAGNOSTICS_ENABLED=false
N8N_VERSION_NOTIFICATIONS_ENABLED=false
N8N_TEMPLATES_ENABLED=false
EXTERNAL_FRONTEND_HOOKS_URLS=
N8N_DIAGNOSTICS_CONFIG_FRONTEND=
N8N_DIAGNOSTICS_CONFIG_BACKEND=
## other random
N8N_TEMPLATES_ENABLED=false
EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE=720
EXECUTIONS_DATA_PRUNE_TIMEOUT=3600
Hi @davidbamboo - thanks for the additional context, and for providing your configuration files.
It looks like EXECUTIONS_PROCESS isn’t specifically set. I’d suggest adding in EXECUTIONS_PROCESS=main as well to your docker compose file as a next step to troubleshoot. Just as a heads up, it looks like you have the env file set up, but your Docker compose file isn’t actually reading those variables for the executions process