• Support
  • JSON Decode Error when running panel

Hi folks !
I have JSON decode error pop up when I go to aapanel, i made sure o install the python library and that everything is up to date but still recieve this message

Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 1814, in publicObject
    return run_exec().run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 1766, in run
    result = getattr(toObject,get.action)(get)
  File "class/ajax.py", line 1639, in get_pay_type
    plugin_list = plu_panel.get_cloud_list()
  File "class/panelPlugin.py", line 367, in get_cloud_list
    listTmp=listTmp.json()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    Hello, is the problem solved? Is it normal to try restarting the panel? Also check if the server can connect to our node server?

    curl -v https://brandnew.aapanel.com
    ping brandnew.aapanel.com -c 5
    ping google.com -c 5
    curl -v http://brandnew.aapanel.com

    mctypon

    Hello Kern !

    I restarted the panel => The issue persist
    I have run the suggested commands => all curls and ping commands succeed, so no issue connecting to aapanel or google

    Do you have any other suggestions to solve the issue ?

    Many thanks !

      Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
      It is recommended to fill in the following
      Post link:
      SSH IP address, account password and port:
      aapanel login link address and account password:

      No post link will not be able to know which user's information is, and the problem will not be processed

      mctypon