Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

https fech package at go.opencensus.io times out with wrong import format #953

Closed
adiack opened this issue Oct 22, 2018 · 5 comments
Closed

Comments

@adiack
Copy link

adiack commented Oct 22, 2018

Describe the bug
not able to fetch packages via 'go get -u'
Mac OS 10.13.6

To Reproduce
Steps to reproduce the behavior:

go get -u go.opencensus.io
package go.opencensus.io: unrecognized import path "go.opencensus.io" (https fetch: Get https://go.opencensus.io?go-get=1: dial tcp 216.239.32.21:443: i/o timeout)

Expected behavior
Package installed.

Additional context
similar to issue grpc/grpc-go#1959

Workaround was for me to get whole repository.
git clone https://github.com/census-instrumentation/opencensus-go
then rename src/opencensus-go to src/go.opencensus.io

Am sure there is a better way to this though?

@semistrict
Copy link
Contributor

Seems to be working now, perhaps this was a temporary network issue or issue AppEngine. Hopefully we will be able to improve this experience in time through the use of caching with the new Go module system.

@kochurovro
Copy link

kochurovro commented Mar 15, 2019

Hi @Ramonza Can u check this problem again? I have it

go: [email protected]: unrecognized import path "go.opencensus.io" (https fetch: Get https://go.opencensus.io?go-get=1: dial tcp 216.239.32.21:443: i/o timeout)

@athul20
Copy link

athul20 commented May 16, 2019

Hi,
I wanted to install cloudprober. So I installed go and tried installing cloudprober, it showed cannot find package "go.opencensus.io/plugin/ocgrpc", then I tried installing opencensus using go get -u go.opencensus.io its showing package go.opencensus.io: unrecognized import path "go.opencensus.io" (https fetch: Get https://go.opencensus.io?go-get=1: dial tcp: lookup go.opencensus.io on 10.228.0.2:53: no such host).

Can someone tell me how to solve the issue?

@ShahNewazKhan
Copy link

+1

1 similar comment
@dg-jwmera
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants