Traceback (most recent call last):
File "ddns.py", line 100, in __init__
r = httpx.get("https://www.ip138.com/", headers=self.httpHeaders, timeout=10)
File "/usr/local/lib/python3.8/dist-packages/httpx/_api.py", line 189, in get
return request(
File "/usr/local/lib/python3.8/dist-packages/httpx/_api.py", line 100, in request
return client.request(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 802, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 889, in send
response = self._send_handling_auth(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 917, in _send_handling_auth
response = self._send_handling_redirects(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 954, in _send_handling_redirects
response = self._send_single_request(request)
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 990, in _send_single_request
response = transport.handle_request(request)
File "/usr/local/lib/python3.8/dist-packages/httpx/_transports/default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: EOF occurred in violation of protocol (_ssl.c:1131)
目前我的解决方法是把./NameSilo-DDNS/DDNS restart做成定时任务 经常在日志中会各种出现SSL出错情况,类似