# Executing Workflow keeps loading forever

**URL:** <https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720>\
**Category:** Questions\
**Created:** [April 22, 2025, 7:14pm UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720 "2025-04-22T19:14:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gt3](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gt3/32/75294_2.png) [@gt3](https://community.n8n.io/u/gt3)\
**Post date:** [April 22, 2025, 7:14pm UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720/1 "2025-04-22T19:14:08Z")

</div>

Hi guys,

I am new into n8n. I just installed it on my local server as a container. I can access the GUI and I added 1 manual trigger, but when I click Test Workflow, it keeps loading without getting to an end.

**This is my .env file :**

N8N\_USER=hidden  
N8N\_PASSWORD=hidden  
N8N\_HOST=[n8n.example.com](http://n8n.example.com)

N8N\_DB=hidden  
N8N\_DB\_USER=hidden  
N8N\_DB\_PASSWORD=hidden

N8N\_RUNNERS\_ENABLED=true  
OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS=true  
N8N\_ENFORCE\_SETTINGS\_FILE\_PERMISSIONS=true

N8N\_DISABLE\_PRODUCTION\_MAIN\_MENU=true  
N8N\_DIAGNOSTICS\_ENABLED=false  
N8N\_DISABLE\_TELEMETRY=true

N8N\_EXPRESS\_TRUST\_PROXY=true

**This is my docker-compose.yml file :**

services:  
n8n:  
container\_name: n8n  
image: n8nio/n8n:latest  
restart: unless-stopped  
ports:  
- “5678:5678”  
environment:  
- N8N\_BASIC\_AUTH\_ACTIVE=true  
- N8N\_BASIC\_AUTH\_USER=${N8N\_USER}  
- N8N\_BASIC\_AUTH\_PASSWORD=${N8N\_PASSWORD}  
- N8N\_HOST=${N8N\_HOST}  
- N8N\_PORT=5678  
- N8N\_PROTOCOL=https  
- N8N\_RUNNERS\_ENABLED=${N8N\_RUNNERS\_ENABLED}  
- OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS=${OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS}  
- N8N\_ENFORCE\_SETTINGS\_FILE\_PERMISSIONS=${N8N\_ENFORCE\_SETTINGS\_FILE\_PERMISSIONS}  
- NODE\_ENV=production  
- TZ=Europe/London  
- WEBHOOK\_URL=https://${N8N\_HOST}/  
- EXECUTIONS\_MODE=queue  
- QUEUE\_MODE=redis  
- QUEUE\_BULL\_REDIS\_HOST=common\_redis  
- QUEUE\_BULL\_REDIS\_PORT=hidden  
- QUEUE\_BULL\_REDIS\_PASSWORD=hidden  
- DB\_TYPE=postgresdb  
- DB\_POSTGRESDB\_HOST=postgres  
- DB\_POSTGRESDB\_PORT=5432  
- DB\_POSTGRESDB\_DATABASE=${N8N\_DB}  
- DB\_POSTGRESDB\_USER=${N8N\_DB\_USER}  
- DB\_POSTGRESDB\_PASSWORD=${N8N\_DB\_PASSWORD}  
volumes:  
- n8n\_data:/home/node/.n8n  
networks:  
- hidden

volumes:  
n8n\_data:

networks:  
hidden:  
external: true

**This is the logs from the container :**

Received SIGTERM. Shutting down…  
[Task Runner]: Received SIGTERM signal, shutting down…  
[Task Runner]: Task runner stopped

Stopping n8n…  
Waiting for 1 active executions to finish…  
Waiting for 1 active executions to finish…  
Waiting for 1 active executions to finish…  
Waiting for 1 active executions to finish…  
Waiting for 1 active executions to finish…  
User settings loaded from: /home/node/.n8n/config  
Last session crashed  
Initializing n8n process  
n8n ready on 0.0.0.0, port 5678  
n8n Task Broker ready on 127.0.0.1, port 5679  
Found unfinished executions: 1, 2, 3, 4, 5, 6  
This could be due to a crash of an active workflow or a restart of n8n.  
Version: 1.88.0

Editor is now accessible via:  
[https://n8n.example.com](https://n8n.example.com)  
Registered runner “JS Task Runner” (hidden)  
Enqueued execution 7 (job 7)  
Enqueued execution 8 (job 8)  
Enqueued execution 9 (job 9)

---

<div class="post-metadata">

**Author:** ![barn4k](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/barn4k/32/8170_2.png) [@barn4k](https://community.n8n.io/u/barn4k)\
**Post date:** [April 22, 2025, 9:12pm UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720/2 "2025-04-22T21:12:24Z")

</div>

I see some issues:

> [@gt3](#):
>
> - N8N\_PROTOCOL=https

you have set n8n to work with HTTPS, but there is no SSL configuration.

> [@gt3](#):
>
> - OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS=${OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS}

I don’t see such a setting in the [docs](https://docs.n8n.io/hosting/configuration/environment-variables/queue-mode/). Where did you get it? I also don’t see any workers in you compose file.

---

<div class="post-metadata">

**Author:** ![gt3](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gt3/32/75294_2.png) [@gt3](https://community.n8n.io/u/gt3)\
**Post date:** [April 22, 2025, 9:56pm UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720/3 "2025-04-22T21:56:18Z")

</div>

Both of them were generated by gpt.

I dig into it and I found that if i set the QUEUE\_MODE to “regular” instead of queue, it works perfect. I also noticed in my redis commander that the jobs are still there, which means, they have never got processed in first place.

I am not sure which setup is better. Right now the “regular” value works great. Are there any advantages with redis over regular to work on it and fix it?

---

<div class="post-metadata">

**Author:** ![msjd78](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/msjd78/32/76315_2.png) [@msjd78](https://community.n8n.io/u/msjd78)\
**Post date:** [April 26, 2025, 8:41am UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720/4 "2025-04-26T08:41:27Z")

</div>

Hi  
Try commenting (hashing) following lines in docker compose file.

- N8N\_PROTOCOL=https
- N8N\_RUNNERS\_ENABLED=${N8N\_RUNNERS\_ENABLED}
- OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS=${OFFLOAD\_MANUAL\_EXECUTIONS\_TO\_WORKERS}

I hope this will make your N8N setup working smoothly.

---

<div class="post-metadata">

**Author:** ![gt3](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gt3/32/75294_2.png) [@gt3](https://community.n8n.io/u/gt3)\
**Post date:** [May 22, 2025, 12:47pm UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720/5 "2025-05-22T12:47:01Z")

</div>

Hi Muhammad,

thank you for your reply. I haven’t tested it with redis, because without it, it works fine. I will test another docker container with redis and come back with results

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [August 20, 2025, 12:47pm UTC](https://community.n8n.io/t/executing-workflow-keeps-loading-forever/104720/6 "2025-08-20T12:47:23Z")

</div>

Closed on August 20, 2025, 12:47pm UTC

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