Closed gottwald closed 6 years ago
OpenCensus is not using the same server cloud.google.com uses for vanity import path support.
We are hosting our server as an AppEngine app, do you have any consistent issues with AppEngine IP ranges?
We should probably switch to manual scaling if we are not already doing so. Automatic scaling drops the connections if the number of pending requests are above a certain limit.
Not that I know of.
Tested all our own app engine apps successfully but they're all hosted in the EU.
Googled for further *.appspot.com
domains and tested everything I could find on the first 10 Google search pages. All work on the first try, no connection resets.
Did you already change the scaling? Because currently I cannot reproduce the issue with go.opencensus.io
, which was possible for at least the last two weeks or so.
Sounds like this was resolved by changing the scaling on the AppEngine app.
Seeing this issue.
go: finding go.opencensus.io/trace latest
go: finding go.opencensus.io/plugin/ochttp latest
go: finding go.opencensus.io/trace/propagation latest
go: finding go.opencensus.io/plugin latest
../../../pkg/mod/google.golang.org/api@v0.0.0-20181217000635-41dc4b66e69d/transport/http/dial.go:25:2: unknown import path "go.opencensus.io/plugin/ochttp": cannot find module providing package go.opencensus.io/plugin/ochttp
../../../pkg/mod/google.golang.org/api@v0.0.0-20181217000635-41dc4b66e69d/transport/http/internal/propagation/http.go:29:2: unknown import path "go.opencensus.io/trace": cannot find module providing package go.opencensus.io/trace
../../../pkg/mod/google.golang.org/api@v0.0.0-20181217000635-41dc4b66e69d/transport/http/internal/propagation/http.go:30:2: unknown import path "go.opencensus.io/trace/propagation": cannot find module providing package go.opencensus.io/trace/propagation
rm -rf $GOPATH/pkg/mod
fixed the issue.
We are having the same issue for a couple of days now using go modules and travis-ci:
go: contrib.go.opencensus.io/exporter/ocagent@v0.4.12: unrecognized import path "contrib.go.opencensus.io/exporter/ocagent" (https fetch: Get https://contrib.go.opencensus.io/exporter/ocagent?go-get=1: read tcp 172.17.0.2:56480->216.239.32.21:443: read: connection reset by peer)
any idea how we can fix this please?
I hope this is the right place to report: I repeatedly keep having trouble with the opencensus vanity import URLs. I don't have that problem with other Google vanity import URLs like the ones from GCP (
cloud.google.com/go
)Often I get this kind of error messages with random opencensus repos when running
go dep
:When I repeat the command a couple times it finally succeeds.
This can be reproduced with curl also:
I also tested all 3 advertised IPs separately which seem to have the same behavior:
Here's a wireshark dump of a failing curl:
All my connections come from Germany just in case this is important. Traceroutes are always successful but I could not reproduce this from a scaleway server connecting from Paris. This might as well be a problem with my provider/network or anything but it's weird that even other google vanity urls work.