Comfy-Org / Comfy-Org/ComfyUI-Manager

Error while fetching data when trying to install custom nodes

Open
#416 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.1k
Forks
2.5k
Avg merge
5d 4h
Merged PRs (30d)
13

Description

Not sure why this is happening. I tried both python 3.12 and 3.11 just in case it might've been an issue with the python version itself.

```
Exception in thread Thread-3 ():
Traceback (most recent call last):
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/__init__.py", line 2359, in
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/__init__.py", line 2356, in default_cache_update
await asyncio.gather(a, b, c, d)
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/__init__.py", line 2344, in get_cache
json_obj = await get_data(uri, True)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/__init__.py", line 547, in get_data
async with session.get(uri) as resp:
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/site-packages/aiohttp/client.py", line 1194, in __aenter__
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/site-packages/aiohttp/client.py", line 504, in _request
with timer:
File "/modules/apps/anaconda3/envs/debugcomfy/lib/python3.11/site-packages/aiohttp/helpers.py", line 735, in __exit__
raise asyncio.TimeoutError from None
TimeoutError
[ComfyUI-Manager] Due to a network error, switching to local mode.

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in custom_nodes/ComfyUI-Manager/__init__.py at get_data, get_cache, and default_cache_update, then inspect the aiohttp request path shown in the traceback. Reproduce the custom-node data fetch and determine the expected behavior when the request times out. Done means the reported installation-fetch failure has a documented or verified resolution and the local-mode fallback still behaves as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.