AutoGPT
AutoGPT copied to clipboard
github ConnectTimeoutError
⚠️ Search for existing issues first ⚠️
- [X] I have searched the existing issues, and there is no existing issue for my problem
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
- Installing autogpt-forge (0.1.0 ab05b7a): Failed
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.
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.
This issue was closed automatically because it has been stale for 10 days with no activity.