Giter Club home page Giter Club logo

Comments (9)

dberardo-com avatar dberardo-com commented on May 31, 2024 2

i believe that my original issue was due to a outdated version of traefik or so, but TBH i forgot.

however, well done with the PR !

from fail2ban.

thomasLeclaire avatar thomasLeclaire commented on May 31, 2024 1

plugins are experimental, and loading info is in DEBUG in traefik logs.

from fail2ban.

fradeve avatar fradeve commented on May 31, 2024 1

@tomMoulard maybe it could be made clearer in the documentation that the fail2ban logs will only be visible when the Traefik logs are set to DEBUG? (if my understanding of this comment is correct: #49 (comment))

I agree with your assessment, most of the issues described above are generic Traefik issues on how to get Traefik configured to run plugins.

from fail2ban.

fradeve avatar fradeve commented on May 31, 2024 1

@dberardo-com I have opened this PR to add some more docs, following your feedback: #74

from fail2ban.

dberardo-com avatar dberardo-com commented on May 31, 2024

i dont know if this can hellp, but in my case i could see this error in the log: level=error msg="Plugins are disabled because an error has occurred." error="mkdir plugins-storage: read-only file system"

which lead me to this: traefik/traefik-helm-chart#282

basically experimental plugins have to be enabled globally within the helm chart in k8s:

  experimental:
    plugins:
      enabled: true

now i see that the container is trying to download the plugins, but for some reason it does not reach the host:

evel=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/tomMoulard/fail2ban: failed to call service: Get "https://plugin.pilot.traefik.io/public/download/github.com/tomMoulard/fail2ban/v0.6.6\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

but from a shell inside the container i can download the plugin without any trouble ... so i wonder why cant traefik download it ? can i increase the timeout ?

from fail2ban.

dberardo-com avatar dberardo-com commented on May 31, 2024

also, i feel this point should be documented as well: The fail2ban plugin needs to be the first one on the plugin list of a router, in case the 401, or other "fail sources" are located in the middlewares after fail2ban itself

from fail2ban.

fradeve avatar fradeve commented on May 31, 2024

@dberardo-com just wanted to say thanks, your posts above have helped me to get the plugin to work!

from fail2ban.

tomMoulard avatar tomMoulard commented on May 31, 2024

Following @dberardo-com comment, I think that this issue could be related to Traefik itself and not to this plugin. Thus, I will close this issue.

If you think I am wrong, feel free to open a new issue documenting your use case !

from fail2ban.

tomMoulard avatar tomMoulard commented on May 31, 2024

it could be made clearer in the documentation that the fail2ban logs will only be visible when the Traefik logs are set to DEBUG?

For sure, feel free to open a PR to improve the documentation !

from fail2ban.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.