niemeyer / gopkg

Source code for the gopkg.in service.
Other
537 stars 85 forks source link

Cannot obtain refs from GitHub: cannot talk to GitHub #79

Closed shubhamvyas-josh closed 1 year ago

shubhamvyas-josh commented 1 year ago

My builds are failing due to failure in download of dependencies from gopkg.

When will it be fixed and is there any temp solution for such issue ?

curtismenmuir commented 1 year ago

+1 seeing this issue today:

remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: write tcp 10.131.9.188:60820->140.82.121.3:443: write: broken pipe
fatal: unable to access 'https://gopkg.in/yaml.v2/': The requested URL returned error: 502
remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-playground/colors.git/info/refs?service=git-upload-pack: write tcp 10.131.9.188:60820->140.82.121.3:443: write: broken 
fatal: unable to access 'https://gopkg.in/go-playground/colors.v1/': The requested URL returned error: 502
niemeyer commented 1 year ago

Sorry about that, there was a data cente-wide issue today/yesterday:

https://status.canonical.com/

curtismenmuir commented 1 year ago

@niemeyer do you have an ETA for when this will be fix? Status page says all operational and that the issue with gopkg.in has been fixed for ~10hrs, but our CI builds have been failing all day.

harsh-rr commented 1 year ago

Still facing the issue even though https://status.canonical.com/ everything is fine

curtismenmuir commented 1 year ago

Work around for this: https://github.com/orgs/community/discussions/56932#discussioncomment-6069091

We got this working by setting the GOPROXY Env Var to https://proxy.golang.org,direct :)

EG add GOPROXY=https://proxy.golang.org,direct to Jenkinsfile env vars

niemeyer commented 1 year ago

The team confirmed they're observing issues still. They are on it. Sorry again for the trouble.