Git Product home page Git Product logo

Comments (5)

Andy-H24 avatar Andy-H24 commented on August 22, 2024 1

Thank you for your effort and for resolving this problem! I now can connect to my containers using the domain name and CrowdSec is running as should.

from jimsgarage.

Andy-H24 avatar Andy-H24 commented on August 22, 2024

The traefik.log file also mentions some problems with the middleware:
level=error msg="middleware \"crowdsec-bouncer@file\" does not exist" entryPointName=http routerName=http-to-https@internal
...

from jimsgarage.

JamesTurland avatar JamesTurland commented on August 22, 2024

Thanks, Andy. Let me take a look at it.

from jimsgarage.

Andy-H24 avatar Andy-H24 commented on August 22, 2024

Thanks a lot! Some more info. When I start the crowdsec container pihole.domainname.com can't be reached anymore. Gateway Timeout. The Traefik dashboard is still available. That's before I even made changes to the config.yml and the traefik.yml files.

So I removed the bouncer part from the docker-compose file and then the connection to Pi-hole was still available. After adding the bouncer part back and restarting the container, the Pi-hole container couldn't be reached anymore. Definately has something to do with the bouncer part of the docker-compose file imho.

The traefik.log file (my networks are dckr instead of proxy and dckr_pihole instead of pihole_internal - the above mentioned tcp errors for the ports 80 and 443 also remain, but they are also present in the log of the traefik container on portainer):

time="2023-08-24T02:21:21+02:00" level=info msg="Starting provider aggregator aggregator.ProviderAggregator"
time="2023-08-24T02:21:21+02:00" level=info msg="Starting provider *file.Provider"
time="2023-08-24T02:21:21+02:00" level=info msg="Starting provider *traefik.Provider"
time="2023-08-24T02:21:21+02:00" level=info msg="Starting provider *docker.Provider"
time="2023-08-24T02:21:21+02:00" level=info msg="Starting provider *acme.ChallengeTLSALPN"
time="2023-08-24T02:21:21+02:00" level=info msg="Starting provider *acme.Provider"
time="2023-08-24T02:21:21+02:00" level=info msg="Testing certificate renew..." providerName=cloudflare.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory"
time="2023-08-24T02:21:50+02:00" level=warning msg="Defaulting to first available network (&{\"dckr\" \"172.19.0.3\" '\\x00' \"\" \"lotsoflettersandnumbers\"}) for container \"/pihole\"." container=pihole-pihole-lotsoflettersandnumbersserviceName=pihole providerName=docker
time="2023-08-24T02:28:04+02:00" level=warning msg="Defaulting to first available network (&{\"dckr\" \"172.19.0.3\" '\\x00' \"\" \"lotsoflettersandnumbers\"}) for container \"/pihole\"." serviceName=pihole container=pihole-pihole-lotsoflettersandnumbersproviderName=docker
time="2023-08-24T02:31:05+02:00" level=warning msg="Defaulting to first available network (&{\"dckr\" \"172.19.0.3\" '\\x00' \"\" \"lotsoflettersandnumbers\"}) for container \"/pihole\"." container=pihole-pihole-lotsoflettersandnumbersserviceName=pihole providerName=docker
time="2023-08-24T02:31:05+02:00" level=warning msg="Defaulting to first available network (&{\"dckr_pihole\" \"172.20.9.3\" '\\x00' \"\" \"lotsoflettersandnumbers\"}) for container \"/pihole\"." container=pihole-pihole-lotsoflettersandnumbersserviceName=pihole providerName=docker

from jimsgarage.

JamesTurland avatar JamesTurland commented on August 22, 2024

@Andy-H24 This is now fixed, there was an error in the config.yaml. Please update: https://github.com/JamesTurland/JimsGarage/blob/main/Crowdsec/Traefik/config.yaml

from jimsgarage.

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.