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

使用服务器部署后,报错 #6

Open
cliecy opened this issue Apr 4, 2022 · 3 comments
Open

使用服务器部署后,报错 #6

cliecy opened this issue Apr 4, 2022 · 3 comments
Labels
question Further information is requested

Comments

@cliecy
Copy link

cliecy commented Apr 4, 2022

同样的代码,在windows本地上运行时正常,部署到腾讯云Debian服务器上就出现错误
spider.py : 系统环境导致爬虫进程出现异常,请检查
auth.py : 系统环境导致认证进程出现异常HTTPConnectionPool(host='seat.lib.sdu.edu.cn', port=80): Max retries exceeded with url: /cas/index.php (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7873de8220>: Failed to establish a new connection: [Errno 110] Connection timed out')),请检查

@ptyin
Copy link
Owner

ptyin commented Apr 4, 2022

根据报错信息,应该是你腾讯云服务器访问seat.lib.sdu.edu.cn超时,请检查一下腾讯云服务器和seat.lib.sdu.edu.cn联通性。

@ptyin ptyin added the question Further information is requested label Apr 4, 2022
@zyg0121
Copy link
Collaborator

zyg0121 commented Apr 4, 2022

同样的代码,在windows本地上运行时正常,部署到腾讯云Debian服务器上就出现错误
spider.py : 系统环境导致爬虫进程出现异常,请检查
auth.py : 系统环境导致认证进程出现异常HTTPConnectionPool(host='seat.lib.sdu.edu.cn', port=80): Max retries exceeded with url: /cas/index.php (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7873de8220>: Failed to establish a new connection: [Errno 110] Connection timed out')),请检查

2022/04/04,现在预约座位只支持校园网访问了,请根据自己实际情况部署^_^

@ptyin
Copy link
Owner

ptyin commented Apr 5, 2022

pr #7 增加代理功能

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

No branches or pull requests

3 participants