美文网首页
Failed to connect to chromium.go

Failed to connect to chromium.go

作者: wskkhn123 | 来源:发表于2021-01-08 14:36 被阅读0次

    pod install 报错:Failed to connect to chromium.googlesource.com port 443: Operation timed out
    > Git download

        > Git download

            $ /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/v2/b70qzxh17zqdw4yw4l53k99w0000gn/T/d20210108-76584-i4kjhe --template= --single-branch --depth 1 --branch v1.1.0

        [!] Error installing libwebp

        [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/v2/b70qzxh17zqdw4yw4l53k99w0000gn/T/d20210108-76584-i4kjhe --template= --single-branch --depth 1 --branch v1.1.0

        Cloning into '/var/folders/v2/b70qzxh17zqdw4yw4l53k99w0000gn/T/d20210108-76584-i4kjhe'...

        fatal: unable to access 'https://chromium.googlesource.com/webm/libwebp/': Failed to connect to chromium.googlesource.com port 443: Operation timed out

    如果这个方法不行:

    使用git config --globalhttp.proxy"localhost:port",设置代理。

    port是端口号,根据不同的vpn不一样,我这里使用的是lartern,端口是50321。

    可以使用这个解决方案:

    git config --global --unset http.proxy

    git config --global --unset https.proxy

    相关文章

      网友评论

          本文标题:Failed to connect to chromium.go

          本文链接:https://www.haomeiwen.com/subject/qghfaktx.html