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

Unexpected behavior against misbehaving Observatorium #13

Open
esnible opened this issue Nov 12, 2021 · 0 comments
Open

Unexpected behavior against misbehaving Observatorium #13

esnible opened this issue Nov 12, 2021 · 0 comments

Comments

@esnible
Copy link

esnible commented Nov 12, 2021

I had misconfigured my Observatorium with an invalid client ID and OIDC secret in my K8s observatorium-xyz-observatorium-api Secret, while following https://github.com/observatorium/observatorium/blob/main/docs/usage/getting-started.md

token-refresher did not work, as expected, but it was very hard to troubleshoot. Hundreds of pages of token-refresher logs, mostly http: proxy error: dial tcp 127.0.0.1:8443: socket: too many open files.. No Observatorium-api logs.

I had no idea what was going on. It looks like net/http/httputil/reverseproxy.go closes files under defer. The incredible amount of output mislead me to suspect a recursion problem.

Perhaps more logging or rate limiting around rejection would 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