-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi,
when trying to use plugin https://plugins.traefik.io/plugins/6402198fcdc236df7f7216ca/change-query-key
(source https://github.com/libis/traefik-plugin-change-query-key) I got an error:
2025-07-01T12:15:13Z INF github.com/traefik/traefik/v3/cmd/traefik/traefik.go:235 > Loading plugins... plugins=["query-modification"]
2025-07-01T12:15:13Z DBG github.com/traefik/traefik/v3/pkg/plugins/plugins.go:30 > Loading of plugin: query-modification: github.com/libis/[email protected]
2025-07-01T12:15:13Z DBG github.com/hashicorp/[email protected]/client.go:661 > Performing request method=GET url=https://plugins.traefik.io/public/download/github.com/libis/traefik-plugin-change-query-key/v0.2.0
2025-07-01T12:15:13Z DBG github.com/hashicorp/[email protected]/client.go:661 > Performing request method=GET url=https://plugins.traefik.io/public/validate/github.com/libis/traefik-plugin-change-query-key/v0.2.0
2025-07-01T12:15:13Z ERR github.com/traefik/traefik/v3/cmd/traefik/traefik.go:240 > Plugins are disabled because an error has occurred. error="failed to create Yaegi interpreter: failed to import plugin code \"github.com/libis/traefik-plugin-change-query-key\": 1:21: import \"github.com/libis/traefik-plugin-change-query-key\" error: plugins-storage/sources/gop-4174604271/src/github.com/libis/traefik-plugin-change-query-key/change-query-key.go:2:1: expected 'package', found 'import' (and 1 more errors)" plugins=["query-modification"]
After checking the source repo which looked fine I noticed that there was a commit fixing the mentioned error, but the code imported by Traefik from https://plugins.traefik.io/public/download/github.com/libis/traefik-plugin-change-query-key/v0.2.0 somehow is older than the repo version despite having the same version tag and does not contain the fix.
Not sure how this could happen, the plugin repo does not belong to me and seems inactive (there is an open issue regarding this error for some months now).
I'm trying to avoid cloning the original plugin just to make it work from the catalog.
Can the plugin be re-indexed manually?
Thanks.