{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/toxiproxy/issues/123","repository_url":"https://api.github.com/repos/Shopify/toxiproxy","labels_url":"https://api.github.com/repos/Shopify/toxiproxy/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/toxiproxy/issues/123/comments","events_url":"https://api.github.com/repos/Shopify/toxiproxy/issues/123/events","html_url":"https://github.com/Shopify/toxiproxy/issues/123","id":172733075,"number":123,"title":"Simulate slow connection open","user":{"login":"kevinhughes27","id":1965489,"avatar_url":"https://avatars.githubusercontent.com/u/1965489?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhughes27","html_url":"https://github.com/kevinhughes27","followers_url":"https://api.github.com/users/kevinhughes27/followers","following_url":"https://api.github.com/users/kevinhughes27/following{/other_user}","gists_url":"https://api.github.com/users/kevinhughes27/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhughes27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhughes27/subscriptions","organizations_url":"https://api.github.com/users/kevinhughes27/orgs","repos_url":"https://api.github.com/users/kevinhughes27/repos","events_url":"https://api.github.com/users/kevinhughes27/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhughes27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-23T15:37:10Z","updated_at":"2016-08-23T15:49:05Z","closed_at":null,"body":"I'm trying to use Toxiproxy to test a connection that is slow to open (I am specifically trying to test our Elastic Search configuration which has both a request_timeout and a request open_timeout which is shorter https://github.com/Shopify/shopify-app-store/pull/1297). \r\n\r\nMy test fails after the full timeout, not the open timeout (4 vs 2 seconds). From a discussion with @Sirupsen he pointed out that this is probably because when the Elastic Search client is routed through Toxiproxy the Toxiproxy server accepts the connection immediately and then applies the toxic. From the Elastic Search client's perspective, it passed the request open_timeout for this reason.\r\n\r\nFor discussion\r\n@Sirupsen @xthexder @jpittis "},"comment":{"url":"https://api.github.com/repos/Shopify/toxiproxy/issues/comments/241779475","html_url":"https://github.com/Shopify/toxiproxy/issues/123#issuecomment-241779475","issue_url":"https://api.github.com/repos/Shopify/toxiproxy/issues/123","id":241779475,"user":{"login":"xthexder","id":1594638,"avatar_url":"https://avatars.githubusercontent.com/u/1594638?v=3","gravatar_id":"","url":"https://api.github.com/users/xthexder","html_url":"https://github.com/xthexder","followers_url":"https://api.github.com/users/xthexder/followers","following_url":"https://api.github.com/users/xthexder/following{/other_user}","gists_url":"https://api.github.com/users/xthexder/gists{/gist_id}","starred_url":"https://api.github.com/users/xthexder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xthexder/subscriptions","organizations_url":"https://api.github.com/users/xthexder/orgs","repos_url":"https://api.github.com/users/xthexder/repos","events_url":"https://api.github.com/users/xthexder/events{/privacy}","received_events_url":"https://api.github.com/users/xthexder/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T15:49:05Z","updated_at":"2016-08-23T15:49:05Z","body":"This was brought up once before: https://github.com/Shopify/toxiproxy/issues/72"}}
{"actor":{"display_login":"xthexder"}}