Skip to content

ERROR #9323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Dec 19, 2020 · 1 comment
Closed

ERROR #9323

ghost opened this issue Dec 19, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 19, 2020

Environment

  • pip version: 20.3.3
  • Python version: 3.8.6 Anaconda3
  • OS: Windows 10 20H2

Description
I can't use pip to install any packages or search for them.

How to Reproduce

pip search pyside6

Output
During handling of the above exception, another exception occurred:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /pypi
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /pypi
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /pypi
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /pypi
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /pypi
ERROR: Exception:
Traceback (most recent call last):
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 696, in urlopen
    self._prepare_proxy(conn)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 964, in _prepare_proxy
    conn.connect()
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connection.py", line 359, in connect
    conn = self._connect_tls_proxy(hostname, conn)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connection.py", line 496, in _connect_tls_proxy
    return ssl_wrap_socket(
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py", line 432, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py", line 474, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock)
  File "D:\Programs\Anaconda3\lib\ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "D:\Programs\Anaconda3\lib\ssl.py", line 1040, in _create
    self.do_handshake()
  File "D:\Programs\Anaconda3\lib\ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1124)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 783, in urlopen
    return self.urlopen(
  [Previous line repeated 2 more times]
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\urllib3\util\retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
pip._vendor.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /pypi (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_internal\cli\base_command.py", line 224, in _main
    status = self.run(options, args)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_internal\commands\search.py", line 62, in run
    pypi_hits = self.search(query, options)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_internal\commands\search.py", line 82, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "D:\Programs\Anaconda3\lib\xmlrpc\client.py", line 1109, in __call__
    return self.__send(self.__name, args)
  File "D:\Programs\Anaconda3\lib\xmlrpc\client.py", line 1450, in __request
    response = self.__transport.request(
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_internal\network\xmlrpc.py", line 42, in request
    response = self._session.post(url, data=request_body,
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_internal\network\session.py", line 428, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 53, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "D:\Programs\Anaconda3\lib\site-packages\pip\_vendor\requests\adapters.py", line 514, in send
    raise SSLError(e, request=request)
pip._vendor.requests.exceptions.SSLError: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /pypi (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)')))

@pradyunsg
Copy link
Member

Similar vein as #9324. Closing since the underlying cause is likely the same.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant