Mikubill / cowtransfer-uploader

Simple Cowtransfer Uploader/Downloader in Golang
MIT License
437 stars 56 forks source link

curl -sL https://git.io/cowtransfer | sh 失败 #15

Closed lingr7 closed 4 years ago

lingr7 commented 4 years ago

测试发现,https://git.io/cowtransfer会转移到 https://raw.githubusercontent.com/Mikubill/cowtransfer-uploader/master/install.sh? 但是curl这个文件再导入sh失败了。 【已解决】解决方案,采用其他工具,pasteme.cn工具解决 image

有无其他好办法。

Mikubill commented 4 years ago

我这里测试没问题来着……可以把报错信息发出来吗

lingr7 commented 4 years ago

运行curl -sL https://git.io/cowtransfer | sh 报错

 0curl: (7) Failed to connect to github.com port 443: Connection refused

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Mikubill commented 4 years ago

安装脚本在执行过程中需要访问 api.github.com 获取最新release,看起来这个域名在部分地区不太可用

可以直接在release页面下载使用。

lingr7 commented 4 years ago

套娃操作写了篇博客下载github上文件与release的安装包 - lingr7 - 博客园