JanDeDobbeleer / homebrew-oh-my-posh

Homebrew formula for Oh my Posh
14 stars 9 forks source link

TLS handshake timeout #7

Closed lordisp closed 2 years ago

lordisp commented 2 years ago

steps to reproduce:

brew install oh-my-posh

behaviour

$ brew install oh-my-posh
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.17.6
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:4b4c9d51934b2c75fa32dcfb239363673a2bb471388f53976a98151489e00209
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:4b4c9d51934b2c75fa32dcfb239363673a2bb471388f53976a98151489e00209?se=2022-01-29T12%3A25%3A00Z&sig=4G5i
######################################################################## 100.0%
==> Downloading https://github.com/JanDeDobbeleer/oh-my-posh/archive/v7.5.1.tar.gz
==> Downloading from https://codeload.github.com/JanDeDobbeleer/oh-my-posh/tar.gz/v7.5.1
             -#O=-  #    #     #
==> Installing oh-my-posh from jandedobbeleer/oh-my-posh
==> Installing dependencies for jandedobbeleer/oh-my-posh/oh-my-posh: go@1.17
==> Installing jandedobbeleer/oh-my-posh/oh-my-posh dependency: go@1.17
==> Pouring go--1.17.6.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/go/1.17.6: 10,822 files, 537.5MB
==> Installing jandedobbeleer/oh-my-posh/oh-my-posh
==> go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=7.5.1'"
Last 15 lines from /home/rcamison/.cache/Homebrew/Logs/oh-my-posh/01.go:
config.go:16:2: github.com/gookit/config/v2@v2.0.27: Get "https://proxy.golang.org/github.com/gookit/config/v2/@v/v2.0.27.zip": net/http: TLS handshake timeout
config.go:17:2: github.com/gookit/config/v2@v2.0.27: Get "https://proxy.golang.org/github.com/gookit/config/v2/@v/v2.0.27.zip": net/http: TLS handshake timeout
config.go:18:2: github.com/mitchellh/mapstructure@v1.4.2: Get "https://proxy.golang.org/github.com/mitchellh/mapstructure/@v/v1.4.2.zip": net/http: TLS handshake timeout
segment_sysinfo.go:4:2: github.com/shirou/gopsutil/v3@v3.21.10: Get "https://proxy.golang.org/github.com/shirou/gopsutil/v3/@v/v3.21.10.zip": net/http: TLS handshake timeout
environment_unix.go:11:2: github.com/shirou/gopsutil/v3@v3.21.10: Get "https://proxy.golang.org/github.com/shirou/gopsutil/v3/@v/v3.21.10.zip": net/http: TLS handshake timeout
segment_sysinfo.go:5:2: github.com/shirou/gopsutil/v3@v3.21.10: Get "https://proxy.golang.org/github.com/shirou/gopsutil/v3/@v/v3.21.10.zip": net/http: TLS handshake timeout
segment_sysinfo.go:6:2: github.com/shirou/gopsutil/v3@v3.21.10: Get "https://proxy.golang.org/github.com/shirou/gopsutil/v3/@v/v3.21.10.zip": net/http: TLS handshake timeout
environment.go:19:2: github.com/shirou/gopsutil/v3@v3.21.10: Get "https://proxy.golang.org/github.com/shirou/gopsutil/v3/@v/v3.21.10.zip": net/http: TLS handshake timeout
environment_unix.go:12:2: github.com/wayneashleyberry/terminal-dimensions@v1.1.0: Get "https://proxy.golang.org/github.com/wayneashleyberry/terminal-dimensions/@v/v1.1.0.zip": net/http: TLS handshake timeout
image.go:35:2: golang.org/x/image@v0.0.0-20211028202545-6944b10bf410: Get "https://proxy.golang.org/golang.org/x/image/@v/v0.0.0-20211028202545-6944b10bf410.zip": net/http: TLS handshake timeout
segment_golang.go:4:2: golang.org/x/mod@v0.5.1: Get "https://proxy.golang.org/golang.org/x/mod/@v/v0.5.1.zip": net/http: TLS handshake timeout
segment_executiontime.go:7:2: golang.org/x/text@v0.3.7: Get "https://proxy.golang.org/golang.org/x/text/@v/v0.3.7.zip": net/http: TLS handshake timeout
segment_executiontime.go:8:2: golang.org/x/text@v0.3.7: Get "https://proxy.golang.org/golang.org/x/text/@v/v0.3.7.zip": net/http: TLS handshake timeout
segment_git.go:8:2: gopkg.in/ini.v1@v1.64.0: Get "https://proxy.golang.org/gopkg.in/ini.v1/@v/v1.64.0.zip": net/http: TLS handshake timeout
segment_kubectl.go:6:2: gopkg.in/yaml.v3@v3.0.0-20210107192922-496545a6307b: Get "https://proxy.golang.org/gopkg.in/yaml.v3/@v/v3.0.0-20210107192922-496545a6307b.zip": net/http: TLS handshake timeout

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/jandedobbeleer/homebrew-oh-my-posh/issues
JanDeDobbeleer commented 2 years ago

@lordisp are you using a proxy for golang dependencies?

JanDeDobbeleer commented 2 years ago

Proxies are now supported