{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/3935","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/3935/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/3935/comments","events_url":"https://api.github.com/repos/conda/conda/issues/3935/events","html_url":"https://github.com/conda/conda/issues/3935","id":191075495,"number":3935,"title":"Fetching package metadata ...An unexpected error has occurred.","user":{"login":"lentesta","id":180451,"avatar_url":"https://avatars.githubusercontent.com/u/180451?v=3","gravatar_id":"","url":"https://api.github.com/users/lentesta","html_url":"https://github.com/lentesta","followers_url":"https://api.github.com/users/lentesta/followers","following_url":"https://api.github.com/users/lentesta/following{/other_user}","gists_url":"https://api.github.com/users/lentesta/gists{/gist_id}","starred_url":"https://api.github.com/users/lentesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lentesta/subscriptions","organizations_url":"https://api.github.com/users/lentesta/orgs","repos_url":"https://api.github.com/users/lentesta/repos","events_url":"https://api.github.com/users/lentesta/events{/privacy}","received_events_url":"https://api.github.com/users/lentesta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T17:39:13Z","updated_at":"2016-11-22T21:28:31Z","closed_at":null,"body":"Fetching package metadata ...An unexpected error has occurred.\r\nPlease consider posting the following information to the\r\nconda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda/issues\r\n\r\n\r\n\r\nCurrent conda install:\r\n\r\n               platform : linux-64\r\n          conda version : 4.2.12\r\n       conda is private : False\r\n      conda-env version : 4.2.12\r\n    conda-build version : 1.19.0\r\n         python version : 3.5.2.final.0\r\n       requests version : 2.12.0\r\n       root environment : /home/len/anaconda3  (writable)\r\n    default environment : /home/len/anaconda3\r\n       envs directories : /home/len/anaconda3/envs\r\n          package cache : /home/len/anaconda3/pkgs\r\n           channel URLs : https://repo.continuum.io/pkgs/free/linux-64\r\n                          https://repo.continuum.io/pkgs/free/noarch\r\n                          https://repo.continuum.io/pkgs/pro/linux-64\r\n                          https://repo.continuum.io/pkgs/pro/noarch\r\n            config file : None\r\n           offline mode : False\r\n\r\n\r\n\r\n`$ /home/len/anaconda3/bin/conda install mkl mkl-service`\r\n\r\n\r\n\r\n\r\n    Traceback (most recent call last):\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/exceptions.py\", line 479, in conda_exception_handler\r\n        return_value = func(*args, **kwargs)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/cli/main.py\", line 145, in _main\r\n        exit_code = args.func(args, p)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/cli/main_install.py\", line 80, in execute\r\n        install(args, parser, 'install')\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/cli/install.py\", line 238, in install\r\n        prefix=prefix)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/api.py\", line 24, in get_index\r\n        index = fetch_index(channel_urls, use_cache=use_cache, unknown=unknown)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/fetch.py\", line 310, in fetch_index\r\n        repodatas = [(u, f.result()) for u, f in zip(urls, futures)]\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/fetch.py\", line 310, in <listcomp>\r\n        repodatas = [(u, f.result()) for u, f in zip(urls, futures)]\r\n      File \"/home/len/anaconda3/lib/python3.5/concurrent/futures/_base.py\", line 405, in result\r\n        return self.__get_result()\r\n      File \"/home/len/anaconda3/lib/python3.5/concurrent/futures/_base.py\", line 357, in __get_result\r\n        raise self._exception\r\n      File \"/home/len/anaconda3/lib/python3.5/concurrent/futures/thread.py\", line 55, in run\r\n        result = self.fn(*self.args, **self.kwargs)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/fetch.py\", line 74, in func\r\n        res = f(*args, **kwargs)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/conda/fetch.py\", line 116, in fetch_repodata\r\n        timeout=(3.05, 60))\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/sessions.py\", line 501, in get\r\n        return self.request('GET', url, **kwargs)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/sessions.py\", line 488, in request\r\n        resp = self.send(prep, **send_kwargs)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/sessions.py\", line 609, in send\r\n        r = adapter.send(request, **kwargs)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/adapters.py\", line 423, in send\r\n        timeout=timeout\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py\", line 594, in urlopen\r\n        chunked=chunked)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py\", line 350, in _make_request\r\n        self._validate_conn(conn)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py\", line 835, in _validate_conn\r\n        conn.connect()\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/connection.py\", line 330, in connect\r\n        cert = self.sock.getpeercert()\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/contrib/pyopenssl.py\", line 324, in getpeercert\r\n        'subjectAltName': get_subj_alt_name(x509)\r\n      File \"/home/len/anaconda3/lib/python3.5/site-packages/requests/packages/urllib3/contrib/pyopenssl.py\", line 171, in get_subj_alt_name\r\n        ext = cert.extensions.get_extension_for_class(\r\n    AttributeError: 'Extensions' object has no attribute 'get_extension_for_class'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/262370996","html_url":"https://github.com/conda/conda/issues/3935#issuecomment-262370996","issue_url":"https://api.github.com/repos/conda/conda/issues/3935","id":262370996,"user":{"login":"azotova","id":4678454,"avatar_url":"https://avatars.githubusercontent.com/u/4678454?v=3","gravatar_id":"","url":"https://api.github.com/users/azotova","html_url":"https://github.com/azotova","followers_url":"https://api.github.com/users/azotova/followers","following_url":"https://api.github.com/users/azotova/following{/other_user}","gists_url":"https://api.github.com/users/azotova/gists{/gist_id}","starred_url":"https://api.github.com/users/azotova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azotova/subscriptions","organizations_url":"https://api.github.com/users/azotova/orgs","repos_url":"https://api.github.com/users/azotova/repos","events_url":"https://api.github.com/users/azotova/events{/privacy}","received_events_url":"https://api.github.com/users/azotova/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T21:28:31Z","updated_at":"2016-11-22T21:28:31Z","body":"I have a similar issue.  I tried to run `conda update anaconda` and `conda search python`.\r\n\r\nIn both cases I got the following errors: \r\n\r\n```\r\nCurrent conda install:\r\n\r\n               platform : osx-64\r\n          conda version : 4.2.13\r\n       conda is private : False\r\n      conda-env version : 4.2.13\r\n    conda-build version : 1.18.2\r\n         python version : 2.7.12.final.0\r\n       requests version : 2.12.1\r\n       root environment : //anaconda  (writable)\r\n    default environment : //anaconda\r\n       envs directories : //anaconda/envs\r\n          package cache : //anaconda/pkgs\r\n           channel URLs : https://repo.continuum.io/pkgs/free/osx-64\r\n                          https://repo.continuum.io/pkgs/free/noarch\r\n                          https://repo.continuum.io/pkgs/pro/osx-64\r\n                          https://repo.continuum.io/pkgs/pro/noarch\r\n            config file : None\r\n           offline mode : False\r\n\r\nTraceback (most recent call last):\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/exceptions.py\", line 479, in conda_exception_handler\r\n        return_value = func(*args, **kwargs)\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/cli/main.py\", line 145, in _main\r\n        exit_code = args.func(args, p)\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/cli/main_search.py\", line 126, in execute\r\n        execute_search(args, parser)\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/cli/main_search.py\", line 174, in execute_search\r\n        unknown=args.unknown)\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/api.py\", line 24, in get_index\r\n        index = fetch_index(channel_urls, use_cache=use_cache, unknown=unknown)\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/fetch.py\", line 295, in fetch_index\r\n        for url in urls]\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/fetch.py\", line 75, in func\r\n        res = f(*args, **kwargs)\r\n      File \"//anaconda/lib/python2.7/site-packages/conda/fetch.py\", line 117, in fetch_repodata\r\n        timeout=(6.1, 60))\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/sessions.py\", line 501, in get\r\n        return self.request('GET', url, **kwargs)\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/sessions.py\", line 488, in request\r\n        resp = self.send(prep, **send_kwargs)\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/sessions.py\", line 609, in send\r\n        r = adapter.send(request, **kwargs)\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/adapters.py\", line 423, in send\r\n        timeout=timeout\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py\", line 594, in urlopen\r\n        chunked=chunked)\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py\", line 350, in _make_request\r\n        self._validate_conn(conn)\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py\", line 835, in _validate_conn\r\n        conn.connect()\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/packages/urllib3/connection.py\", line 330, in connect\r\n        cert = self.sock.getpeercert()\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py\", line 324, in getpeercert\r\n        'subjectAltName': get_subj_alt_name(x509)\r\n      File \"//anaconda/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py\", line 171, in get_subj_alt_name\r\n        ext = cert.extensions.get_extension_for_class(\r\n    AttributeError: 'Extensions' object has no attribute 'get_extension_for_class'\r\n```"}}
{"actor":{"display_login":"azotova"}}