本帖最后由 宝塔用户_wnxwla 于 2023-4-15 11:36 编辑
出错了,面板运行时发生错误!requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
REQUEST_DATE: 2023-04-15 11:25:21 PAN_VERSION: 7.9.9 OS_VERSION: CentOS 7.8.2003 x86_64(Py3.7.9) REMOTE_ADDR: 60.221.46.214 REQUEST_URI: POST /project/docker/model?action=container-commitREQUEST_FORM: {'data': '{"repository":"12","tag":"12","message":"12","author":"12","id":"fd477eaf4002008f84410ccf55838c201e6420b3e2acbe9e15473c6b09c26be5","url":"unix:///var/run/docker.sock","dk_model_name":"container","dk_def_name":"commit"}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 1369, in getresponse response.begin() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 310, in begin version, status, reason = self._read_status() File "/www/server/panel/pyenv/lib/python3.7/http/client.py", line 271, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/www/server/panel/pyenv/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/_socketcommon.py", line 693, in recv_into self._wait(self._read_event) File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switchsocket.timeout: timed outDuring handling of the above exception, another exception occurred:Traceback (most recent call last): 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 756, 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 531, 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 706, in urlopen chunked=chunked, File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 447, 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 337, in _raise_timeout self, url, "Read timed out. (read timeout=%s)" % timeout_valueurllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1995, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1942, in run result = getattr(toObject, get.action)(get) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/projectModel/dockerModel.py", line 87, in model result = run_object(args) File "/www/server/panel/class/projectModel/bt_docker/dk_container.py", line 142, in commit conf=args.conf File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/models/containers.py", line 136, in commit **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/utils/decorators.py", line 19, in wrapped return f(self, resource_id, *args, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/container.py", line 148, in commit self._post_json(u, data=conf, params=params), json=True File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/client.py", line 296, in _post_json return self._post(url, data=json.dumps(data2), **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner return f(self, *args, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/docker/api/client.py", line 233, in _post return self.post(url, **self._set_request_timeout(kwargs)) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 590, in post return self.request('POST', url, data=data, json=json, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 655, 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: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
- 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
- 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
|
|