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

Installing on Windows results in error [BUG] #55

Closed
nickbe opened this issue Mar 22, 2021 · 7 comments
Closed

Installing on Windows results in error [BUG] #55

nickbe opened this issue Mar 22, 2021 · 7 comments
Labels
Need Help! Ask a question

Comments

@nickbe
Copy link

nickbe commented Mar 22, 2021

The only thing I get when trying to build in windows is a timeout:

go: github.com/andybalholm/brotli@v1.0.0: Get "https://proxy.golang.org/github.com/andybalholm/brotli/@v/v1.0.0.mod": dial tcp 172.217.16.145:443: i/o timeout

@nickbe nickbe added the bug Something isn't working label Mar 22, 2021
@tobychui
Copy link
Owner

Hi! Your issue is not related to ArozOS. This message is generated by the go compiler and it seems like there is an network error occurred when the compiler try to download one of the dependencies.
Please make sure your device have internet access and try again later.

@tobychui tobychui added Need Help! Ask a question and removed bug Something isn't working labels Mar 22, 2021
@nickbe
Copy link
Author

nickbe commented Mar 22, 2021

Ah well I know what it is of course.... but this is a developers network with many PC and guys all working exclusively online. So there's no connection problem I'm afraid.

Besides. I did a git clone right before that. Which of course only works with a standing connection 😬

@tobychui
Copy link
Owner

tobychui commented Mar 22, 2021

Oh I see, then it might be the problem of the dependencies.
Maybe you can try rebuilding the go module list by deleting the go.mod file and enter the following commands line / terminal at the arozos repo's root folder

go mod init "imuslab.com/arozos"
go mod tidy

This should rebuild the go mod list using go's native module manager. Next, you can try continue the building process with

go build

and see if that error appear again.

@tobychui
Copy link
Owner

Hi @nickbe, any updates on your issue?

@nickbe
Copy link
Author

nickbe commented Mar 25, 2021

Same thing after go mod init and tidy I'm afraid...

@tobychui
Copy link
Owner

Hi @nickbe , I have done a bit research for you and seems the only explanation is that there are some network issue occurred during the go compiler try to connect to the Github server. I have asked a few different developers to test out the build process and seems all of them didn't encounter your issue mentioned above.

By referencing the post from here and here, you can try to change the Go proxy parameter using the following commands:

go env -w GOPROXY=https://goproxy.cn,direct

or this

export GOPROXY=https://goproxy.io

If this still doesn't work, try another network connection / use your phone's access point when downloading this mod.

@nickbe
Copy link
Author

nickbe commented Mar 28, 2021

Thanks Toby. This in fact worked and the .exe was actually created instantly.
Finally starting to test :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Help! Ask a question
Projects
None yet
Development

No branches or pull requests

2 participants