ofesseler / gluster_exporter

Gluster Exporter for Prometheus
Apache License 2.0
81 stars 57 forks source link

make build error #48

Open airstring opened 4 years ago

airstring commented 4 years ago

I m getting the following error when I try to build : [root@k8s-01 gluster_exporter]# make build

ensure vendoring grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export golang.org/x/crypto: unable to deduce repository and source type for "golang.org/x/crypto": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://golang.org/x/crypto?go-get=1": Get "http://golang.org/x/crypto?go-get=1": proxyconnect tcp: dial tcp: lookup xn--http-u96a on 114.114.114.114:53: no such host

Please help

yangzhao-kl commented 3 years ago

use go mod proxy may help.