{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/7663","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/7663/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/7663/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/7663/events","html_url":"https://github.com/grpc/grpc/issues/7663","id":169976072,"number":7663,"title":"Broken pipe exceptions are not retried (ruby)","user":{"login":"timanovsky","id":1225750,"avatar_url":"https://avatars.githubusercontent.com/u/1225750?v=3","gravatar_id":"","url":"https://api.github.com/users/timanovsky","html_url":"https://github.com/timanovsky","followers_url":"https://api.github.com/users/timanovsky/followers","following_url":"https://api.github.com/users/timanovsky/following{/other_user}","gists_url":"https://api.github.com/users/timanovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/timanovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timanovsky/subscriptions","organizations_url":"https://api.github.com/users/timanovsky/orgs","repos_url":"https://api.github.com/users/timanovsky/repos","events_url":"https://api.github.com/users/timanovsky/events{/privacy}","received_events_url":"https://api.github.com/users/timanovsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grpc/grpc/labels/ruby","name":"ruby","color":"E0115F"}],"state":"open","locked":false,"assignee":{"login":"murgatroid99","id":961599,"avatar_url":"https://avatars.githubusercontent.com/u/961599?v=3","gravatar_id":"","url":"https://api.github.com/users/murgatroid99","html_url":"https://github.com/murgatroid99","followers_url":"https://api.github.com/users/murgatroid99/followers","following_url":"https://api.github.com/users/murgatroid99/following{/other_user}","gists_url":"https://api.github.com/users/murgatroid99/gists{/gist_id}","starred_url":"https://api.github.com/users/murgatroid99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murgatroid99/subscriptions","organizations_url":"https://api.github.com/users/murgatroid99/orgs","repos_url":"https://api.github.com/users/murgatroid99/repos","events_url":"https://api.github.com/users/murgatroid99/events{/privacy}","received_events_url":"https://api.github.com/users/murgatroid99/received_events","type":"User","site_admin":false},"assignees":[{"login":"murgatroid99","id":961599,"avatar_url":"https://avatars.githubusercontent.com/u/961599?v=3","gravatar_id":"","url":"https://api.github.com/users/murgatroid99","html_url":"https://github.com/murgatroid99","followers_url":"https://api.github.com/users/murgatroid99/followers","following_url":"https://api.github.com/users/murgatroid99/following{/other_user}","gists_url":"https://api.github.com/users/murgatroid99/gists{/gist_id}","starred_url":"https://api.github.com/users/murgatroid99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murgatroid99/subscriptions","organizations_url":"https://api.github.com/users/murgatroid99/orgs","repos_url":"https://api.github.com/users/murgatroid99/repos","events_url":"https://api.github.com/users/murgatroid99/events{/privacy}","received_events_url":"https://api.github.com/users/murgatroid99/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-08T17:15:49Z","updated_at":"2016-08-15T07:48:38Z","closed_at":null,"body":"After some testing (pretty low load) on  Heroku platform I've got several occurrences of the following error:\r\n```\r\nGcloud::InternalError: 13:{\"created\":\"@1470385322.049611107\",\"description\":\"OS Error\",\"errno\":32,\"file\":\"src/core/lib/iomgr/tcp_posix.c\",\"file_line\":340,\"os_error\":\"Broken pipe\",\"syscall\":\"sendmsg\"}\r\n```\r\n\r\n`Exception.cause` being\r\n```\r\nGRPC::BadStatus: 13:{\"created\":\"@1470385322.049611107\",\"description\":\"OS Error\",\"errno\":32,\"file\":\"src/core/lib/iomgr/tcp_posix.c\",\"file_line\":340,\"os_error\":\"Broken pipe\",\"syscall\":\"sendmsg\"}\r\n```\r\n\r\nLooks like `EPIPE` error is not handled properly?"},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/239746775","html_url":"https://github.com/grpc/grpc/issues/7663#issuecomment-239746775","issue_url":"https://api.github.com/repos/grpc/grpc/issues/7663","id":239746775,"user":{"login":"timanovsky","id":1225750,"avatar_url":"https://avatars.githubusercontent.com/u/1225750?v=3","gravatar_id":"","url":"https://api.github.com/users/timanovsky","html_url":"https://github.com/timanovsky","followers_url":"https://api.github.com/users/timanovsky/followers","following_url":"https://api.github.com/users/timanovsky/following{/other_user}","gists_url":"https://api.github.com/users/timanovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/timanovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timanovsky/subscriptions","organizations_url":"https://api.github.com/users/timanovsky/orgs","repos_url":"https://api.github.com/users/timanovsky/repos","events_url":"https://api.github.com/users/timanovsky/events{/privacy}","received_events_url":"https://api.github.com/users/timanovsky/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T07:48:38Z","updated_at":"2016-08-15T07:48:38Z","body":"Also, can `grpc` return more descriptive error codes? Why `BadStatus: 13` (which is `INTERNAL` error code) is returned in case of network problem? According to the doc https://cloud.google.com/datastore/docs/concepts/errors#error_codes `INTERNAL` should not be retried more than once, which is obviously is incorrect in case of network problem. I think semantically `INTERNAL` is server-internal error, and in case of network problems other code should be used"}}
{"actor":{"display_login":"timanovsky"}}