Trafik stop working after using reload option in server settings
To Reproduce
- Create any application from the template list that has an exposed web link. (affinepro,outline,etc)
- Deploy the application
- Access the application using the domain
- Go to Web Server Settings
- Click Traefik button and then Reload
- Try to access to the domain again (its not going to work).
Current vs. Expected behavior
Currently it is sending me to my router ui like if im trying to acess 192.168.0.1 (In using self hosted in a pc in my local network.). I'm getting errors on the traefik logs
If I reload the traefik it should still work, this only happens if I use the reload option after installing dokploy.
Provide environment information
Operating System:
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-84-generic x86_64)
Dokploy version: v0.25.3
VPS Provider: My own machine in my local network.
What Applications/services:
Any application that exposes a domain with traefik
Which area(s) are affected? (Select all that apply)
Traefik
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
This are the latest logs from traefik:
2025-09-27T04:14:40Z ERR error="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik 2025-09-27T04:14:40Z ERR error="accept tcp [::]:80: use of closed network connection" entryPointName=web 2025-09-27T04:14:40Z ERR Error while starting server error="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik 2025-09-27T04:14:40Z ERR error="close tcp [::]:80: use of closed network connection" entryPointName=web 2025-09-27T04:14:40Z ERR error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure 2025-09-27T04:14:40Z ERR error="close tcp [::]:443: use of closed network connection" entryPointName=websecure 2025-09-27T04:18:34Z ERR error="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik 2025-09-27T04:18:34Z ERR error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure 2025-09-27T04:18:34Z ERR error="accept tcp [::]:80: use of closed network connection" entryPointName=web 2025-09-27T04:18:34Z ERR error="close tcp [::]:80: use of closed network connection" entryPointName=web 2025-09-27T04:18:34Z ERR error="close tcp [::]:443: use of closed network connection" entryPointName=websecure 2025-09-27T04:18:34Z ERR error="close tcp [::]:8080: use of closed network connection" entryPointName=traefik
Will you send a PR to fix it?
No
Found this ticket through looking for "443: use of closed network connection" .
Can't get dokploy to reliably generate letsencrypt certificates. Debugging why but the traefik log isn't that helpful
https://github.com/Dokploy/dokploy/issues/2865
I experienced something similar. I haven't found the root cause but reloading your stacks should help here (at least it did for me). Depending on how much stacks you have it is not a workaround.
@tafaust reloading does not work for me. After testing again, I noticed that the issue starts when I restart my router. I don't know if it's related to my ipv4 changing. but I'm trying to access through my local Ip.
This is an issue with your router/ISP not having a fixed IPv4 imho. Try to get some dyndns and cname your domains to the dyndns domain name.
I couldn't reproduce this issue:
https://github.com/user-attachments/assets/c0578e77-e660-4e3a-a7d3-8b83126cabb1