Skip to content

Instruct to set NO_PROXY to avoid LAPI errors#775

Merged
LaurenceJJones merged 1 commit intocrowdsecurity:mainfrom
tannisroot:no-proxy
May 2, 2025
Merged

Instruct to set NO_PROXY to avoid LAPI errors#775
LaurenceJJones merged 1 commit intocrowdsecurity:mainfrom
tannisroot:no-proxy

Conversation

@tannisroot
Copy link
Copy Markdown
Contributor

Without explicitly setting NO_PROXY=127.0.0.1,localhost,0.0.0.0, LAPI will throw an error:

time="2025-04-27T17:41:38+03:00" level=fatal msg="crowdsec init: while initializing LAPIClient: authenticate watcher (crowdsec): Post "http://0.0.0.0:8080/v1/watchers/login\": performing jwt auth: socks connect tcp 172.24.8.2:1080->0.0.0.0:8080: unknown error connection refused"

@aws-amplify-eu-west-1
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-775.d1to60jd2gb6y6.amplifyapp.com

@LaurenceJJones LaurenceJJones merged commit dcdb7f2 into crowdsecurity:main May 2, 2025
2 checks passed
@LaurenceJJones
Copy link
Copy Markdown
Contributor

Hey 👋🏻

Thank you for opening a pull request!

Merged as it quite useful as when we tested it, I believe the go package by default ignores loopback requests but 🤷🏻 we should explicitly ignore them via configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants