{"action":"created","issue":{"url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/109","repository_url":"https://api.github.com/repos/crowbar/crowbar-ha","labels_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/109/comments","events_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/109/events","html_url":"https://github.com/crowbar/crowbar-ha/pull/109","id":149445134,"number":109,"title":"Added http-keep-alive option to haproxy defaults","user":{"login":"abel-navarro","id":1333236,"avatar_url":"https://avatars.githubusercontent.com/u/1333236?v=3","gravatar_id":"","url":"https://api.github.com/users/abel-navarro","html_url":"https://github.com/abel-navarro","followers_url":"https://api.github.com/users/abel-navarro/followers","following_url":"https://api.github.com/users/abel-navarro/following{/other_user}","gists_url":"https://api.github.com/users/abel-navarro/gists{/gist_id}","starred_url":"https://api.github.com/users/abel-navarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abel-navarro/subscriptions","organizations_url":"https://api.github.com/users/abel-navarro/orgs","repos_url":"https://api.github.com/users/abel-navarro/repos","events_url":"https://api.github.com/users/abel-navarro/events{/privacy}","received_events_url":"https://api.github.com/users/abel-navarro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2016-04-19T12:22:41Z","updated_at":"2016-04-20T10:08:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-ha/pulls/109","html_url":"https://github.com/crowbar/crowbar-ha/pull/109","diff_url":"https://github.com/crowbar/crowbar-ha/pull/109.diff","patch_url":"https://github.com/crowbar/crowbar-ha/pull/109.patch"},"body":"We were using the http-request for haproxy with a 5s timeout. This\r\noption only addresses the initial part of the HTTP negotiation. Once\r\nthe HTTP session is established we should use a shorter timeout\r\nfor idling connections with the http-keep-alive option. This option\r\nif not set gets the same value as http-request timeout.\r\n\r\nThis patch will help fix problems with 'nova boot --poll', because\r\nthe connections usually ended at the same time a new request was\r\ncoming, leading to connection refused errors.\r\n\r\nReferences:\r\n- https://trello.com/c/m9a3MQYS\r\n- https://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.2-timeout%20http-keep-alive"},"comment":{"url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/comments/212364046","html_url":"https://github.com/crowbar/crowbar-ha/pull/109#issuecomment-212364046","issue_url":"https://api.github.com/repos/crowbar/crowbar-ha/issues/109","id":212364046,"user":{"login":"abel-navarro","id":1333236,"avatar_url":"https://avatars.githubusercontent.com/u/1333236?v=3","gravatar_id":"","url":"https://api.github.com/users/abel-navarro","html_url":"https://github.com/abel-navarro","followers_url":"https://api.github.com/users/abel-navarro/followers","following_url":"https://api.github.com/users/abel-navarro/following{/other_user}","gists_url":"https://api.github.com/users/abel-navarro/gists{/gist_id}","starred_url":"https://api.github.com/users/abel-navarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abel-navarro/subscriptions","organizations_url":"https://api.github.com/users/abel-navarro/orgs","repos_url":"https://api.github.com/users/abel-navarro/repos","events_url":"https://api.github.com/users/abel-navarro/events{/privacy}","received_events_url":"https://api.github.com/users/abel-navarro/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T10:08:37Z","updated_at":"2016-04-20T10:08:37Z","body":"@nicolasbock I recovered that capture file and removed packets from other flows. You will see at the end of the capture the FIN/RST problem.\r\n[http-keep-alive-RST.zip](https://github.com/crowbar/crowbar-ha/files/227689/http-keep-alive-RST.zip)\r\n"}}