Comments (5)
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.
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.
Thanks, Andy. Let me take a look at it.
from jimsgarage.
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.
@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)
- Suggestion for improvement: Check architecture
- mis-spelled file name
- How to fix : Environment variables BACKUP_CRON and CHECK_CRON are mutually exclusive. Please fix your configuration. Exiting.
- Gitea docker with SSH HOT 2
- Dangerous command in k3s.sh HOT 3
- Cloud Init
- In-video commands - are they posted somewhere?
- headscale config file not matching version HOT 2
- Fix for Keycloak not connecting to Postgres
- K3S-Deploy - Suggestions for enhancement HOT 2
- Traefik secure issues HOT 6
- Error with metal lb on RKE script HOT 2
- K3S-Deploy: Issues on Ubuntu Server 22.04
- K3S-Deploy not working on Debian12
- Rancher not deploying HOT 1
- k3s deploy error nginx address not working HOT 3
- Deployment generation is 33360, but latest observed generation is 33359
- Tailscale container example improvement HOT 1
- Request for Assistance with GitHub Project: RKE2 HA Stack Ansible Playbook
- Unbound in docker dropping dns_net network after startup HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jimsgarage.