宝塔用户_hsqfds 发表于 2024-4-9 10:29:46

【已完成】Linux宝塔面板打不可 显示403

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
8.0.6
系统版本:
CentOS 7.9 64位
问题描述:
Linux宝塔面板打不可 显示403
相关截图(日志、错误):
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()
File "/www/server/panel/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='www.bt.cn', port=80): Max retries exceeded with url: /api/wmsg/send_msg (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fe0c182da50>, 'Connection to www.bt.cn timed out. (connect 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 119, 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 61, in request
    return session.request(method=method, url=url, **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 504, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='www.bt.cn', port=80): Max retries exceeded with url: /api/wmsg/send_msg (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fe0c182da50>, 'Connection to www.bt.cn timed out. (connect timeout=6)'))

- 开始更新SSH登录日志...
- 上次更新时间:2024-03-28 00:01:56
- 更新ssh日志成功
- 开更新SSH登录日志...
- 上次更新时间:2024-03-29 00:02:38
- 更新ssh日志成功
<gevent._socket3.socket at 0x7ff5d963c4b0 object, fd=25, family=2, type=1, proto=0>: Invalid http version: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03\x15d4raðkŬ(¤\x13y&\x94³}W\x84ó÷V/\x16\x92/Uø\x10¡H\x15 \x9c/Ý0©Êþ\x02\x06\x94`6\x10\x0bc¬\x96}ÖÕ\x8d'-¼M\x1aNÖñ\x1b\x86T\x00\x9c\x13\x02\x13\x03\x13\x01\x003\x009\x005\x00/À,À0\x00£\x00\x9f̨̩̪À¯À\xadÀ£À\x9fÀ]ÀaÀWÀSÀ+À/\x00¢\x00\x9eÀ®À¬À¢À\x9eÀ\\À`ÀVÀRÀ$À(\x00k\x00jÀsÀw\x00Ä\x00ÃÀ#À'\x00g\x00@ÀrÀv\x00¾\x00½À\n"
<gevent._socket3.socket at 0x7ff5d963c4b0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03¸ö´iÿó7À\x9aµ\x96\x06ÑùÊ"\x1bN\x14ï\x05,*\x1dâ\x8c¸x»Â¾\n'
<gevent._socket3.socket at 0x7ff5d963c4b0 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\r\n'
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03r¨\x1b\x1a¦\x97wÏ\tCì¶6³\x81DØY\x89¾{"/íµô\x8e\x04²ðKy ¯\x1cHËf\x9fн NâaÉJ\x96\x1cÅìEíúz\'*w®\x08ôü¦ý\x1b\x00\x9c\x13\x02\x13\x03\x13\x01\x003\x009\x005\x00/À,À0\x00£\x00\x9f̨̩̪À¯À\xadÀ£À\x9fÀ]ÀaÀWÀSÀ+À/\x00¢\x00\x9eÀ®À¬À¢À\x9eÀ\\À`ÀVÀRÀ$À(\x00k\x00jÀsÀw\x00Ä\x00ÃÀ#À\'\x00g\x00@ÀrÀv\x00¾\x00½À\n'
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid http version: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03°í®\x12çw7\x85\x93\x13ǧt\x02\x19\x98=Ë=\x16,ûJ\x8b¥Å5a£\x02©¤ oe\x02Û¶rX\x89\x892kj6HY]\xadï1ÿº\x99¥\x146\x03\x81OýB5i\x00>\x13\x02\x13\x03\x13\x01À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ\n"
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03_%ÞÌB+ð\x9d\n'
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\r\n'
<gevent._socket3.socket at 0x7ff5cae511a0 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03 !½=áÕâ¿®PËS\x13-d[Ü\x9f\\\x1d}R Çí¬¾\x1d:uK0 \x1crý\x9dâì\x9a\x13CÒË¥üÉì'ÈF¢\x9aö\x9d¦\x81\x0fl*¿êA6Ì\x00\x9c\x13\x02\x13\x03\x13\x01\x003\x009\x005\x00/À,À0\x00£\x00\x9f̨̩̪À¯À\xadÀ£À\x9fÀ]ÀaÀWÀSÀ+À/\x00¢\x00\x9eÀ®À¬À¢À\x9eÀ\\À`ÀVÀRÀ$À(\x00k\x00jÀsÀw\x00Ä\x00ÃÀ#À'\x00g\x00@ÀrÀv\x00¾\x00½À\n"
<gevent._socket3.socket at 0x7ff5cae511a0 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5cae51440 object, fd=25, family=2, type=1, proto=0>: Invalid http version: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03\x9aõjFäm\xad\x0e\x88PkÍg½Y6\x0f±Ý2k*Ê2_²\x92\x93\x9ad\x8c} \x97\xad½\x08Ü>Ö\x05ÖÙ¿\x17[×\x1fWÄ\x93\x91IÝ<>iTP}\x17\x9f¨c«\x00>\x13\x02\x13\x03\x13\x01À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ\n"
<gevent._socket3.socket at 0x7ff5cae51440 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03K¸\x0f3\xad¥¾\n'
<gevent._socket3.socket at 0x7ff5cae51440 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5cae51440 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5cae51440 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\r\n'
<gevent._socket3.socket at 0x7ff5cae51b40 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03\x0cÏw\x93òræÇ\x02λÇjSðS¨å\x7f\x8f\x99úb{Ðm\x04iù{ª\x17 W\x1etE{°X×\x8c³W\x1eØ\x14\x0c®=ÐdK·½æ\x13\x9dóK\n'
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03ªÂl\x82Ñy\x9e\x14\x0cN%¸²ïú¶ùPh¹ý´a¦\x8cë0w\\©ÙÆ K[\x1c\x8a\x97\x173\x16Ñ6X\x94¥E|\x9câ_e\x94ñ5,µý\x9d¼ß\x93âdê\x00>\x13\x02\x13\x03\x13\x01À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ\n"
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03Ìi\x9fa\x9b\x8b/\x19)0ª.\rY{ª®\x0cï¡å\x07À¯=GòO0êú C\x1bf¶]hÕ0×/Ú\x1dú\x17\x16\x95\x90¤\x04ø\x92\x1cbH\x13Æ*TdxUi\x00>\x13\x02\x13\x03\x13\x01À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ\n"
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963cde0 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5d963cf30 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5c9e42360 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: 'SSH-2.0-OpenSSH\r\n'
<gevent._socket3.socket at 0x7ff5d963c4b0 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5d963c1a0 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5d963c1a0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963c1a0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963c1a0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963c1a0 object, fd=25, family=2, type=1, proto=0>: Expected GET method: '\x03\x00\x00/*à\x00\x00\x00\x00\x00Cookie: mstshash=Administr\r\n'
<gevent._socket3.socket at 0x7ff5d963c1a0 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5cae51f30 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5cae51f30 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5cae51f30 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\r\n'
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: "\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x036¦·¤ò°^¸þò¹_F\x9c\x91pzÎHRiC¦Wdx¢þ\x13)ìå \x94\tþ»\x06>è\x9e1zYl\t\x8fÜTÝFÝæjë²SÔ4\x07±\x10J~ª\x00\x9c\x13\x02\x13\x03\x13\x01\x003\x009\x005\x00/À,À0\x00£\x00\x9f̨̩̪À¯À\xadÀ£À\x9fÀ]ÀaÀWÀSÀ+À/\x00¢\x00\x9eÀ®À¬À¢À\x9eÀ\\À`ÀVÀRÀ$À(\x00k\x00jÀsÀw\x00Ä\x00ÃÀ#À'\x00g\x00@ÀrÀv\x00¾\x00½À\n"
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03h\x03\x11á>0à\x16QËÊR¨éß\n'
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid http version: 'PRI * HTTP/2.0\r\n'
<gevent._socket3.socket at 0x7ff5cae51130 object, fd=25, family=2, type=1, proto=0>: Invalid HTTP method: '\r\n'
- 开始更新SSH登录日志...
- 上次更新时间:2024-03-30 00:03:20
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-03-31 00:04:02
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-01 00:04:45
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-02 00:05:27
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-03 00:06:11
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-04 00:06:54
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-05 00:07:36
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-06 00:08:19
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新时间:2024-04-07 00:09:01
- 更新ssh日志成功
- 开始更新SSH登录日志...
- 上次更新间:2024-04-08 00:09:46
- 未超过一天,不更新ssh日志
\n
\n
\n
\n

宝塔用户_hsqfds 发表于 2024-4-9 10:35:48

可远程链接服务器,可执行bt命令

堡塔运维南一 发表于 2024-4-9 11:29:47

宝塔用户_hsqfds 发表于 2024-4-9 10:35
可远程链接服务器,可执行bt命令

您好,执行下面命令后再去访问,如果还是不行请私发我面板登录信息和ssh连接信息
bt 16
bt 1

堡塔运维南一 发表于 2024-4-9 12:14:24

宝塔用户_hsqfds 发表于 2024-4-9 10:35
可远程链接服务器,可执行bt命令

已解决
页: [1]
查看完整版本: 【已完成】Linux宝塔面板打不可 显示403