Skip to content
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

Users in China unable create project #34

Open
CC52242 opened this issue Aug 12, 2024 · 5 comments
Open

Users in China unable create project #34

CC52242 opened this issue Aug 12, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@CC52242
Copy link

CC52242 commented Aug 12, 2024

I'm a developer in China. I can get this plug-in from vscode-market. But I cannot creat project in this plug-in.

  1. On the first try, I creat project in default setting, and an error pops up, it says, "Failed to download and install SDK and/or toolchain."
  2. After this, I tried to manually specify the PATH of GIT and other software, and also tried to modify the GITHUB token. But it didn't work.
  3. Then I tried setting up the http proxy and https proxy in Windows PATH, but it still didn't work.

Note: After I click Create Project, the plug-in doesn't create anything in the project folder I specified.
I can see that the proxy forwarded the plugin access request to github. But I don't see anything in Taskmanager that looks like is downloading.

I'm sure the proxy software I'm using is working properly. It could also be something I missed when setting up the proxy, but I have no clue.
I hope someone can provide a solution, such as an alternative mirror site that can be accessed by Chinese users, or allow the SDK's PATH to be manually specified in the plugin Settings. Or maybe, bring the windows standalone setup back? (By the way, this pack work's great on my pc. )

@will-v-pi
Copy link
Collaborator

The extension will take quite a while to download and unzip everything on the first run - it will only create the project folder once everything has been downloaded.

Do you get any errors when trying to create a project using the proxy?

@CC52242
Copy link
Author

CC52242 commented Aug 13, 2024

The extension will take quite a while to download and unzip everything on the first run - it will only create the project folder once everything has been downloaded.

Do you get any errors when trying to create a project using the proxy?

From the first time I tried to download without an proxy to the time I adjusted (probably) all the adjustable Settings,
It just says "Failed to download and install SDK and/or toolchain."
It can load the project configuration interface with or without using the proxy. But it cannot go futher. Seconds after clicking the Create button, the error message popped up.

@will-v-pi
Copy link
Collaborator

I'm afraid that without being in China I don't think I'm going to be able to debug this. I've created a locations.md file in #42 which has details for manually installing all the required tools - I would suggest you give that a go, if the extension is failing to download them?

We'd also welcome any PRs from other users in China if they have any solutions

@will-v-pi will-v-pi added the help wanted Extra attention is needed label Aug 15, 2024
@cuicuixuan
Copy link

well i'm also a developer in China ,i met that problem too and annoyed me for atleast two weeks ,now i fixed that problem i mean your proxy was not configured correctly,In the case of clash verge, you need to run in tun mode, tun mode is a virtual network device that intercepts all network traffic from the operating system and redirects it to clash for proxiing, so that you can download the required toolchain normally hope that reply can help to you

@umeiko
Copy link

umeiko commented Nov 20, 2024

My problem is when installing toolchain, shown faild and then stucked. I'm also in China mainland. This is the error output logs, i hope that could helps you.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants