When running updatecbo.py, I am getting a persistent Winsock 10054 error and having the connection reset or denied by the host at CBO's website.
Updating CBO Economic Projections
Traceback (most recent call last):
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\urllib\request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\http\client.py", line 1286, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\http\client.py", line 1332, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\http\client.py", line 1281, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\http\client.py", line 1041, in _send_output
self.send(msg)
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\http\client.py", line 979, in send
self.connect()
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\http\client.py", line 1458, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\ssl.py", line 1108, in _create
self.do_handshake()
File "C:\Users\brist\anaconda3\envs\taxdata-dev\Lib\ssl.py", line 1379, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred:
...
(Truncated to remove other 10054 issues that also arise, it's all the same thing.)
When running updatecbo.py, I am getting a persistent Winsock 10054 error and having the connection reset or denied by the host at CBO's website.
Steps to reproduce:
conda install -c anaconda openpyxl.Result:
(Truncated to remove other 10054 issues that also arise, it's all the same thing.)
Potential fixes:
openpyxl, or downgrading the two libraries that that installation updatesrequestsorurllib3requests_htmlfor handling web sessions