{“code”: 1, “error”: “download from https://tiup-mirrors.pingcap.com/prometheus-v6.1.1-linux-amd64.tar.gz failed: read tcp 172.16.0.40:42154->122.228.207.55:443: read: connection reset by peer”, “errorVerbose”: “read tcp 172.16.0.40:42154->122.228.207.55:443: read: connection reset by peer\ndownload from https://tiup-mirrors.pingcap.com/prometheus-v6.1.1-linux-amd64.tar.gz failed\ngithub.com/pingcap/tiup/pkg/repository.(*httpMirror).download\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:342\ngithub.com/pingcap/tiup/pkg/repository.(*httpMirror).Download.func1\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:491\ngithub.com/pingcap/tiup/pkg/utils.Retry\n\tgithub.com/pingcap/tiup/pkg/utils/retry.go:81\ngithub.com/pingcap/tiup/pkg/repository.(*httpMirror).Download\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:486\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).DownloadComponent\n\tgithub.com/pingcap/tiup/pkg/repository/v1_repository.go:487\ngithub.com/pingcap/tiup/pkg/cluster/clusterutil.(*repositoryT).DownloadComponent\n\tgithub.com/pingcap/tiup/pkg/cluster/clusterutil/cluster.go:65\ngithub.com/pingcap/tiup/pkg/cluster/operation.Download\n\tgithub.com/pingcap/tiup/pkg/cluster/operation/download.go:57\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Downloader).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/download.go:58\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:86\ngithub.com/pingcap/tiup/pkg/cluster/task.(*StepDisplay).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/step.go:111\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1\n\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:144\nruntime.goexit\n\truntime/asm_amd64.s:1594”}
大佬们帮忙看下
看报错是下载请求超时了,重试几次看看吧。如果网络不通或者网络实在不行可以考虑下离线安装。
1 个赞
感觉是网络问题呢,外网畅通么?
外网通吗?
用离线升级吧,我上次在线升级直接没有下载下来包,升级失败
1 个赞
从现象看是网络问题,可以使用 tiup clone 把repo下载到本地~
在线部署不行就离线部署吧。