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

oauth issues #7

Open
cunningt opened this issue Apr 6, 2018 · 2 comments
Open

oauth issues #7

cunningt opened this issue Apr 6, 2018 · 2 comments

Comments

@cunningt
Copy link
Collaborator

cunningt commented Apr 6, 2018

Installed Prometheus with "Deploy Prometheus with Oauth-Proxy sidecar"

Go to https://prometheus-grafana-proxy-foobar.127.0.0.1.nip.io/

signin

Click that, sign in as developer

authorize

Click Allow, get 500 error

Try to login through oauth, get 500 error

Logs show the following error :

2018/04/06 17:39:15 oauthproxy.go:657: 172.17.0.7:47680 Cookie "_oauth_proxy" not present

  | 2018/04/06 17:39:20 oauthproxy.go:657: 172.17.0.7:47680 Cookie "_oauth_proxy" not present
  | 2018/04/06 17:39:22 server.go:2753: http: TLS handshake error from 172.17.0.10:33352: tls: first record does not look like a TLS handshake
  | 2018/04/06 17:39:24 oauthproxy.go:582: error redeeming code (client:172.17.0.7:47680): Post https://127.0.0.1:8443/oauth/token: x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs
  | 2018/04/06 17:39:24 oauthproxy.go:399: ErrorPage 500 Internal Error Internal Error
  | 2018/04/06 17:39:24 server.go:2753: http: TLS handshake error from 127.0.0.1:43366: remote error: tls: bad certificate
  | 2018/04/06 17:39:24 oauthproxy.go:657: 172.17.0.7:47680 Cookie "_oauth_proxy" not present
  | 2018/04/06 17:39:37 server.go:2753: http: TLS handshake error from 172.17.0.10:33432: tls: first record does not look like a TLS handshake
  | 2018/04/06 17:39:52 server.go:2753: http: TLS handshake error from 172.17.0.10:33470: tls: first record does not look like a TLS handshake
  | 2018/04/06 17:40:07 server.go:2753: http: TLS handshake error from 172.17.0.10:33558: tls: first record does not look like a TLS handshake

@cunningt
Copy link
Collaborator Author

cunningt commented Apr 6, 2018

Could be related to openshift/oauth-proxy#52

@cunningt
Copy link
Collaborator Author

cunningt commented May 1, 2018

@jparrill Any ideas here?

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