{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/1617","labels_url":"https://api.github.com/repos/kennethreitz/requests/issues/1617/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/1617/comments","events_url":"https://api.github.com/repos/kennethreitz/requests/issues/1617/events","html_url":"https://github.com/kennethreitz/requests/issues/1617","id":19952471,"number":1617,"title":"Inconsistent ConnectionError Behavior","user":{"login":"laruellef","id":1452980,"avatar_url":"https://avatars.githubusercontent.com/u/1452980?v=3","gravatar_id":"","url":"https://api.github.com/users/laruellef","html_url":"https://github.com/laruellef","followers_url":"https://api.github.com/users/laruellef/followers","following_url":"https://api.github.com/users/laruellef/following{/other_user}","gists_url":"https://api.github.com/users/laruellef/gists{/gist_id}","starred_url":"https://api.github.com/users/laruellef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laruellef/subscriptions","organizations_url":"https://api.github.com/users/laruellef/orgs","repos_url":"https://api.github.com/users/laruellef/repos","events_url":"https://api.github.com/users/laruellef/events{/privacy}","received_events_url":"https://api.github.com/users/laruellef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2013-09-24T01:52:34Z","updated_at":"2015-03-08T05:11:04Z","closed_at":"2013-09-24T02:45:49Z","body":"Looking for guidance to solve the following problem:\r\n\r\nOn dev env / MacOSX, the following:\r\n\r\n```python\r\nurl = \"http://insurance-guide.netfirms.com\"\r\nresponse = requests.get(url, timeout=90, verify=False, stream=True)\r\n```\r\n\r\nresults in:\r\n\r\n```python\r\nConnectionError: HTTPConnectionPool(host='insurance-guide.netfirms.com', port=80): Max retries exceeded with url: / (Caused by <class 'socket.gaierror'>: [Errno 8] nodename nor servname provided, or not known)\r\n```\r\n\r\non prod env / Centos 6, the exact same code never timesout and just stays stuck forever...\r\n\r\nboth env are python 2.7.5 and requests 1.2.3\r\n\r\nwhat could be the cause of the diff behavior on prod vs dev?\r\n"},"comment":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/comments/77733688","html_url":"https://github.com/kennethreitz/requests/issues/1617#issuecomment-77733688","issue_url":"https://api.github.com/repos/kennethreitz/requests/issues/1617","id":77733688,"user":{"login":"laruellef","id":1452980,"avatar_url":"https://avatars.githubusercontent.com/u/1452980?v=3","gravatar_id":"","url":"https://api.github.com/users/laruellef","html_url":"https://github.com/laruellef","followers_url":"https://api.github.com/users/laruellef/followers","following_url":"https://api.github.com/users/laruellef/following{/other_user}","gists_url":"https://api.github.com/users/laruellef/gists{/gist_id}","starred_url":"https://api.github.com/users/laruellef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laruellef/subscriptions","organizations_url":"https://api.github.com/users/laruellef/orgs","repos_url":"https://api.github.com/users/laruellef/repos","events_url":"https://api.github.com/users/laruellef/events{/privacy}","received_events_url":"https://api.github.com/users/laruellef/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T05:11:03Z","updated_at":"2015-03-08T05:11:03Z","body":"Hi,\n\nI&#39;d like to add you to my professional network on LinkedIn.\n\n- Frederic\n\nAccept: http://www.linkedin.com/blink?simpleRedirect=0OdjkVdPwRd3kNdzsOc38Me3ARfkh9rCZFt65QqnpKqiphumJRmz93czRVpkJApn9xq7cCt7dBtmtvpnhFtCVFfmJB9C5QoORBt6BSrCAJt7dBtmsJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9DAObmBRumlWuzpFbmVDuDlMujRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5980202776326598657_500&markAsRead=\n\n\nYou received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: http://www.linkedin.com/blink?simpleRedirect=uj8JqnlVpnFWdCAJrCtWtn1VfmhFpip5dzthd6ENq5Fyu6dpgRZ2q3t4nPlRjCtUsk93smlKk4JUdn8UgQFor59CsC92gmNoqAZTkQBQrPtEj75Fd6BquDwPoj5Drz4VbmVqhQd4mC5jukZkhSFatQ5mkkxVj5popBtGs3oNe4JDiz9QbmlxsR1kc5dEjjlThABKr4NVh4ppiBx1sRYRekpfsmBUujdSlk51gntIoAFgiPt4gPhHhR51fmhFrSMCt7dBtmtvpnhFtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9DAObmBRumlWuzpFbmVDuDlMujRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&amp;msgID=I5980202776326598657_500&amp;markAsRead= Learn why we included this at the following link: http://www.linkedin.com/blink?simpleRedirect=e3wTd3RAimlIoSBQsC4Ct7dBtmtvpnhFtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9DAObmBRumlWuzpFbmVDuDlMujRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5980202776326598657_500&markAsRead=\n&copy; 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA"}}