Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

今天怎么出错了哦 #93

Closed
walke2019 opened this issue Jul 9, 2021 · 6 comments
Closed

今天怎么出错了哦 #93

walke2019 opened this issue Jul 9, 2021 · 6 comments

Comments

@walke2019
Copy link

获取目录下的文件列表: 网络错误, Get https://pcs.baidu.com/rest/2.0/pcs/file?app_id=266719&by=name&limit=0-2147483647&method=list&order=asc&path=%2F: read tcp 107.189.4.103:33822->140.249.34.53:443: read: connection reset by peer

@cinvro
Copy link

cinvro commented Jul 9, 2021

same here. 估计百度把PCS API 关了。

@qjfoidnh
Copy link
Owner

这两天有点事,等忙完我看一下

@qjfoidnh qjfoidnh pinned this issue Jul 10, 2021
@joe12801
Copy link

同样的问题 Get https://pcs.baidu.com/rest/2.0/pcs/file?app_id=266719&by=name&limit=0-2147483647&method=list&order=asc&path=%2F: read tcp 144.172.118.211:37988->140.249.34.53:443: read: connection reset by peer

@xianbiao
Copy link

xianbiao commented Jul 10, 2021

今天也出现了这个问题,经确认问题是出在 140.249.34.53 这个 IP ,可尝试通过修改系统 DNS 解决。但我换了好几个 DNS 依然被解析到这个有问题的 IP ,最后只好手动修改 hosts 文件,成功解决问题。

同样出现这个问题的可尝试在 hosts 文件加入以下任意一行,或其他可用 IP :
119.167.143.63 pcs.baidu.com
111.206.209.9 pcs.baidu.com
36.152.44.22 pcs.baidu.com

希望有帮助~

@viviov
Copy link

viviov commented Jul 10, 2021

今天也出现了这个问题,经确认问题是出在 140.249.34.53 这个 IP ,可尝试通过修改系统 DNS 解决。但我换了好几个 DNS 依然被解析到这个有问题的 IP ,最后只好手动修改 hosts 文件,成功解决问题。

同样出现这个问题的可尝试在 hosts 文件加入以下任意一行,或其他可用 IP :
119.167.143.63 pcs.baidu.com
111.206.209.9 pcs.baidu.com
36.152.44.22 pcs.baidu.com

希望有帮助~

linux 下修改之后,ping显示是修改后的,PCS-go调用依然报错,报错的还是140的IP,是没生效么。。。。要如何生效呢

@joe12801
Copy link

按上面方法操作,真的管用,666,谢谢谢拉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants