{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3733","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3733/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3733/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3733/events","html_url":"https://github.com/rethinkdb/rethinkdb/pull/3733","id":56626234,"number":3733,"title":"javscript: Emit connection error","user":{"login":"tundrax","id":381501,"avatar_url":"https://avatars.githubusercontent.com/u/381501?v=3","gravatar_id":"","url":"https://api.github.com/users/tundrax","html_url":"https://github.com/tundrax","followers_url":"https://api.github.com/users/tundrax/followers","following_url":"https://api.github.com/users/tundrax/following{/other_user}","gists_url":"https://api.github.com/users/tundrax/gists{/gist_id}","starred_url":"https://api.github.com/users/tundrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tundrax/subscriptions","organizations_url":"https://api.github.com/users/tundrax/orgs","repos_url":"https://api.github.com/users/tundrax/repos","events_url":"https://api.github.com/users/tundrax/events{/privacy}","received_events_url":"https://api.github.com/users/tundrax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-02-05T04:29:12Z","updated_at":"2015-02-22T21:54:35Z","closed_at":"2015-02-14T03:05:32Z","pull_request":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/pulls/3733","html_url":"https://github.com/rethinkdb/rethinkdb/pull/3733","diff_url":"https://github.com/rethinkdb/rethinkdb/pull/3733.diff","patch_url":"https://github.com/rethinkdb/rethinkdb/pull/3733.patch"},"body":"`timeout` configuration option has no effect in case of connection refused error (server down). Timeout is cleared in `@rawSocket.once` and no error ever emitted. Since `@rawSocket.on \"close\"` event is called directly after `@rawSocket.on \"error\"` we can just emit a connection error."},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/75464974","html_url":"https://github.com/rethinkdb/rethinkdb/pull/3733#issuecomment-75464974","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3733","id":75464974,"user":{"login":"AtnNn","id":706854,"avatar_url":"https://avatars.githubusercontent.com/u/706854?v=3","gravatar_id":"","url":"https://api.github.com/users/AtnNn","html_url":"https://github.com/AtnNn","followers_url":"https://api.github.com/users/AtnNn/followers","following_url":"https://api.github.com/users/AtnNn/following{/other_user}","gists_url":"https://api.github.com/users/AtnNn/gists{/gist_id}","starred_url":"https://api.github.com/users/AtnNn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtnNn/subscriptions","organizations_url":"https://api.github.com/users/AtnNn/orgs","repos_url":"https://api.github.com/users/AtnNn/repos","events_url":"https://api.github.com/users/AtnNn/events{/privacy}","received_events_url":"https://api.github.com/users/AtnNn/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T21:54:35Z","updated_at":"2015-02-22T21:54:35Z","body":"@stuartpb I've released a new version of the JavaScript driver (1.16.1) with this change."}}