Skip to content
This repository has been archived by the owner on Jul 18, 2021. It is now read-only.

是最近 不能使用了么,错误信息如下 #159

Open
354651432 opened this issue Aug 1, 2019 · 1 comment
Open

是最近 不能使用了么,错误信息如下 #159

354651432 opened this issue Aug 1, 2019 · 1 comment

Comments

@354651432
Copy link

Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\util\connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn
conn.connect()
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connection.py", line 301, in connect
conn = self._new_conn()
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x0000027737871B38>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\util\retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='wx2.qq.com', port=443): Max retries exceeded
with url: /cgi-bin/mmwebwx-bin/webwxnewloginpage?ticket=A2KbQIklwIsC-50VmZFj5atF@qrticket_0&uuid=oafHdtom3w==&lang=zh_CN&scan=1564642638&fun=new (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000027737871B38>: Failed to establish a new connection: [Errno 11001] getaddrinfo
failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "wdf.py", line 570, in
main()
File "wdf.py", line 462, in main
if not login():
File "wdf.py", line 179, in login
r = myRequests.get(url=redirect_uri)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='wx2.qq.com', port=443): Max retries exceeded with url: /cgi-bin/mmwebwx-bin/webwxnewloginpage?ticket=A2KbQIklwIsC-50VmZFj5atF@qrticket_0&uuid=oafHdtom3w==&lang=zh_CN&scan=1564642638&fun=new (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000027737871B38>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

@xiaoyaoyang
Copy link

貌似 早不能用了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants