为了能快速了解并处理您的问题,请提供以下基础信息:
正在执行(22)...
===============================================
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 400, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/packages/six.py", line 735, in reraise
raise value
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 423, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout
self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.bt.cn', port=443): Read timed out. (read timeout=6)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/http_requests.py", line 104, in post
result = requests.post(url,data,timeout=timeout,headers=headers,verify=verify)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.bt.cn', port=443): Read timed out. (read timeout=6)
|
|