{"action":"created","issue":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/581","repository_url":"https://api.github.com/repos/bitly/oauth2_proxy","labels_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/581/comments","events_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/581/events","html_url":"https://github.com/bitly/oauth2_proxy/issues/581","id":316327470,"node_id":"MDU6SXNzdWUzMTYzMjc0NzA=","number":581,"title":"Gateway Timeout with AWS ALB","user":{"login":"sprice-janrain","id":26465755,"node_id":"MDQ6VXNlcjI2NDY1NzU1","avatar_url":"https://avatars1.githubusercontent.com/u/26465755?v=4","gravatar_id":"","url":"https://api.github.com/users/sprice-janrain","html_url":"https://github.com/sprice-janrain","followers_url":"https://api.github.com/users/sprice-janrain/followers","following_url":"https://api.github.com/users/sprice-janrain/following{/other_user}","gists_url":"https://api.github.com/users/sprice-janrain/gists{/gist_id}","starred_url":"https://api.github.com/users/sprice-janrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprice-janrain/subscriptions","organizations_url":"https://api.github.com/users/sprice-janrain/orgs","repos_url":"https://api.github.com/users/sprice-janrain/repos","events_url":"https://api.github.com/users/sprice-janrain/events{/privacy}","received_events_url":"https://api.github.com/users/sprice-janrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-20T16:11:17Z","updated_at":"2018-11-15T20:16:48Z","closed_at":null,"author_association":"NONE","body":"oauth2_proxy version: 2.2\r\nOS: Ubuntu 16.04\r\nauthentication: Google G Suite\r\nnon-default cookie settings: `cookie-refresh=1h`\r\n\r\nI'm running oauth2_proxy in front of some sensitive services that I want to lock down to specific Google groups. The hosts are behind an AWS Application Load Balancer configured to contact the host directly on port 4180 (http). It works fine sometimes, but often what happens is that I get a 504 Gateway Timeout after waiting a minute.\r\n\r\nI've sometimes been able to get past this by opening the url in a private browser session, or by clearing cookies specific to that site. Sometimes it will start responding after 3 tries, sometimes never.\r\n\r\nIs there anything further I can do to troubleshoot this issue?"},"comment":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/comments/439175835","html_url":"https://github.com/bitly/oauth2_proxy/issues/581#issuecomment-439175835","issue_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/581","id":439175835,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTE3NTgzNQ==","user":{"login":"andycui66","id":5249524,"node_id":"MDQ6VXNlcjUyNDk1MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5249524?v=4","gravatar_id":"","url":"https://api.github.com/users/andycui66","html_url":"https://github.com/andycui66","followers_url":"https://api.github.com/users/andycui66/followers","following_url":"https://api.github.com/users/andycui66/following{/other_user}","gists_url":"https://api.github.com/users/andycui66/gists{/gist_id}","starred_url":"https://api.github.com/users/andycui66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andycui66/subscriptions","organizations_url":"https://api.github.com/users/andycui66/orgs","repos_url":"https://api.github.com/users/andycui66/repos","events_url":"https://api.github.com/users/andycui66/events{/privacy}","received_events_url":"https://api.github.com/users/andycui66/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T20:16:48Z","updated_at":"2018-11-15T20:16:48Z","author_association":"NONE","body":"@jakubkulhan I solved the issue by increase ALB timeout value. Hope it helps.\r\nhttps://www.terraform.io/docs/providers/aws/r/lb.html#idle_timeout"}}
{"actor":{"display_login":"andycui66"}}