-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traefik-bouncer not connecting #41
Comments
Hello, I have the same issue. Here is my setup:
Have you resolve it ? |
https://plugins.traefik.io/plugins/6335346ca4caa9ddeffda116/crowdsec-bouncer-traefik-plugin |
Thanks for the input about the alternate bouncer, but that doesn't help this bouncer. I'm also having issues getting it to connect. If anyone has a solution other than another bouncer. |
Which port are you using to connect to crowdsec container? |
Still having the same issue here (with a stand-alone container as well as when using the plugin). I'm using ubuntu server 22.04.4 LTS as a VM on Promxox. Edit: I conducted following tests: |
I am having a strange issue getting the traefik-bouncer up and running. Ive followed the steps and have got it going successfully on two other hosts but for whatever reason the host im attempting to get it going on will not connect to my traefik container. Im not sure what Im missing and super confused.
cscli bouncers list:
`----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Name IP Address Valid Last API pull Type Version Auth Type
blocklistMirror 172.168.90.1 ✔️ 2022-11-25T13:20:15Z crowdsec-blocklist-mirror v0.0.1-debian-pragmatic-0c8983c08afb28d82d18c4835458aaa0019- api-key
3fa4f
traefik-bouncer ✔️ 2022-11-25T13:15:28Z api-key
----------------------------------------------------------------------------------------------------------------------------------------------------------------------`
logs from traefik-bouncer in debug:
`[GIN-debug] GET /api/v1/ping --> github.com/fbonalair/traefik-crowdsec-bouncer/controler.Ping (2 handlers)
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
[GIN-debug] Listening and serving HTTP on :8080
[GIN-debug] Environment variable PORT is undefined. Using port :8080 by default
[GIN-debug] GET /api/v1/metrics --> github.com/fbonalair/traefik-crowdsec-bouncer/controler.Metrics (2 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
[GIN-debug] GET /api/v1/healthz --> github.com/fbonalair/traefik-crowdsec-bouncer/controler.Healthz (2 handlers)
[GIN-debug] GET /api/v1/forwardAuth --> github.com/fbonalair/traefik-crowdsec-bouncer/controler.ForwardAuth (2 handlers)
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.`
also was getting this error which prompted me to nuke the setup and start over:
{"level":"warn","error":"invalid character 'p' after top-level value","time":"2022-11-24T01:29:00Z","message":"An error occurred while checking IP """}
Any ideas? Thanks in advance.
The text was updated successfully, but these errors were encountered: