Skip to content

Plugin not working #9512

@scrazy77

Description

@scrazy77

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?

I tested custom plugin in EKS traefik deployment, but it's not working.
helm chart config:

additionalArguments: 
  - "--log.level=DEBUG"
  - "--experimental.plugins.example.modulename=github.com/traefik/plugindemo"
  - "--experimental.plugins.example.version=v0.2.2"

the pod error message:

time="2022-11-08T15:42:07Z" level=debug msg="loading of plugin: example: github.com/traefik/plugindemo@v0.2.2"
time="2022-11-08T15:42:12Z" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/traefik/plugindemo: failed to call service: Get \"https://plugins.traefik.io/public/download/github.com/traefik/plugindemo/v0.2.2\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

the network is ok, I can wget https://plugins.traefik.io/public/download/github.com/traefik/plugindemo/v0.2.2 in the pod

Then I test different version of traefik docker image:

Custom plugin working fine:
v2.7.0
v2.8.0
v2.8.1
v2.8.3

Custom plugin not working:
v2.8.4
v2.8.8
v2.9.4

Conclusion:
The latest working version is Traefik v2.8.3

What did you see instead?

time="2022-11-08T15:42:07Z" level=debug msg="loading of plugin: example: github.com/traefik/plugindemo@v0.2.2"
time="2022-11-08T15:42:12Z" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/traefik/plugindemo: failed to call service: Get \"https://plugins.traefik.io/public/download/github.com/traefik/plugindemo/v0.2.2\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

What version of Traefik are you using?

v2.9.4

What is your environment & configuration?

additionalArguments: 
  - "--log.level=DEBUG"
  - "--experimental.plugins.example.modulename=github.com/traefik/plugindemo"
  - "--experimental.plugins.example.version=v0.2.2"

If applicable, please paste the log output in DEBUG level

time="2022-11-08T15:42:07Z" level=debug msg="loading of plugin: example: github.com/traefik/plugindemo@v0.2.2"
time="2022-11-08T15:42:12Z" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/traefik/plugindemo: failed to call service: Get \"https://plugins.traefik.io/public/download/github.com/traefik/plugindemo/v0.2.2\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions