{"action":"closed","issue":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/2811","labels_url":"https://api.github.com/repos/kennethreitz/requests/issues/2811/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/2811/comments","events_url":"https://api.github.com/repos/kennethreitz/requests/issues/2811/events","html_url":"https://github.com/kennethreitz/requests/issues/2811","id":110441115,"number":2811,"title":"2.8.0 release raise ConnectTimeout on not known url","user":{"login":"aarefiev22","id":9213840,"avatar_url":"https://avatars.githubusercontent.com/u/9213840?v=3","gravatar_id":"","url":"https://api.github.com/users/aarefiev22","html_url":"https://github.com/aarefiev22","followers_url":"https://api.github.com/users/aarefiev22/followers","following_url":"https://api.github.com/users/aarefiev22/following{/other_user}","gists_url":"https://api.github.com/users/aarefiev22/gists{/gist_id}","starred_url":"https://api.github.com/users/aarefiev22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarefiev22/subscriptions","organizations_url":"https://api.github.com/users/aarefiev22/orgs","repos_url":"https://api.github.com/users/aarefiev22/repos","events_url":"https://api.github.com/users/aarefiev22/events{/privacy}","received_events_url":"https://api.github.com/users/aarefiev22/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-08T12:47:34Z","updated_at":"2015-10-08T13:10:01Z","closed_at":"2015-10-08T13:10:01Z","body":"2.7.0 and 2.8.0 raises diff exception on not known url:\r\n\r\nimport requests\r\nrequests.get('http://fake')\r\n\r\n2.8.0:\r\nrequests.exceptions.ConnectTimeout: HTTPConnectionPool(host='fake', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fac9c476110>: Failed to establish a new connection: [Errno -2] Name or service not known',))\r\n\r\n2.7.0\r\nrequests.exceptions.ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))\r\n"}}