K18LDP Posted May 13 Share Posted May 13 (edited) Hi All (First post on here - please be gentle!) I am in the process of setting up Traefik + Crowdsec on my UNRAID server. I have followed Ibracorps documentation/videos to get this set up. Traefik by itself is working as intended and I can access my subdomains (eg overseerr.mydomain.com, authentik.mydomain.com etc) as needed. I have set up crowdsec container and this seems to be working as well in isolation. I have the crowdsec-traefik-bouncer container also up and running (I have added the api key generated from crowdsec container). As soon as I try to connect crowdsec-traefik-bouncer with traefik (ie add in crowdsec-bouncer@file into middlewares in traefik.yml and the settings in fileConfig.yml), I am blocked from accessing my services using subdomain.mydomain.com In the crowdsec-traefik-bouncer logs I can see an error (which I will add into the comments below). Perplexed as to what's causing the issues and I'm at the point of giving up on traefik... Hopefully someone has some ideas and can help me I will add in all the settings and logs below EDIT: the decisions list within crowdsec does not have any banned IP addresses (will add a pic to comments) Edited May 13 by K18LDP Added information about decisions list and typos Quote Link to comment
K18LDP Posted May 13 Author Share Posted May 13 Logs from CROWDSEC https://pastebin.com/RbULjMHb Quote Link to comment
K18LDP Posted May 13 Author Share Posted May 13 Crowdsec-traefik-bouncer container Quote Link to comment
K18LDP Posted May 13 Author Share Posted May 13 (edited) Logs from Crowdsec_traefik-bouncer https://pastebin.com/iBxc4iMW These are the pertinent logs I believe they show the errors when trying to access both locally and externally Edited May 13 by K18LDP Quote Link to comment
K18LDP Posted May 13 Author Share Posted May 13 Traefik.yml for traefik https://pastebin.com/NRdSNfGA file.config.yml for traefik https://pastebin.com/QvtvBRE4 Quote Link to comment
K18LDP Posted May 13 Author Share Posted May 13 Example of webpage when I open subdomain.mydomain.com Quote Link to comment
Solution K18LDP Posted May 13 Author Solution Share Posted May 13 SOLVED by a member of the crowdsec discord community https://discord.com/channels/921520481163673640/1239282865100034139/1239512270480867409: the in crowdsec-traefik-bouncer container , the variable I had for CROWDSEC_AGENT_HOST was incorrect Incorrect: crowdsec:8081 Correct: crowdsec:8080 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.