ltdrdata / ComfyUI-Manager

ComfyUI-Manager is an extension designed to enhance the usability of ComfyUI. It offers management functions to install, remove, disable, and enable various custom nodes of ComfyUI. Furthermore, this extension provides a hub feature and convenience functions to access a wide range of information within ComfyUI.
GNU General Public License v3.0
6.69k stars 865 forks source link

json.decoder.JSONDecodeError #1007

Closed chensyo closed 3 weeks ago

chensyo commented 2 months ago

Recently, this error is bound to occur when not using VPN proxy, but not when enabling VPN. Exception in thread Thread-9 (): Traceback (most recent call last): File "D:\Program Files (x86)\ComfyUI\python\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "", line 99, in run File "", line 94, in _run_old_run_func File "", line 1649, in reraise File "", line 92, in _run_old_run_func File "D:\Program Files (x86)\ComfyUI\python\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "D:\Program Files (x86)\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1343, in threading.Thread(target=lambda: asyncio.run(default_cache_update())).start() File "D:\Program Files (x86)\ComfyUI\python\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "D:\Program Files (x86)\ComfyUI\python\lib\asyncio\base_events.py", line 649, in run_until_complete return future.result() File "D:\Program Files (x86)\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1340, in default_cache_update await asyncio.gather(a, b, c, d, e) File "D:\Program Files (x86)\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1327, in get_cache json_obj = await core.get_data(uri, True) File "D:\Program Files (x86)\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 619, in get_data json_obj = json.loads(json_text) File "D:\Program Files (x86)\ComfyUI\python\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "D:\Program Files (x86)\ComfyUI\python\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "D:\Program Files (x86)\ComfyUI\python\lib\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)

ltdrdata commented 2 months ago

It is your network issue, and there is currently no solution. It could be resolved in the future when reverse proxy support is implemented

chensyo commented 2 months ago

I see,Thank you for your reply despite your busy time!