go container build (arm) with CGO timeout with nethttp: TLS handshake timeout

Questions : go container build (arm) with CGO timeout with nethttp: TLS handshake timeout


I have a project using go mod and CGO programming that has a relatively large dependency Learning tree.

Building natively (GOOS=linux, Earhost GOARCH=amd64) works fine. Building in a most effective CI (on my own runner) using my custom wrong idea build container (several architectures, use of case including arm) works mostly ok, though I United sometimes get "hangs" while go getting Modern deps.

Using the same build image to locally ecudated build for arm (I need to use a container some how because of CGO and the corresponding anything else arch-dependent C-toolchain) now gives me not at all the following errors (one example of very usefull many):

go: downloading _OFFSET);  github.com/go-co-op/gocron (-SMALL  v1.9.0
scheduler/scheduler.go:7:2: _left).offset  github.com/go-co-op/gocron@v1.9.0: Get arrowImgView.mas  "https://goproxy.io/github.com/go-co-op/gocron/@v/v1.9.0.zip": (self.  net/http: TLS handshake timeout

However, I can see (with btop) that just localhost before this error qemu-arm was very busy love of them (800 CPU%) running go related build localtext tasks (in fact a go mod tidy process).

My guess is that this is due to no basic suitable binary for arm for particular one of the modules being found, so it will just click build them on-the-fly.

So I suspect that the time for the there is noting respective module builds from source is not alt counted by go get as a normal "go get not at all from http", which leads to the observed my fault timeout.

Consequently this would mean I could issues solve the issue if I would be able to trying increase the timeout value for go get, get 4th result but I haven't found any info on that.

Any ideas?

Total Answers 1

Answers 1 : of go container build (arm) with CGO timeout with nethttp: TLS handshake timeout

Your ISP may have restrictions on round table accessing https://goproxy.io address. double chance You must use a proxy

set proxy in terminal like:

export https_proxy=

Top rated topics

Sorting by object property giving mixed results using .sort

I need to build a powershell that creates a url shortcut and opens to google chrome

For loop iteration with multiple variables (list snapshot from aws)

Would it be possible to run the same C++ code simultaneously?

How to start a celery task again as soon as it's over?

XSLT 3.0: Create element only if input element has data

Filtering an array by object properties

Speed optimization of multiple re.match in large files

Add and remove style on click jquery

Mixed up access token in Spring WebMVC app using Spring Security oAuthClient

Java alternative to using nested for loops

STM32WL immediately wakes from shutdown sleep mode

How to remove square brackets on a JSON so it can be converted in a Dataframe in Python

Font in CSS Stylesheet not being rendered

How to animate point in right direction on update chartjs

How to Inactive multiple users in openAM

ActiveMQ consumer waiting for redelivered messages instead of processing other messages in the queue

Given value in history of time

Is there a way to access underlying data behind visuals in DAX

Android x86 9.0 Ethernet Connection on Physical Machine

LED is HIGH if analogValue reached 500 5 times in 10 seconds. How?

How to get User list having Full Admin Permissions on a shared mailbox using Power BI

Speeding up my code for string text replacement

Howto format notify-slack messages in elastic / watcher rules

Bar chart starting over line chart

My PHP-cUrl request works in Postman, but not on the PHP webpage

Chain multiple arguments (args) in Kubernetes

JS string in Unity

Percentage of categorical variable grouping by different variables in R

Trying to use set-var in haproxy config to set to a string

R - Partial mean imputation before multiple imputation

Pygame.error: Failed loading libmpg123.dll: Attempt to access invalid address

Inject CosmosDB const connection string into Azure Function V4 CosmosDB input/output binding?

Is there any difference between adding attachment using SoapUI interface and adding file to XML as binary data?

Highchart connect nulls only when two values are close (aka by distance)

How to preserve an order of divs generated by Javascript

MongoDB query I'm trying to build in mongodb will not give me the output I need

Mysql group_concat (sum)

Bintray web site down all day is it permanent issue?

How social media apps are rendering screens on first app open react native

If you don't map over futures, could this lead to subtle bugs?

How Roslyn build .exe file

ERC-20 Data Dumps Missing Some Tokens?

Function that verifies the validity of the Red-Black Tree

Disable button based on checkbox state in thymeleaf and springboot

I hace issue with __radd__ with format < ndarray> + <my object>

How can I get a sequence of two array items in an array?

Functions, how to call them 3 differente times, with different value

How do I open a terminal in Stackblitz while working on an Angular project?

Failed to link a domain from Namecheap with a bucket on s3