mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 22:55:14 -05:00
Traefik Fails to Download Pangolin Badger Plugin when Set to "latest" Version #570
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marcschaeferger on GitHub (Aug 8, 2025).
Description
When configuring the Pangolin Badger plugin for Traefik as described in the official documentation, the plugin download fails if the version is set to
latest. The URL being accessed does not exist, leading to an error. Manually replacinglatestwith an explicit version tag likev1.2.0resolves the issue.The problem appears to be related to how the
latesttag is handled in the Traefik Plugins API. The same issue has been observed with other plugins, such as the CrowdSec Traefik Bouncer Plugin.Steps to Reproduce
Configure Traefik as follows in
config/traefik/traefik_config.yml:Restart Traefik.
Observe the error that occurs during the plugin download attempt:
https://plugins.traefik.io/public/download/github.com/fosrl/badger/latestUpdate the configuration to use a specific version (
v1.2.0):Restart Traefik.
Observe that the plugin now downloads and works correctly.
Repeat the same steps with other plugins (e.g., CrowdSec), and note the similar failure for
latest.Expected Behavior
The Pangolin Badger plugin should download and work correctly when using the
latesttag, or clear documentation should specify that a specific version is required.Actual Behavior
Using the
latesttag results in the following error:https://plugins.traefik.io/public/download/github.com/fosrl/badger/latestdoes not exist.Manually specifying the plugin version resolves the problem. For instance:
v1.2.0: The URLhttps://plugins.traefik.io/public/download/github.com/fosrl/badger/v1.2.0works correctly.Screenshots
Using
latestas VersionUsing
v1.2.0as VersionEnvironment
"latest"→ Failing"v1.2.0"→ WorkingRelated Documentation
Analysis and Possible Root Cause
https://plugins.traefik.io/public/download/github.com/fosrl/badger/latest, but the URL does not exist.latesttag correctly.latesttag.Suggested Solutions
1. Fix
latestTag Handlinglatesttags and properly map them to the most recent stable release of the plugin (e.g.,v1.2.0).2. Update Documentation
v1.2.0) must be used, as thelatesttag is not currently supported.3. Automated Alias for
latestlatestin the plugin registry to the most recent stable plugin release.Additional Notes
latest:https://plugins.traefik.io/public/download/github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/latesthttps://plugins.traefik.io/public/download/github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/v1.4.4.@oschwartz10612 commented on GitHub (Aug 13, 2025):
I updated this in our docs. Thanks for the write up!
I suspect Traefik plugin system does not support latest so I dont know if we can resolve that. But the docs show the right thing now which is the important part!