{"action":"created","issue":{"url":"https://api.github.com/repos/omnia-md/conda-recipes/issues/122","labels_url":"https://api.github.com/repos/omnia-md/conda-recipes/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/omnia-md/conda-recipes/issues/122/comments","events_url":"https://api.github.com/repos/omnia-md/conda-recipes/issues/122/events","html_url":"https://github.com/omnia-md/conda-recipes/issues/122","id":54381556,"number":122,"title":"SSL issues when fetching packages","user":{"login":"kyleabeauchamp","id":1900459,"avatar_url":"https://avatars.githubusercontent.com/u/1900459?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleabeauchamp","html_url":"https://github.com/kyleabeauchamp","followers_url":"https://api.github.com/users/kyleabeauchamp/followers","following_url":"https://api.github.com/users/kyleabeauchamp/following{/other_user}","gists_url":"https://api.github.com/users/kyleabeauchamp/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleabeauchamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleabeauchamp/subscriptions","organizations_url":"https://api.github.com/users/kyleabeauchamp/orgs","repos_url":"https://api.github.com/users/kyleabeauchamp/repos","events_url":"https://api.github.com/users/kyleabeauchamp/events{/privacy}","received_events_url":"https://api.github.com/users/kyleabeauchamp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-01-14T21:47:51Z","updated_at":"2015-02-24T01:02:49Z","closed_at":null,"body":"Seems to happen only on jenkins when attempting to fetch packages from the omnia binstar.  Happens for both ambermini and openmm.  For example:\r\n\r\n```\r\nError: Connection error: EOF occurred in violation of protocol (_ssl.c:581): http://conda.binstar.org/omnia/linux-64/openmm-6.2-py33_1.tar.bz2\r\n```"},"comment":{"url":"https://api.github.com/repos/omnia-md/conda-recipes/issues/comments/75678591","html_url":"https://github.com/omnia-md/conda-recipes/issues/122#issuecomment-75678591","issue_url":"https://api.github.com/repos/omnia-md/conda-recipes/issues/122","id":75678591,"user":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T01:02:49Z","updated_at":"2015-02-24T01:02:49Z","body":"Yeah, it's the requests version. Updated my version on my laptop and boom.\r\n\r\n\r\n```\r\nrmcgibbo@MacBook-Pro  ~ (3.4.2)\r\n$ conda install requests\r\nFetching package metadata: ......\r\nSolving package specifications: .\r\nPackage plan for installation in environment /Users/rmcgibbo/miniconda/envs/3.4.2:\r\n\r\nThe following packages will be downloaded:\r\n\r\n    package                    |            build\r\n    ---------------------------|-----------------\r\n    requests-2.5.2             |           py34_0         627 KB\r\n\r\nThe following packages will be UPDATED:\r\n\r\n    requests: 2.5.0-py34_0 --> 2.5.2-py34_0\r\n\r\nProceed ([y]/n)? y\r\n\r\nFetching packages ...\r\nrequests-2.5.2 100% |##############################################################################################################| Time: 0:00:00 957.07 kB/s\r\nExtracting packages ...\r\n[      COMPLETE      ] |################################################################################################################################| 100%\r\nUnlinking packages ...\r\n[      COMPLETE      ] |################################################################################################################################| 100%\r\nLinking packages ...\r\n[      COMPLETE      ] |################################################################################################################################| 100%\r\nrmcgibbo@MacBook-Pro  ~ (3.4.2)\r\n$ python -c 'import requests; print(requests.__version__)'\r\n2.5.2\r\nrmcgibbo@MacBook-Pro  ~ (3.4.2)\r\n$ python -c 'import requests; print(requests.get(\"http://conda.binstar.org/omnia/linux-64/fftw3f-3.3.3-1.tar.bz2\"))'\r\nTraceback (most recent call last):\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py\", line 544, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py\", line 341, in _make_request\r\n    self._validate_conn(conn)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py\", line 762, in _validate_conn\r\n    conn.connect()\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connection.py\", line 238, in connect\r\n    ssl_version=resolved_ssl_version)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/util/ssl_.py\", line 256, in ssl_wrap_socket\r\n    return context.wrap_socket(sock, server_hostname=server_hostname)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/ssl.py\", line 364, in wrap_socket\r\n    _context=self)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/ssl.py\", line 578, in __init__\r\n    self.do_handshake()\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/ssl.py\", line 805, in do_handshake\r\n    self._sslobj.do_handshake()\r\nssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/adapters.py\", line 370, in send\r\n    timeout=timeout\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py\", line 574, in urlopen\r\n    raise SSLError(e)\r\nrequests.packages.urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/api.py\", line 65, in get\r\n    return request('get', url, **kwargs)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/api.py\", line 49, in request\r\n    response = session.request(method=method, url=url, **kwargs)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 461, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 599, in send\r\n    history = [resp for resp in gen] if allow_redirects else []\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 599, in <listcomp>\r\n    history = [resp for resp in gen] if allow_redirects else []\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 192, in resolve_redirects\r\n    allow_redirects=False,\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/Users/rmcgibbo/miniconda/envs/3.4.2/lib/python3.4/site-packages/requests/adapters.py\", line 431, in send\r\n    raise SSLError(e, request=request)\r\nrequests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)\r\n```"}}