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
github ConnectTimeoutError #7044
Labels
Comments
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which Operating System are you using?
Windows
Which version of AutoGPT are you using?
Stable (branch)
Do you use OpenAI GPT-3 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
I ran into a github timeout when executing the autogpt.bat script.
Looks like I can't connect to github. I turned on the clash Global vpn and made sure my browser could access github, but the problem still occurred
Upload Activity Log Content
autogpt.bat
Upload Error Log Content
Package operations: 1 install, 0 updates, 0 removals
TimeoutError
[WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\urllib3\util\connection.py:73 in create_connection
69│ if timeout is not _DEFAULT_TIMEOUT:
70│ sock.settimeout(timeout)
71│ if source_address:
72│ sock.bind(source_address)
→ 73│ sock.connect(sa)
74│ # Break explicitly a reference cycle
75│ err = None
76│ return sock
77│
The following error occurred when trying to handle this error:
ConnectTimeoutError
(<urllib3.connection.HTTPSConnection object at 0x000001F743D8E350>, 'Connection to github.com timed out. (connect timeout=None)')
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\urllib3\connection.py:207 in _new_conn
203│ )
204│ except socket.gaierror as e:
205│ raise NameResolutionError(self.host, self, e) from e
206│ except SocketTimeout as e:
→ 207│ raise ConnectTimeoutError(
208│ self,
209│ f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
210│ ) from e
211│
The following error occurred when trying to handle this error:
MaxRetryError
HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /Significant-Gravitas/AutoGPT.git/info/refs?service=git-upload-pack (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001F743D8E350>, 'Connection to github.com timed out. (connect timeout=None)'))
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\urllib3\util\retry.py:515 in increment
511│ )
512│
513│ if new_retry.is_exhausted():
514│ reason = error or ResponseError(cause)
→ 515│ raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
516│
517│ log.debug("Incremented Retry for (url='%s'): %r", url, new_retry)
518│
519│ return new_retry
The following error occurred when trying to handle this error:
GitProtocolError
HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /Significant-Gravitas/AutoGPT.git/info/refs?service=git-upload-pack (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001F743D8E350>, 'Connection to github.com timed out. (connect timeout=None)'))
at ~\AppData\Roaming\pypoetry\venv\Lib\site-packages\dulwich\client.py:2287 in _http_request
2283│ resp = self.pool_manager.request(
2284│ "POST", url, headers=req_headers, body=data, preload_content=False
2285│ )
2286│ except urllib3.exceptions.HTTPError as e:
→ 2287│ raise GitProtocolError(str(e)) from e
2288│
2289│ if resp.status == 404:
2290│ raise NotGitRepository
2291│ if resp.status == 401:
Cannot install autogpt-forge.
The text was updated successfully, but these errors were encountered: