在大量访问网页时,有可能出现这种报错:
14-09-2019 12:1138 root: ERROR: HTTPSConnectionPool(host='www.mzitu.com', port=443...python3/dist-packages/urllib3/util/connection.py", line 67, in create_connection
for res in socket.getaddrinfo...(host, port, 0, socket.SOCK_STREAM):
File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo...for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -...argument 'buffering'
During handling of the above exception, another exception occurred:
原因
但实际上都是同一种错误