ptyin / sdu-lib-seat

山东大学图书馆预约脚本,Docker简单部署/提供测试环境/支持所有校区/集成图形界面。
MIT License
42 stars 6 forks source link

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

Open cliecy opened 2 years ago

cliecy commented 2 years ago

同样的代码,在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 commented 2 years ago

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

zyg0121 commented 2 years ago

同样的代码,在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 commented 2 years ago

pr #7 增加代理功能