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

远程主机强迫关闭了一个现有的连接,10054 #100

Open
Augus753 opened this issue Jul 18, 2019 · 3 comments
Open

远程主机强迫关闭了一个现有的连接,10054 #100

Augus753 opened this issue Jul 18, 2019 · 3 comments

Comments

@Augus753
Copy link

('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))
请问大神,频繁出现这个问题怎么解决?

初始化创建 pcs = PCS(baidu_user, baidu_pwd)
后续频繁上传,3s左右一次
ret = pcs.upload(pan_path, file, file_name)

@Augus753
Copy link
Author

Augus753 commented Aug 1, 2019

好了,最后说下解决方式,换了另一套封装的工具—— ByPy

@Irismoon
Copy link

Irismoon commented Aug 7, 2019

请问楼上用的是什么平台 pcs建立连接时没有遇到验证码问题吗?或者还是你设置了什么accessToken之类的?

@Augus753
Copy link
Author

Augus753 commented Sep 4, 2019

请问楼上用的是什么平台 pcs建立连接时没有遇到验证码问题吗?或者还是你设置了什么accessToken之类的?

你好。我并没有遇到验证码的问题,可能是请求并发量不高。
首次在机器上使用ByPy需要手动操作授权,具体操作很容易的。

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

2 participants