【待反馈】免费网站外链推广 1.1 使用系统报错
错误信息如下REQUEST_DATE: 2023-02-16 23:02:29
PAN_VERSION: 7.9.81
OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.8)
REMOTE_ADDR: 144.0.31.11
REQUEST_URI: POST /plugin?action=a&name=free_promotion&s=push_domain
REQUEST_FORM: {'enews': 'MAddInfo', 'id': '0', 'filepass': '1234567890', 'mid': '9', 'ecmsfrom': '/shoulu.html', 'title': '周小易', 'ftitle': '', 'keyboard': '八字算命,塔罗占卜,运势测算,心理测试,星座配对,在线测算码', 'titlepicfile': '', 'url': 'http://ys.lememg.cn', 'classid': '42', 'newstext': '', 'key': '4e6d', 'posturl': 'https://tool.tag.gg/e/DoInfo/ecms.php'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Traceback (most recent call last):
File "class/public.py", line 277, in dumps
return json.dumps(data)
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type Response is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/public.py", line 279, in dumps
return json.dumps(data, ensure_ascii=False)
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 238, in dumps
**kw).encode(obj)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type Response is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1985, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1936, in run
result = public.GetJson(result), json_header
File "class/public.py", line 291, in GetJson
data = ijson_obj.dumps(data)
File "class/public.py", line 281, in dumps
return json.dumps(self.returnMsg(False, "错误的响应: %s" % str(data)))
AttributeError: 'ijson' object has no attribute 'returnMsg'
错误截图
Mr曹 发表于 2023-2-16 23:06
错误截图
您好,请问您时在执行什么操作时出现的这个问题? 本帖最后由 宝塔用户_pdxzje 于 2023-9-22 20:05 编辑
堡塔运维向樛木 发表于 2023-2-17 10:26
您好,请问您时在执行什么操作时出现的这个问题?
点开 “免费网站外链推广 1.1”→→→一点击“推送域名” 就报错!
出错了,[免费网站收录外链推广]运行时发生错误!
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))REQUEST_DATE: 2023-09-22 19:51:37
PAN_VERSION: 8.0.27
OS_VERSION: CentOS Stream 8 x86_64(Py3.7.9)
REMOTE_ADDR: 192.168.111.1
REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dfree_promotion%26s%3Dpush_domain
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Core/1.94.202.400 QQBrowser/11.9.5355.400Traceback (most recent call last):
File "/www/server/panel/class/panelPlugin.py", line 3237, in a
return p.exec_fun(get)
File "/www/server/panel/class/pluginAuth.py", line 67, in exec_fun
raise public.PanelError(res['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 449, 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 444, 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 279, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During 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 499, in send
timeout=timeout,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen
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 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 449, 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 444, 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 279, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/plugin/free_promotion/free_promotion_main.py", line 71, in push_domain
if not self.get_code(data):
File "/www/server/panel/plugin/free_promotion/free_promotion_main.py", line 98, in get_code
html=self.S.get(args.url)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))很抱歉,您在访问[免费网站收录外链推广]插件时,意外发生错误,请尝试按以下顺序尝试解除此错误:
1、在[首页]右上角点击修复面板,并退出面板重新登录。
2、若此插件不是最新版,尝试更新到最新版,若已是最新版,请尝试重装此插件,若为测试版,请尝试切换为正式版
3、若此插件为第三方插件,请在插件窗口中找到插件作者联系方式,尝试联系作者寻求帮助
4、如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
您好,第三方插件非官方进行维护的,如使用第三方插件遇到问题建议联系第三方作者处理,第三方插件一般都是会在插件内会有联系方式,其次还有就是帖子。
页:
[1]