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

使用一段时间后将无法登陆选课网 #8

Closed
autoelectiveuser opened this issue Mar 11, 2021 · 1 comment
Closed

使用一段时间后将无法登陆选课网 #8

autoelectiveuser opened this issue Mar 11, 2021 · 1 comment

Comments

@autoelectiveuser
Copy link

在使用刷课机一段时间后会报错如下:
HTTPSConnectionPool(host='elective.pku.edu.cn', port=443): Max retries exceeded with url: /elective2008/ssoLogin.do?_rand=0.37325861354437806&token=13ebefa7a7ff3e73b0deef964739be80 (Caused by ProxyError('Cannot connect to proxy.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None)))
[WARNING] loop, 12:46:21, RequestException encountered
且人工手动登陆选课网也无法成功,即“当前无法使用此页面elective.pku.edu.cn 未发送任何数据。”

@Mzhhh
Copy link
Owner

Mzhhh commented Mar 11, 2021

应该是因为您的刷新频率太快了,导致 ip 被选课网暂时 ban 了(大概持续 1 小时)。您在这段时间内可以连接 vpn 后重新使用。建议您增加 refresh_interval 的值或增加 elective_client_pool_size。

@Mzhhh Mzhhh closed this as completed Mar 11, 2021
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