build

Hello, I’ve been trying to run ‘$ gradlew buildNative’ command at root dir of project. some error msgs show next.

**go: github.com/AudriusButkevicius/pfilter@v0.0.0-20190627213056-c55ef6137fc6: Get "https://proxy.golang.org/github.com/%21audrius%21butkevicius/pfilter/@v/v0.0.0-20190627213056-c55ef61**
**37fc6.mod": net/http: TLS handshake timeout**
**Traceback (most recent call last):**
**  File "./build-syncthing.py", line 124, in <module>**
**    subprocess.check_call([**
**  File "D:\software\python\location\lib\subprocess.py", line 364, in check_call**
**    raise CalledProcessError(retcode, cmd)**
**subprocess.CalledProcessError: Command '['go', 'run', 'build.go', '-goos', 'android', '-goarch', 'arm', '-cc', 'D:\\workspacce\\androidworkspace\\syncthing-android\\syncthing\\gobuild/**
**standalone-ndk/android-16-arm\\bin\\arm-linux-androideabi-clang', '-pkgdir', 'D:\\workspacce\\androidworkspace\\syncthing-android\\syncthing\\gobuild\\go-packages\\arm', '-no-upgrade',**
** 'build']' returned non-zero exit status 1.**

What can i do next?Any ideas? Thanks. :neutral_face:

Hi,

maybe Antivirus intercepts https? Or a firewall?

Thank you for your reply. The project still builded failed after i turned off Antivirus and firewall. :sweat: Some kind of resources get from a website during build, but have no response. Is this the cause of the build failure? :neutral_face:(my network can google…)

go: github.com/AudriusButkevicius/pfilter@v0.0.0-20190627213056-c55ef6137fc6: Get "https://proxy.golang.org/github.com/%21audrius%21butkevicius/p
filter/@v/v0.0.0-20190627213056-c55ef6137fc6.mod": dial tcp 216.58.197.113:443: connectex: A connection attempt failed because the connected part
y did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

The url for the dependency looks wrong. Instead of having capital letters it has html escape codes.

I remember seeing that same thing once a thousand years ago. I don’t remember the root cause.

I have the same problem :dizzy_face:

The escapes are apparently an expected part of the proxy protocol. So the issue here is just that you can’t access proxy.golang.org which is a network (or censoring) issue you need to work out on your side.

It can be accessed.

Apparently not, from the error.

There is no error, all the 4 packages are received. And I can visit proxy.golang.org.