[GH-ISSUE #458] Windows CI is failing #356

Closed
opened 2026-05-05 06:07:00 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @AdrianKoshka on GitHub (Oct 9, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/458

@nelsonjchen It seems when the python script for installing QT runs, it fails with a connection timeout error.

Starting QT Installer
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\util\connection.py", line 80, in create_connection
    raise err
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\util\connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1026, in _send_output
    self.send(msg)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 966, in send
    self.connect()
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connection.py", line 181, in connect
    conn = self._new_conn()
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000022D867F6708>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\util\retry.py", line 399, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='mirrors.ocf.berkeley.edu', port=80): Max retries exceeded with url: /qt/online/qtsdkrepository/windows_x86/desktop/qt5_5130/Updates.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000022D867F6708>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".\deps\qli-installer\qli-installer.py", line 82, in <module>
    reply = requests.get(update_xml_url)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='mirrors.ocf.berkeley.edu', port=80): Max retries exceeded with url: /qt/online/qtsdkrepository/windows_x86/desktop/qt5_5130/Updates.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000022D867F6708>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Installed QT Installer


##[error]PowerShell exited with code '1'.
Originally created by @AdrianKoshka on GitHub (Oct 9, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/458 @nelsonjchen It seems when the python script for installing QT runs, it fails with a connection timeout error. ``` Starting QT Installer Traceback (most recent call last): File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\util\connection.py", line 80, in create_connection raise err File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\util\connection.py", line 70, in create_connection sock.connect(sa) TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen chunked=chunked) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 1026, in _send_output self.send(msg) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\http\client.py", line 966, in send self.connect() File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connection.py", line 181, in connect conn = self._new_conn() File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000022D867F6708>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\urllib3\util\retry.py", line 399, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='mirrors.ocf.berkeley.edu', port=80): Max retries exceeded with url: /qt/online/qtsdkrepository/windows_x86/desktop/qt5_5130/Updates.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000022D867F6708>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File ".\deps\qli-installer\qli-installer.py", line 82, in <module> reply = requests.get(update_xml_url) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\api.py", line 75, in get return request('get', url, params=params, **kwargs) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "C:\hostedtoolcache\windows\Python\3.7.4\x64\lib\site-packages\requests\adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='mirrors.ocf.berkeley.edu', port=80): Max retries exceeded with url: /qt/online/qtsdkrepository/windows_x86/desktop/qt5_5130/Updates.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000022D867F6708>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond')) Installed QT Installer ##[error]PowerShell exited with code '1'. ```
gitea-mirror 2026-05-05 06:07:00 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@nelsonjchen commented on GitHub (Oct 14, 2019):

Newer PR as currently building. This looks like a CI hiccup.

Though, if a fix is to be made, I don't know if moving to aqtinstall might resolve this issue and does anything about this or has retry logic to use.

<!-- gh-comment-id:541476138 --> @nelsonjchen commented on GitHub (Oct 14, 2019): Newer PR as currently building. This looks like a CI hiccup. Though, if a fix is to be made, I don't know if moving to [aqtinstall](https://github.com/miurahr/aqtinstall) might resolve this issue and does anything about this or has retry logic to use.
Author
Owner

@AdrianKoshka commented on GitHub (Oct 14, 2019):

I noticed that it started working also, If you want, I can close this issue.

<!-- gh-comment-id:541479336 --> @AdrianKoshka commented on GitHub (Oct 14, 2019): I noticed that it started working also, If you want, I can close this issue.
Author
Owner

@nelsonjchen commented on GitHub (Oct 14, 2019):

Let's close it for now.

<!-- gh-comment-id:541479949 --> @nelsonjchen commented on GitHub (Oct 14, 2019): Let's close it for now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#356
No description provided.