groundcover-com / murre

Murre is an on-demand, scaleable source of container resource metrics for K8s.
https://www.groundcover.com/blog/murre
Apache License 2.0
310 stars 18 forks source link

502 Bad Gateway #22

Closed giuliohome closed 1 year ago

giuliohome commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Error during setup

To Reproduce Steps to reproduce the behavior:

[giulio@fedora db]$ go install github.com/groundcover-com/murre@latest
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading gopkg.in/yaml.v2 v2.4.0
../../../go/pkg/mod/k8s.io/apimachinery@v0.25.3/pkg/api/resource/amount.go:23:2: unrecognized import path "gopkg.in/inf.v0": reading https://gopkg.in/inf.v0?go-get=1: 502 Bad Gateway
    server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-inf/inf.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
../../../go/pkg/mod/sigs.k8s.io/structured-merge-diff/v4@v4.2.3/value/value.go:26:2: unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
    server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
../../../go/pkg/mod/github.com/google/gnostic@v0.5.7-v3refs/jsonschema/models.go:19:8: unrecognized import path "gopkg.in/yaml.v3": reading https://gopkg.in/yaml.v3?go-get=1: 502 Bad Gateway
    server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Desktop (please complete the following information):

Linux version 6.0.11-300.fc37.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4), GNU ld version 2.38-25.fc37) #1 SMP PREEMPT_DYNAMIC Fri Dec 2 20:47:45 UTC 2022 Fedora release 37 (Thirty Seven)

[giulio@fedora ~]$ go version
go version go1.19.3 linux/amd64
giuliohome commented 1 year ago

it was a temporary issue.

I'm still facing this empty table issue, though. It should be reopened IMO. I also suspect that issue could be caused for me by an incomplete install, even if I no longer see the above posted error messages. I'm thinking this, because repeating the installation on a different machine seems to download much more packages.

Let me see what happen if I clone the repo and I build it (I don't fully trust the installation processs)

[giulio@fedora murre]$ git clone https://github.com/groundcover-com/murre.git
Cloning into 'murre'...
remote: Enumerating objects: 197, done.
remote: Counting objects: 100% (75/75), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 197 (delta 24), reused 53 (delta 15), pack-reused 122
Receiving objects: 100% (197/197), 1.28 MiB | 3.95 MiB/s, done.
Resolving deltas: 100% (80/80), done.
[giulio@fedora murre]$ cd murre/
[giulio@fedora murre]$ ls
CHANGELOG.md  CODE_OF_CONDUCT.md  go.sum  LICENSE  pkg
cmd           go.mod              images  main.go  README.md
[giulio@fedora murre]$ go build 

Nothing, the same issue with the empty table.