alvarowolfx / gcloud-lora-ttn

Integration between Google Cloud and The Things Network
25 stars 6 forks source link

Cloud Run Fails #13

Open nemccarthy opened 3 years ago

nemccarthy commented 3 years ago

Running the cloud run fails with the following connection errors

Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -v -o ttn-gcp-lora cmd/main.go
 ---> Running in c1ad9156f2e4
Fetching https://google.golang.org/api?go-get=1
Fetching https://firebase.google.com/go?go-get=1
Fetching https://cloud.google.com/go?go-get=1
Fetching https://golang.org/x/oauth2?go-get=1
https fetch failed: Get https://google.golang.org/api?go-get=1: dial tcp [2404:6800:4003:c01::8d]:443: connect: cannot assign requested address
go: google.golang.org/api@v0.3.2: unrecognized import path "google.golang.org/api" (https fetch: Get https://google.golang.org/api?go-get=1: dial tcp [2404:6800:4003:c01::8d]:443: connect: cannot assign requested address)
https fetch failed: Get https://firebase.google.com/go?go-get=1: dial tcp [2404:6800:4003:c03::8b]:443: connect: cannot assign requested address
go: firebase.google.com/go@v3.7.0+incompatible: unrecognized import path "firebase.google.com/go" (https fetch: Get https://firebase.google.com/go?go-get=1: dial tcp [2404:6800:4003:c03::8b]:443: connect: cannot assign requested address)
go: finding github.com/smartystreets/assertions v0.0.0-20190401211740-f487f9de1cd3
go: finding github.com/TheThingsNetwork/go-cayenne-lib v1.0.0
Parsing meta tags from https://golang.org/x/oauth2?go-get=1 (status code 200)
get "golang.org/x/oauth2": found meta tag get.metaImport{Prefix:"golang.org/x/oauth2", VCS:"git", RepoRoot:"https://go.googlesource.com/oauth2"} at https://golang.org/x/oauth2?go-get=1
go: finding golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
Parsing meta tags from https://cloud.google.com/go?go-get=1 (status code 200)
get "cloud.google.com/go": found meta tag get.metaImport{Prefix:"cloud.google.com/go", VCS:"git", RepoRoot:"https://github.com/googleapis/google-cloud-go"} at https://cloud.google.com/go?go-get=1
go: finding cloud.google.com/go v0.37.4
go: error loading module requirements
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -v -o ttn-gcp-lora cmd/main.go' returned a non-zero code: 1
tomascharad commented 3 years ago

+1

tomascharad commented 3 years ago

Hi @alvarowolfx !!! Could you help us with this?