There are certain cases where the dokploy-traefik container goes down and then one of the containers squats on the IP reservation
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, docker-compose
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Start by tracing how Dokploy configures the Traefik container's static IP and the shared dokploy-network, then inspect the watchdog mentioned in the issue. Reproduce the address conflict when a Swarm task takes 10.0.1.32 and Traefik restarts. Done means Traefik recovers reliably when its reserved address is occupied; the issue names no source files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
To Reproduce
Serious issue, needs to be fixed. Has happened twice now in 2 days - probably at the same time cause when I woke up it was in this condition.
dokploy-traefik has a static IP reservation (10.0.1.32) on dokploy-network. While Traefik was down, a Swarm task (maa-enterprises-supabase-j9odm6-api-gw-1) took .32. Every Traefik start then failed with attaching to network failed ... context deadline exceeded (could not allocate IP from IPAM: Address already in use). This state persists in Swarm's IPAM, so reboots/redeploys couldn't fix it.
Partly dokploy issue actually, it's a known Docker Swarm IPAM gap that Dokploy's design exposes. The Swarm allocator hands addresses to service tasks without reserving the static IP that the standalone dokploy-traefik container holds on the shared dokploy-network overlay, so any task churn while Traefik is down can squat .32 (Docker issue class: "Address already in use" on attachable overlays).
Where Dokploy is genuinely at fault: it pins Traefik to a static IP on the same pool its services allocate from, and has no recovery path when the address is taken reinstalling services never touches the allocator stat.
Cheap hardening on my side: give Traefik an IP outside the range Swarm churns through (e.g. .2/.3 at the bottom, or a dedicated subnet), or drop the static IP entirely — DNS name dokploy-traefik is what routing uses anyway. The watchdog that I've built online self heals this regardless but I really should not have to.
Current vs. Expected behavior
Traefic's iP should never be squatted upon by one of the other services
Provide environment information
Os- Debian GNU/Linux 13 (trixie) for x64
Dokploy - 0.31.0
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
No response
Will you send a PR to fix it?
Maybe, need help
- Ngôn ngữ chính
- TypeScript
- Star
- 38.8k
- Fork
- 3.2k
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 110
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Dokploy/dokploy
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6151 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Healthy Swarm task shows an empty `(Error:)` suffix on the last row of the Containers tabCó thể đã có người làm @AyhamJo7 đã nhận 4 ngày trước. Đang mởneeds-triage🔍
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Dokploy/dokploy#6115 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Global search (Cmd/Ctrl+J) never sorts results by relevanceCó thể đã có người làm @hamidzr đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Dokploy/dokploy#6107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`utils/dns/ovh.ts`: the zone-listing 403 handler replaces the provider's error instead of chaining itCó thể đã có người làm @SyncWithRaj đã nhận 9 ngày trước. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Dokploy/dokploy#6075 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MongoDB with Replica Sets enabled: container exits with code 0 and restarts in a loop (generated startup script never waits on mongod)Có thể đã có người làm @ghazy2001 đã nhận 10 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6051 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Dokploy/dokploy
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ardia-browser/ardia#5042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
clipy-recorder/clipy#695 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ag-ui-protocol/ag-ui#3504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#161712 ·
Maintainer thường phản hồi trong vòng 1 ngày