本帖最后由 堡塔运维香菜卷 于 2023-10-11 22:43 编辑
出错了,面板运行时发生错误!
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='106.89.222.130', port=36210): Max retries exceeded with url: /btbtbt/config?action=get_tmp_token (Caused by ConnectTimeoutError(, 'Connection to 106.89.222.130 timed out. (connect timeout=15)'))
REQUEST_DATE: 2023-03-25 11:26:45
PAN_VERSION: 2.0.5
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 192.168.31.36
REQUEST_URI: GET /cmproxy/1/login?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/gevent/_socketcommon.py", line 613, in connect
self._wait(self._write_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_switch
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen
chunked=chunked,
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1277, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1323, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1272, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1032, in _send_output
self.send(msg)
File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 972, in send
self.connect()
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 177, in _new_conn
% (self.host, self.timeout),
urllib3.exceptions.ConnectTimeoutError: (, 'Connection to 106.89.222.130 timed out. (connect timeout=15)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/www/server/bt-monitor/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/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='106.89.222.130', port=36210): Max retries exceeded with url: /btbtbt/config?action=get_tmp_token (Caused by ConnectTimeoutError(, 'Connection to 106.89.222.130 timed out. (connect timeout=15)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/flask/app.py", line 2463, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/flask/app.py", line 1760, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/flask/app.py", line 1758, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/flask/app.py", line 1734, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/www/server/bt-monitor/core/__init__.py", line 524, in cloud_monitor_proxy2
return loader.http_run("cmproxy", "proxy", args)
File "/www/server/bt-monitor/core/loader.py", line 135, in http_run
result = loader_obj.run(args)
File "/www/server/bt-monitor/core/loader.py", line 110, in run
return getattr(public.import_via_loader('{}/modules/{}Module/main.py'.format(public.get_panel_path(), self.__module)).main(), self.__action)(args)
File "/www/server/bt-monitor/modules/cmproxyModule/main.py", line 436, in proxy
YY5wEo94l9qfo5TPxQmUggvkY/rE/QwpEfRv1UPGCJI=
File "/www/server/bt-monitor/modules/cmproxyModule/main.py", line 246, in proxy
VmVrGQo2zRokW/ZuO9bN6+rY0ICSH4zNT93fIW5/8nAZ86PpRnUeMaLxalvsGRg9NIrrssock0IzVHtAfWAs+X0KBcgevWBioqlCNtKGTGj8wfVdHw+bDeB8fSrueqUIQNiZ2AIj4rlNwtOnwPZhElj7mmcju7ivhrhX74Ewx3U=
File "/www/server/bt-monitor/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/bt-monitor/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='106.89.222.130', port=36210): Max retries exceeded with url: /btbtbt/config?action=get_tmp_token (Caused by ConnectTimeoutError(, 'Connection to 106.89.222.130 timed out. (connect timeout=15)'))
很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
|
|