Skip to content
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

Not working behind a proxy #40

Open
bheisig opened this issue May 10, 2023 · 0 comments
Open

Not working behind a proxy #40

bheisig opened this issue May 10, 2023 · 0 comments

Comments

@bheisig
Copy link

bheisig commented May 10, 2023

Since version 0.4.0 it's not possible to start the exporter behind a proxy. Output using Docker:

panic: failed to initialize API client. this should never happen!

goroutine 1 [running]:
github.com/anas-aso/ssllabs_exporter/internal/ssllabs.init.0()
        /workdir/internal/ssllabs/analyze.go:34 +0x74

Dockerfile:

FROM anasaso/ssllabs_exporter:latest
ENV http_proxy http://proxy.example.com
ENV https_proxy http://proxy.example.com
ENV HTTP_PROXY http://proxy.example.com
ENV HTTPS_PROXY http://proxy.example.com

Commands:

docker build . -t ssllabs:test
docker run --rm -it -p 19115:19115 ssllabs:test

It's working with version 0.3.0 instead of latest. I've tested versions 0.4.1 and 0.4.0, too. But no luck.

Latest version is working fine on another environment without a proxy.

Thanks for you help.

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

No branches or pull requests

1 participant