{"id":9640,"date":"2022-08-22T15:29:45","date_gmt":"2022-08-22T07:29:45","guid":{"rendered":"https:\/\/www.ldhost.cn\/jc\/?p=9640"},"modified":"2022-08-22T15:29:46","modified_gmt":"2022-08-22T07:29:46","slug":"%e5%ae%9d%e5%a1%94%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%9d%a2%e6%9d%bf%e7%99%bb%e5%bd%95%e6%89%8b%e6%9c%ba%e4%bc%9a%e5%91%98%e6%8a%a5%e9%94%99%ef%bc%9athe-json-object-must-be-str-bytes-or-bytearray","status":"publish","type":"post","link":"https:\/\/www.ldhost.cn\/jc\/bt\/9640.html","title":{"rendered":"\u5b9d\u5854\u670d\u52a1\u5668\u9762\u677f\u767b\u5f55\u624b\u673a\u4f1a\u5458\u62a5\u9519\uff1athe JSON object must be str, bytes or bytearray"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"889\" height=\"578\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2022\/08\/bt2151101.png\" alt=\"\" class=\"wp-image-9641\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2022\/08\/bt2151101.png 889w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2022\/08\/bt2151101-300x195.png 300w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2022\/08\/bt2151101-150x98.png 150w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2022\/08\/bt2151101-768x499.png 768w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><\/figure>\n\n\n\n<p>\u5b9d\u5854\u670d\u52a1\u5668\u9762\u677f\u767b\u5f55\u4f1a\u5458\u62a5\u9519\uff1a<\/p>\n\n\n\n<p>the JSON object must be str, bytes or bytearray, not bool During handling of the above exception, another exception occurred: Traceback (most recent call last): File &#8220;\/www\/server\/panel\/BTPanel\/<strong>init<\/strong>.py&#8221;, line 1786, in publicObject return run_exec().run(toObject, defs, get) File &#8220;\/www\/server\/panel\/BTPanel\/<strong>init<\/strong>.py&#8221;, line 1734, in run result = getattr(toObject,get.action)(get) File &#8220;class\/panelSSL.py&#8221;, line 1062, in GetAuthToken raise public.error_conn_cloud(str(ex)) public.Panel<\/p>\n\n\n\n<p>\u51fa\u9519\u4e86\uff0c\u9762\u677f\u8fd0\u884c\u65f6\u53d1\u751f\u9519\u8bef\uff01<br>\u8fde\u63a5\u4e91\u7aef\u670d\u52a1\u5668\u5931\u8d25!<br>REQUEST_DATE: 2022-08-22 15:10:49<br>PAN_VERSION: 7.9.3<br>OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)<br>REMOTE_ADDR: 114.99.159.20<br>REQUEST_URI: POST \/ssl?action=GetAuthToken<br>REQUEST_FORM: {&#8216;username&#8217;: &#8216;<strong><em><strong><em>&#8216;, &#8216;password&#8217;: &#8216;<\/em><\/strong><\/em><\/strong>&#8216;}<br>USER_AGENT: Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/104.0.0.0 Safari\/537.36<br>Traceback (most recent call last):<br>File &#8220;class\/panelSSL.py&#8221;, line 1048, in GetAuthToken<br>result = json.loads(rtmp);<br>File &#8220;\/www\/server\/panel\/pyenv\/lib\/python3.7\/json\/<strong>init<\/strong>.py&#8221;, line 341, in loads<br>TypeError: the JSON object must be str, bytes or bytearray, not bool<\/p>\n\n\n\n<p>During handling of the above exception, another exception occurred:<\/p>\n\n\n\n<p>Traceback (most recent call last):<br>File &#8220;\/www\/server\/panel\/BTPanel\/<strong>init<\/strong>.py&#8221;, line 1786, in publicObject<br>return run_exec().run(toObject, defs, get)<br>File &#8220;\/www\/server\/panel\/BTPanel\/<strong>init<\/strong>.py&#8221;, line 1734, in run<br>result = getattr(toObject,get.action)(get)<br>File &#8220;class\/panelSSL.py&#8221;, line 1062, in GetAuthToken<br>raise public.error_conn_cloud(str(ex))<br>public.PanelError: \u9762\u677f\u8fd0\u884c\u65f6\u53d1\u751f\u9519\u8bef: \u62b1\u6b49\uff0c\u8fde\u63a5\u4e91\u7aef\u670d\u52a1\u5668\u5931\u8d25! &#8211;<\/p>\n\n\n\n<p>\u53ef\u80fd\u7684\u539f\u56e0\uff1a<br>\u672c\u5730\u670d\u52a1\u5668\u7f51\u7edc\u5f02\u5e38<br>\u672c\u5730\u670d\u52a1\u5668DNS\u914d\u7f6e\u5f02\u5e38<br>\u4e91\u7aef\u670d\u52a1\u5668\u6545\u969c<br>\u5efa\u8bae\u6309\u987a\u5e8f\u9010\u4e00\u5c1d\u8bd5\u4ee5\u4e0b\u89e3\u51b3\u65b9\u6848\uff1a<br>\u5728\u3010\u9996\u9875\u3011\u53f3\u4e0a\u89d2\u70b9\u51fb\u3010\u4fee\u590d\u3011\u6309\u94ae\u5c1d\u8bd5\u4fee\u590d\u9762\u677f<br>\u5728\u9762\u677f\u3010\u8bbe\u7f6e\u3011\u9762\u9875\u5c1d\u8bd5\u4fee\u6539\u3010\u9762\u677f\u4e91\u7aef\u8bf7\u6c42\u7ebf\u8def\u3011<br>\u5728\u9762\u677f\u3010\u8bbe\u7f6e\u3011\u9762\u9875\u5c1d\u8bd5\u4fee\u6539\u3010\u9762\u677f\u4e91\u7aef\u901a\u8baf\u8282\u70b9\u914d\u7f6e\u3011<br>\u5728\u9762\u677f\u3010\u8bbe\u7f6e\u3011\u9762\u9875\u5c1d\u8bd5\u4fee\u6539\u3010\u9762\u677f\u4e91\u7aef\u8bf7\u6c42\u65b9\u5f0f\u3011<br>\u6253\u5f00\u5821\u5854\u5b98\u7f51\u67e5\u770b\u4e91\u7aef\u670d\u52a1\u5668\u662f\u5426\u5728\u7ef4\u62a4\uff1a\u6253\u5f00\u5821\u5854\u5b98\u7f51<br>\u6392\u67e5\u672c\u5730\u670d\u52a1\u5668\u7edc\u662f\u5426\u5b58\u5728\u5f02\u5e38<br>\u5411\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u8bf7\u6c42\u534f\u52a9<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u89e3\u51b3\u65b9\u6cd5\uff1a<\/mark><\/strong><\/p>\n\n\n\n<p>\u4e91\u670d\u52a1\u5668\u56fd\u5185\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u6267\u884c\u4e0b\u9762\u7684SSH\u547d\u4ee4\uff0c\u6307\u5b9a\u8282\u70b9\u89e3\u51b3\u6b64\u95ee\u9898<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>sed -i &#8220;\/bt.cn\/d&#8221; \/etc\/hosts<\/li><li>echo &#8220;116.10.184.232 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn&#8221; >> \/etc\/hosts<\/li><\/ol>\n\n\n\n<p>\u4e91\u670d\u52a1\u5668\u5883\u5916\u5730\u533a\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u6267\u884c\u4e0b\u9762\u7684SSH\u547d\u4ee4\uff0c\u6307\u5b9a\u8fd9\u4e2a\u8282\u70b9\u89e3\u51b3\u6b64\u95ee\u9898<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>sed -i &#8220;\/bt.cn\/d&#8221; \/etc\/hosts<\/li><li>echo &#8220;128.1.164.196 www.bt.cn download.bt.cn api.bt.cn dg1.bt.cn dg2.bt.cn&#8221; &gt;&gt; \/etc\/hosts<\/li><\/ol>\n\n\n\n<p>\u5982\u679c\u4f7f\u7528\u4e0a\u9762\u7684\u65b9\u6cd5\u90fd\u65e0\u6cd5\u89e3\u51b3\uff0c\u8bf7\u5728\u5b9d\u5854\u8bba\u575b\u53d1\u5e16\u5e76\u63cf\u8ff0\u6e05\u695a\u670d\u52a1\u5668\u5177\u4f53\u7684\u5730\u533a\u3001\u56e0\u4e3a\u4ec0\u4e48\u53d1\u5e16\u3001\u9519\u8bef\u622a\u56fe\uff0c\u7b49\u5f85\u5b9d\u5854\u8fd0\u7ef4\u89e3\u7b54\uff01\u8be6\u89c1\u5b9d\u5854\u8bba\u575b\u89e3\u51b3\u65b9\u6cd5\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/www.bt.cn\/bbs\/thread-87257-1-1.html\" target=\"_blank\">https:\/\/www.bt.cn\/bbs\/thread-87257-1-1.html<\/a><\/p>\n<div><img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/images\/ad-845-3.png\" alt=\"\u56fe\u7247\u63cf\u8ff0\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>\u5b9d\u5854\u670d\u52a1\u5668\u9762\u677f\u767b\u5f55\u4f1a\u5458\u62a5\u9519\uff1a the JSON object must be str, bytes or bytearray, not bool During handling of the above exception, another exception occurred: Traceback (most recent call last): File &#8220;\/www\/server\/panel\/BTPanel\/init.py&#8221;, line 1786, in publicObject return run_exec().run(toObject, defs, get) &#8230; <a href=\"https:\/\/www.ldhost.cn\/jc\/bt\/9640.html\" class=\"readmore\">\u9605\u8bfb\u5168\u6587<span class=\"screen-reader-text\">\u5b9d\u5854\u670d\u52a1\u5668\u9762\u677f\u767b\u5f55\u624b\u673a\u4f1a\u5458\u62a5\u9519\uff1athe JSON object must be str, bytes or bytearray<\/span><span class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-9640","post","type-post","status-publish","format-standard","hentry","category-bt","content-layout-excerpt-thumb"],"_links":{"self":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/9640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/comments?post=9640"}],"version-history":[{"count":1,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/9640\/revisions"}],"predecessor-version":[{"id":9642,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/9640\/revisions\/9642"}],"wp:attachment":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/media?parent=9640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/categories?post=9640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/tags?post=9640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}