[GH-ISSUE #1850] Routers/Services not being deleted from Traefik #10786

Open
opened 2026-05-06 15:04:51 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @keonramses on GitHub (Nov 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1850

Originally assigned to: @oschwartz10612 on GitHub.

Describe the Bug

Since Pangolin 1.12.0, I have noticed that routers/services are being recreated, but the old ones are not being removed, thus ballooning the count in Traefik. I first encountered this when I was first testing ee-1.11.0, and my Traefik got updated to v3.5.4. Back then, I rolled back both Traefik and Pangolin, and the issue resolved itself. I have had Traefik pinned to 3.5.3 build since the rollback and blocked the image from updating. Since updating Pangolin to 1.12.2, I am now seeing this behaviour again.

Image

All the services with @file@file appended are not connected to any routers.

Image

Image

Middleware Manager:

Image

Image

Environment

  • OS Type & Version: Rocky Linux 10
  • Pangolin Version: ee-1.12.2
  • Gerbil Version: 1.2.2
  • Traefik Version: 3.5.3
  • Newt Version: 1.6.0
  • Olm Version: N/A

To Reproduce

  • Install Pangolin ee-1.12.2
  • Connect site
  • Create resource

You should be able to tell if this issue is happening easily using hhf's middleware manager.

Expected Behavior

If a router/service that was created by Pangolin is no longer being used, it should be deleted from Traefik.

Originally created by @keonramses on GitHub (Nov 12, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1850 Originally assigned to: @oschwartz10612 on GitHub. ### Describe the Bug Since Pangolin 1.12.0, I have noticed that routers/services are being recreated, but the old ones are not being removed, thus ballooning the count in Traefik. I first encountered this when I was first testing ee-1.11.0, and my Traefik got updated to v3.5.4. Back then, I rolled back both Traefik and Pangolin, and the issue resolved itself. I have had Traefik pinned to 3.5.3 build since the rollback and blocked the image from updating. Since updating Pangolin to 1.12.2, I am now seeing this behaviour again. <img width="2305" height="740" alt="Image" src="https://github.com/user-attachments/assets/e7d66fae-f137-4281-a556-f57cefd84d5a" /><br> All the services with @file@file appended are not connected to any routers. <img width="2361" height="968" alt="Image" src="https://github.com/user-attachments/assets/b3895685-33a9-4da1-a3c3-058d9411aa1b" /><br> <img width="1205" height="747" alt="Image" src="https://github.com/user-attachments/assets/3dcde18a-b216-42ae-8715-3a84b71e566d" /><br> Middleware Manager: <img width="1612" height="783" alt="Image" src="https://github.com/user-attachments/assets/06580507-356a-4151-b525-fae8ad1a73a8" /><br> <img width="1642" height="1081" alt="Image" src="https://github.com/user-attachments/assets/94753ce0-0717-4ca9-81b6-6c0218662406" /> ### Environment - OS Type & Version: Rocky Linux 10 - Pangolin Version: ee-1.12.2 - Gerbil Version: 1.2.2 - Traefik Version: 3.5.3 - Newt Version: 1.6.0 - Olm Version: N/A ### To Reproduce - Install Pangolin ee-1.12.2 - Connect site - Create resource You should be able to tell if this issue is happening easily using hhf's middleware manager. ### Expected Behavior If a router/service that was created by Pangolin is no longer being used, it should be deleted from Traefik.
GiteaMirror added the needs investigating label 2026-05-06 15:04:51 -05:00
Author
Owner

@keonramses commented on GitHub (Nov 27, 2025):

@oschwartz10612, please see above.

<!-- gh-comment-id:3584306676 --> @keonramses commented on GitHub (Nov 27, 2025): @oschwartz10612, please see above.
Author
Owner

@AstralDestiny commented on GitHub (Dec 25, 2025):

This looks like middlewaremanager normal behavior as middleware manager makes a "overrrides.yml" in a way which mirrors pangolin's own rules. If you check the resource-overrides.yml you should still see all the routes there. Middleware manager makes an exact copy and references info just does a higher priority to override pangolin's routing rule and apply the middlewares.

<!-- gh-comment-id:3691166284 --> @AstralDestiny commented on GitHub (Dec 25, 2025): This looks like middlewaremanager normal behavior as middleware manager makes a "overrrides.yml" in a way which mirrors pangolin's own rules. If you check the resource-overrides.yml you should still see all the routes there. Middleware manager makes an exact copy and references info just does a higher priority to override pangolin's routing rule and apply the middlewares.
Author
Owner

@keonramses commented on GitHub (Dec 25, 2025):

The issue is not with middleware manager, I only used it to illustrate the issue. While the router websecure duplication is understandable (it seems pangolin adds an extra router for services behind auth), the services on the other hand show that services that are no longer connected are not being removed (see screenshot).

Image
<!-- gh-comment-id:3691174539 --> @keonramses commented on GitHub (Dec 25, 2025): The issue is not with middleware manager, I only used it to illustrate the issue. While the router websecure duplication is understandable (it seems pangolin adds an extra router for services behind auth), the services on the other hand show that services that are no longer connected are not being removed (see screenshot). <img width="1883" height="1240" alt="Image" src="https://github.com/user-attachments/assets/189dce6e-1aa0-4f5f-b143-9a8e2b4d8d3c" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#10786