Workflow Editor Blank (White) with Traefik

Describe the problem/error/question

Hello!

I have the same issue as Workflow Editor Blank (White) After Upgrading - #22 by thefourCraft and here hhttps://community.n8n.io/t/workflow-editor-blank-white-after-upgrading/11310/5

And all actions is that topics didnt help me. Different browser and incognito mode also didnt help.

I have self-hosted n8n version (tried latest n8n and n8n langchain beta. The problem is that workflow editor is blank (white). I am using traefik.

docker-compose.yml here: N8N Traefik Blank Page Error - Pastebin.com

and env var WEBHOOK_TUNNEL_URL=https://n8n.domain.com

Everything works properly with localhost:5678 but it is white page with n8n.domain.com

Please help me, how can I solve this issue and access with n8n.domain.com? And after that I want to configure webhook url for telegram and other webhooks.

Information on your n8n setup

  • n8n version: latest
  • **Database (default: SQLite): PostgreSQL **
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): docker-compose self-hosted “withPostgresAndWorker” **
  • **Operating system: Ubuntu **

Hey @Embody,

Welcome to the community :cake:

It sounds like there is probably an issue in your configuration, I would start with a smaller install and not jump to queue mode until you need it that way you can add options to see if it impacts anything. I would also start with a configuration that is known to work like the one we document here: Docker Compose | n8n Docs

Hi @Jon
Thank you for your help!

Simpler setup from your link helped me. Here how it looks like for n8n docker service:

environment:
- N8N_LOG_LEVEL=debug
- N8N_HOST=n8n.domain.com
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://n8n.domain.com/
- GENERIC_TIMEZONE=<your_timezone>

labels:
  - traefik.enable=true
  - traefik.http.routers.n8n.rule=Host(`n8n.domain.com`)
  - traefik.http.routers.n8n.tls=true
  - traefik.http.routers.n8n.entrypoints=web,websecure
  - traefik.http.routers.n8n.tls.certresolver=le
  - traefik.http.middlewares.n8n.headers.SSLRedirect=true
  - traefik.http.middlewares.n8n.headers.STSSeconds=315360000
  - traefik.http.middlewares.n8n.headers.browserXSSFilter=true
  - traefik.http.middlewares.n8n.headers.contentTypeNosniff=true
  - traefik.http.middlewares.n8n.headers.forceSTSHeader=true
  - traefik.http.middlewares.n8n.headers.SSLHost=domain.com
  - traefik.http.middlewares.n8n.headers.STSIncludeSubdomains=true
  - traefik.http.middlewares.n8n.headers.STSPreload=true
  - traefik.http.routers.n8n.middlewares=n8n@docker
1 Like

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