{"action":"created","issue":{"url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/issues/9","repository_url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy","labels_url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/issues/9/comments","events_url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/issues/9/events","html_url":"https://github.com/Intellection/docker-oauth2-proxy/issues/9","id":177986304,"number":9,"title":"Fix 500 Internal Error Internal Error when sending POST to Google APIs","user":{"login":"itsmrwave","id":703786,"avatar_url":"https://avatars.githubusercontent.com/u/703786?v=3","gravatar_id":"","url":"https://api.github.com/users/itsmrwave","html_url":"https://github.com/itsmrwave","followers_url":"https://api.github.com/users/itsmrwave/followers","following_url":"https://api.github.com/users/itsmrwave/following{/other_user}","gists_url":"https://api.github.com/users/itsmrwave/gists{/gist_id}","starred_url":"https://api.github.com/users/itsmrwave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsmrwave/subscriptions","organizations_url":"https://api.github.com/users/itsmrwave/orgs","repos_url":"https://api.github.com/users/itsmrwave/repos","events_url":"https://api.github.com/users/itsmrwave/events{/privacy}","received_events_url":"https://api.github.com/users/itsmrwave/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T07:33:03Z","updated_at":"2016-09-20T09:34:32Z","closed_at":null,"body":"We are experience an error when trying to authenticate against Google OAuth2 with a _\"failed to load system roots and no roots provided\"_ error.\r\n\r\nI believe this is due to the lack of `ca-certificates` which might be breaking HTTPS/SSL connections.\r\n\r\n```\r\n2016/09/19 17:13:56 oauthproxy.go:125: mapping path \"/\" => upstream \"http://upstream:5601\"\r\n2016/09/19 17:13:56 oauthproxy.go:152: OAuthProxy configured for Google Client ID: SOME_GOOGLE_CLIENT_ID\r\n2016/09/19 17:13:56 oauthproxy.go:162: Cookie settings: name:_oauth2_proxy secure(https):true httponly:true expiry:168h0m0s domain:service.example.com refresh:after 24h0m0s\r\n2016/09/19 17:13:56 http.go:45: HTTP: listening on 0.0.0.0:8080\r\n2016/09/19 17:15:45 oauthproxy.go:535: 10.10.100.127:43619 Cookie \"_oauth2_proxy\" not present\r\n10.10.100.127 - - [19/Sep/2016:17:15:45 +0000] logs.insight-out.com GET - \"/\" HTTP/1.1 \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50\" 403 2521 0.059\r\n2016/09/19 17:15:51 oauthproxy.go:478: 10.10.100.127:43619 error redeeming code Post https://www.googleapis.com/oauth2/v3/token: x509: failed to load system roots and no roots provided\r\n2016/09/19 17:15:51 oauthproxy.go:319: ErrorPage 500 Internal Error Internal Error\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/issues/comments/248252082","html_url":"https://github.com/Intellection/docker-oauth2-proxy/issues/9#issuecomment-248252082","issue_url":"https://api.github.com/repos/Intellection/docker-oauth2-proxy/issues/9","id":248252082,"user":{"login":"itsmrwave","id":703786,"avatar_url":"https://avatars.githubusercontent.com/u/703786?v=3","gravatar_id":"","url":"https://api.github.com/users/itsmrwave","html_url":"https://github.com/itsmrwave","followers_url":"https://api.github.com/users/itsmrwave/followers","following_url":"https://api.github.com/users/itsmrwave/following{/other_user}","gists_url":"https://api.github.com/users/itsmrwave/gists{/gist_id}","starred_url":"https://api.github.com/users/itsmrwave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsmrwave/subscriptions","organizations_url":"https://api.github.com/users/itsmrwave/orgs","repos_url":"https://api.github.com/users/itsmrwave/repos","events_url":"https://api.github.com/users/itsmrwave/events{/privacy}","received_events_url":"https://api.github.com/users/itsmrwave/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T09:34:32Z","updated_at":"2016-09-20T09:34:32Z","body":"Fixed in [latest release](https://hub.docker.com/r/zappi/oauth2_proxy/builds/bub7qa8i6calbzkehmfenu8/) i.e. `2.1-2`."}}
{"actor":{"display_login":"itsmrwave"}}