Cannot connect to github.com port 443 during "rye fetch" #352
-
PS E:\github> rye fetch 3.11.3
Downloading cpython@3.11.3
error: error while fetching python installation
Caused by:
0: download of https://github.com/indygreg/python-build-standalone/releases/download/20230507/cpython-3.11.3%2B20230507-x86_64-pc-windows-msvc-shared-pgo-full.tar.zst failed
1: [28] Timeout was reached (Failed to connect to github.com port 443 after 21040 ms: Couldn't connect to server) However, I can access the above link directly in the browser, and the zst file can be downloaded to my PC. I am in China, but a proxy has been configured locally. It is normal to perform git operations like cloning a repository. PS E:\github> git config --global --get https.proxy
127.0.0.1:4780
PS E:\github> git config --global --get http.proxy
127.0.0.1:4780
PS E:\github> git clone https://github.com/mitsuhiko/rye
Cloning into 'rye'...
remote: Enumerating objects: 2216, done.
remote: Counting objects: 100% (910/910), done.
remote: Compressing objects: 100% (222/222), done.
remote: Total 2216 (delta 758), reused 736 (delta 671), pack-reused 1306
Receiving objects: 100% (2216/2216), 2.33 MiB | 417.00 KiB/s, done.
Resolving deltas: 100% (1578/1578), done. It seems that rye does not utilize the proxy internally when fetching the toolchain. I have tried "rye fetch" multiple times but got no success. Any suggestion? |
Beta Was this translation helpful? Give feedback.
Answered by
CharlesChen0823
Jun 29, 2023
Replies: 1 comment 1 reply
-
you can set proxy in ~/.rye/config.toml,then try. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ShuhuaGao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can set proxy in ~/.rye/config.toml,then try.