GithubHelp home page GithubHelp logo

wzxynew's Introduction

Hi there 👋

wzxynew's People

Contributors

qiaoborui avatar

Watchers

 avatar

Forkers

bober233

wzxynew's Issues

配置好环境docker运行出错

2024-03-17 22:23:19,288 - INFO - Welcome to Wozaixiaoyuan Night Sign-in Script!
2024-03-17 22:23:19,288 - INFO - Next scheduled run time: 2024-03-17 22:25:00
2024-03-17 22:25:00,100 - INFO - Running user 刘...
2024-03-17 22:25:00,100 - ERROR - No JWSESSION found in local cache, starting login...
2024-03-17 22:25:02,104 - ERROR - An error occurred while running user 刘: HTTPSConnectionPool(host='gw.wozaixiaoyuan.com', port=443): Max retries exceeded with url: /basicinfo/mobile/login/username?schoolId=61&username=13177887967&password=RFyeejDrz9QV0FspBzgoTg%3D%3D (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)"))
2024-03-17 22:25:02,106 - ERROR - Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 793, in urlopen
response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 616, in connect
self.sock = sock = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gw.wozaixiaoyuan.com', port=443): Max retries exceeded with url: /basicinfo/mobile/login/username?schoolId=61&username=13177887967&password=RFyeejDrz9QV0FspBzgoTg%3D%3D (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/app/./wzxy.py", line 217, in run_users
u = User(user_data.get('username'), user_data.get('password'), user_data.get('school_id'))
File "/usr/src/app/./wzxy.py", line 43, in init
self.test_cached_session()
File "/usr/src/app/./wzxy.py", line 132, in test_cached_session
if self.login():
File "/usr/src/app/./wzxy.py", line 60, in login
login_req = requests.post(login_url, params=params)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gw.wozaixiaoyuan.com', port=443): Max retries exceeded with url: /basicinfo/mobile/login/username?schoolId=61&username=13177887967&password=RFyeejDrz9QV0FspBzgoTg%3D%3D (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fe3fe058310>: Failed to resolve 'gw.wozaixiaoyuan.com' ([Errno -3] Try again)"))
请问作者大大我是哪里出错了吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.