{"action":"opened","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/3642","labels_url":"https://api.github.com/repos/grpc/grpc/issues/3642/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/3642/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/3642/events","html_url":"https://github.com/grpc/grpc/issues/3642","id":109913966,"number":3642,"title":"on_writable failed during connect on OS X","user":{"login":"alexgolec","id":472622,"avatar_url":"https://avatars.githubusercontent.com/u/472622?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgolec","html_url":"https://github.com/alexgolec","followers_url":"https://api.github.com/users/alexgolec/followers","following_url":"https://api.github.com/users/alexgolec/following{/other_user}","gists_url":"https://api.github.com/users/alexgolec/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgolec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgolec/subscriptions","organizations_url":"https://api.github.com/users/alexgolec/orgs","repos_url":"https://api.github.com/users/alexgolec/repos","events_url":"https://api.github.com/users/alexgolec/events{/privacy}","received_events_url":"https://api.github.com/users/alexgolec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-06T00:41:26Z","updated_at":"2015-10-06T00:41:26Z","closed_at":null,"body":"I'm encountering an issue when attempting to connect to a server on OS X. When I attempt to connect to a server on `localhost` that isn't running, I get:\r\n\r\n    74: Server ping wait attempt number 1 failed. Retrying.\r\n    74: E1005 20:36:24.794811000 140735201832960 tcp_client_posix.c:174] on_writable failed during connect\r\n    74: Server ping wait attempt number 2 failed. Retrying.\r\n    74: E1005 20:36:25.005236000 140735201832960 tcp_client_posix.c:174] on_writable failed during connect\r\n    74: Server ping wait attempt number 3 failed. Retrying.\r\n    74: E1005 20:36:25.214249000 140735201832960 tcp_client_posix.c:174] on_writable failed during connect\r\n\r\nWhen I start my server and attempt to connect to it, I see the same thing *but* the server tells me the connection was reset by the peer (the client). \r\n\r\nI've submitted this issue to the mailing list and received no advice, although Eric Anderson made some observations and suggested this isn't due to a server issue:\r\n\r\nhttps://groups.google.com/forum/#!topic/grpc-io/5CAQzBy7hYk\r\n\r\nThe same code, when run on Linux, triggers #3617."}}