{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/5","id":39765522,"html_url":"https://github.com/Woorank/fluent-plugin-logentries/pull/5","diff_url":"https://github.com/Woorank/fluent-plugin-logentries/pull/5.diff","patch_url":"https://github.com/Woorank/fluent-plugin-logentries/pull/5.patch","issue_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues/5","number":5,"state":"closed","locked":false,"title":"[fix] handle possible epipe exception during ssl write","user":{"login":"icereval","id":3111541,"avatar_url":"https://avatars.githubusercontent.com/u/3111541?v=3","gravatar_id":"","url":"https://api.github.com/users/icereval","html_url":"https://github.com/icereval","followers_url":"https://api.github.com/users/icereval/followers","following_url":"https://api.github.com/users/icereval/following{/other_user}","gists_url":"https://api.github.com/users/icereval/gists{/gist_id}","starred_url":"https://api.github.com/users/icereval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icereval/subscriptions","organizations_url":"https://api.github.com/users/icereval/orgs","repos_url":"https://api.github.com/users/icereval/repos","events_url":"https://api.github.com/users/icereval/events{/privacy}","received_events_url":"https://api.github.com/users/icereval/received_events","type":"User","site_admin":false},"body":"A small patch which should resolve the following exception.\r\n\r\n```bash\r\n2015-07-12 05:52:06 +0000 [info]: Token(s) list updated.\r\n2015-07-12 13:57:12 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-07-12 13:57:13 +0000 error_class=\"Errno::EPIPE\" error=\"Broken pipe\" plugin_id=\"object:3fb600e80350\"\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/lib/ruby/2.2.0/openssl/buffering.rb:326:in `syswrite'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/lib/ruby/2.2.0/openssl/buffering.rb:326:in `do_write'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/lib/ruby/2.2.0/openssl/buffering.rb:344:in `write'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluent-plugin-logentries-0.2.10/lib/fluent/plugin/out_logentries.rb:129:in `send_logentries'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluent-plugin-logentries-0.2.10/lib/fluent/plugin/out_logentries.rb:121:in `block in write'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluentd-0.12.12/lib/fluent/plugin/buf_memory.rb:61:in `feed_each'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluentd-0.12.12/lib/fluent/plugin/buf_memory.rb:61:in `msgpack_each'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluent-plugin-logentries-0.2.10/lib/fluent/plugin/out_logentries.rb:112:in `write'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluentd-0.12.12/lib/fluent/buffer.rb:325:in `write_chunk'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluentd-0.12.12/lib/fluent/buffer.rb:304:in `pop'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluentd-0.12.12/lib/fluent/output.rb:321:in `try_flush'\r\n  2015-07-12 13:57:12 +0000 [warn]: /usr/local/bundle/gems/fluentd-0.12.12/lib/fluent/output.rb:140:in `run'\r\n2015-07-12 13:57:13 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-07-12 13:57:15 +0000 error_class=\"OpenSSL::SSL::SSLError\" error=\"SSL_write: bad write retry\" plugin_id=\"object:3fb600e80350\"\r\n  2015-07-12 13:57:13 +0000 [warn]: suppressed same stacktrace\r\n2015-07-12 13:57:15 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-07-12 13:57:19 +0000 error_class=\"OpenSSL::SSL::SSLError\" error=\"SSL_write: bad write retry\" plugin_id=\"object:3fb600e80350\"\r\n  2015-07-12 13:57:15 +0000 [warn]: suppressed same stacktrace\r\n2015-07-12 13:57:19 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-07-12 13:57:27 +0000 error_class=\"OpenSSL::SSL::SSLError\" error=\"SSL_write: bad write retry\" plugin_id=\"object:3fb600e80350\"\r\n  2015-07-12 13:57:19 +0000 [warn]: suppressed same stacktrace\r\n2015-07-12 13:57:27 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-07-12 13:57:41 +0000 error_class=\"OpenSSL::SSL::SSLError\" error=\"SSL_write: bad write retry\" plugin_id=\"object:3fb600e80350\"\r\n  2015-07-12 13:57:27 +0000 [warn]: suppressed same stacktrace\r\n```","created_at":"2015-07-12T17:37:43Z","updated_at":"2015-08-05T08:32:11Z","closed_at":"2015-08-05T08:32:11Z","merged_at":"2015-08-05T08:32:11Z","merge_commit_sha":"5c1550998867d552fe8e633deaf204c99eb5932c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues/5/comments","statuses_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/statuses/fc8ecc46375b69e2287f0b95138d6a2a52fa35f2","head":{"label":"icereval:master","ref":"master","sha":"fc8ecc46375b69e2287f0b95138d6a2a52fa35f2","user":{"login":"icereval","id":3111541,"avatar_url":"https://avatars.githubusercontent.com/u/3111541?v=3","gravatar_id":"","url":"https://api.github.com/users/icereval","html_url":"https://github.com/icereval","followers_url":"https://api.github.com/users/icereval/followers","following_url":"https://api.github.com/users/icereval/following{/other_user}","gists_url":"https://api.github.com/users/icereval/gists{/gist_id}","starred_url":"https://api.github.com/users/icereval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icereval/subscriptions","organizations_url":"https://api.github.com/users/icereval/orgs","repos_url":"https://api.github.com/users/icereval/repos","events_url":"https://api.github.com/users/icereval/events{/privacy}","received_events_url":"https://api.github.com/users/icereval/received_events","type":"User","site_admin":false},"repo":{"id":38970339,"name":"fluent-plugin-logentries","full_name":"icereval/fluent-plugin-logentries","owner":{"login":"icereval","id":3111541,"avatar_url":"https://avatars.githubusercontent.com/u/3111541?v=3","gravatar_id":"","url":"https://api.github.com/users/icereval","html_url":"https://github.com/icereval","followers_url":"https://api.github.com/users/icereval/followers","following_url":"https://api.github.com/users/icereval/following{/other_user}","gists_url":"https://api.github.com/users/icereval/gists{/gist_id}","starred_url":"https://api.github.com/users/icereval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icereval/subscriptions","organizations_url":"https://api.github.com/users/icereval/orgs","repos_url":"https://api.github.com/users/icereval/repos","events_url":"https://api.github.com/users/icereval/events{/privacy}","received_events_url":"https://api.github.com/users/icereval/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/icereval/fluent-plugin-logentries","description":"Logentries output plugin for Fluent event collector","fork":true,"url":"https://api.github.com/repos/icereval/fluent-plugin-logentries","forks_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/forks","keys_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/teams","hooks_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/hooks","issue_events_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/issues/events{/number}","events_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/events","assignees_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/assignees{/user}","branches_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/branches{/branch}","tags_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/tags","blobs_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/git/refs{/sha}","trees_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/statuses/{sha}","languages_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/languages","stargazers_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/stargazers","contributors_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/contributors","subscribers_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/subscribers","subscription_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/subscription","commits_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/commits{/sha}","git_commits_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/git/commits{/sha}","comments_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/comments{/number}","issue_comment_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/issues/comments{/number}","contents_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/contents/{+path}","compare_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/merges","archive_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/downloads","issues_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/issues{/number}","pulls_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/pulls{/number}","milestones_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/milestones{/number}","notifications_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/labels{/name}","releases_url":"https://api.github.com/repos/icereval/fluent-plugin-logentries/releases{/id}","created_at":"2015-07-12T17:13:58Z","updated_at":"2015-07-12T17:13:58Z","pushed_at":"2015-07-17T15:34:17Z","git_url":"git://github.com/icereval/fluent-plugin-logentries.git","ssh_url":"git@github.com:icereval/fluent-plugin-logentries.git","clone_url":"https://github.com/icereval/fluent-plugin-logentries.git","svn_url":"https://github.com/icereval/fluent-plugin-logentries","homepage":null,"size":120,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Woorank:master","ref":"master","sha":"2893f0366620305a9e2a773a1a72de010bcddbb9","user":{"login":"Woorank","id":2657775,"avatar_url":"https://avatars.githubusercontent.com/u/2657775?v=3","gravatar_id":"","url":"https://api.github.com/users/Woorank","html_url":"https://github.com/Woorank","followers_url":"https://api.github.com/users/Woorank/followers","following_url":"https://api.github.com/users/Woorank/following{/other_user}","gists_url":"https://api.github.com/users/Woorank/gists{/gist_id}","starred_url":"https://api.github.com/users/Woorank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Woorank/subscriptions","organizations_url":"https://api.github.com/users/Woorank/orgs","repos_url":"https://api.github.com/users/Woorank/repos","events_url":"https://api.github.com/users/Woorank/events{/privacy}","received_events_url":"https://api.github.com/users/Woorank/received_events","type":"Organization","site_admin":false},"repo":{"id":25634580,"name":"fluent-plugin-logentries","full_name":"Woorank/fluent-plugin-logentries","owner":{"login":"Woorank","id":2657775,"avatar_url":"https://avatars.githubusercontent.com/u/2657775?v=3","gravatar_id":"","url":"https://api.github.com/users/Woorank","html_url":"https://github.com/Woorank","followers_url":"https://api.github.com/users/Woorank/followers","following_url":"https://api.github.com/users/Woorank/following{/other_user}","gists_url":"https://api.github.com/users/Woorank/gists{/gist_id}","starred_url":"https://api.github.com/users/Woorank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Woorank/subscriptions","organizations_url":"https://api.github.com/users/Woorank/orgs","repos_url":"https://api.github.com/users/Woorank/repos","events_url":"https://api.github.com/users/Woorank/events{/privacy}","received_events_url":"https://api.github.com/users/Woorank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Woorank/fluent-plugin-logentries","description":"Logentries output plugin for Fluent event collector","fork":false,"url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries","forks_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/forks","keys_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/teams","hooks_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/hooks","issue_events_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues/events{/number}","events_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/events","assignees_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/assignees{/user}","branches_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/branches{/branch}","tags_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/tags","blobs_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/git/refs{/sha}","trees_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/statuses/{sha}","languages_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/languages","stargazers_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/stargazers","contributors_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/contributors","subscribers_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/subscribers","subscription_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/subscription","commits_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/commits{/sha}","git_commits_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/git/commits{/sha}","comments_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/comments{/number}","issue_comment_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues/comments{/number}","contents_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/contents/{+path}","compare_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/merges","archive_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/downloads","issues_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues{/number}","pulls_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls{/number}","milestones_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/milestones{/number}","notifications_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/labels{/name}","releases_url":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/releases{/id}","created_at":"2014-10-23T11:55:36Z","updated_at":"2015-07-28T17:19:20Z","pushed_at":"2015-08-05T08:32:11Z","git_url":"git://github.com/Woorank/fluent-plugin-logentries.git","ssh_url":"git@github.com:Woorank/fluent-plugin-logentries.git","clone_url":"https://github.com/Woorank/fluent-plugin-logentries.git","svn_url":"https://github.com/Woorank/fluent-plugin-logentries","homepage":null,"size":398,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/5"},"html":{"href":"https://github.com/Woorank/fluent-plugin-logentries/pull/5"},"issue":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues/5"},"comments":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Woorank/fluent-plugin-logentries/statuses/fc8ecc46375b69e2287f0b95138d6a2a52fa35f2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ndemoor","id":1684896,"avatar_url":"https://avatars.githubusercontent.com/u/1684896?v=3","gravatar_id":"","url":"https://api.github.com/users/ndemoor","html_url":"https://github.com/ndemoor","followers_url":"https://api.github.com/users/ndemoor/followers","following_url":"https://api.github.com/users/ndemoor/following{/other_user}","gists_url":"https://api.github.com/users/ndemoor/gists{/gist_id}","starred_url":"https://api.github.com/users/ndemoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndemoor/subscriptions","organizations_url":"https://api.github.com/users/ndemoor/orgs","repos_url":"https://api.github.com/users/ndemoor/repos","events_url":"https://api.github.com/users/ndemoor/events{/privacy}","received_events_url":"https://api.github.com/users/ndemoor/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":5,"additions":6,"deletions":5,"changed_files":1}}