TypeError: Failed to fetch
Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Your question
Logs
Other
No response
Same error on my side.
same error on my side i dont know what to do
same... what should i do next? or how to find the bug?
only thing that worked for me was restarting the pc, try it, maybe it helps
Can someone post logs?
I restart my pc for about three times, but it doesn't work. Besides, it shows that it is 'unable to load logs'. The other solutions I've tried:
- Off the system proxy, or change the proxies;
- install the ComfyUI again. But my comfyui still dead... Any other ways I can try?
On Thu, Aug 7, 2025 at 1:36 PM fabiandelgadillo185-gif < @.***> wrote:
fabiandelgadillo185-gif left a comment (comfyanonymous/ComfyUI#9199) https://github.com/comfyanonymous/ComfyUI/issues/9199#issuecomment-3162561221
only thing that worked for me was restarting the pc, try it, maybe it helps
— Reply to this email directly, view it on GitHub https://github.com/comfyanonymous/ComfyUI/issues/9199#issuecomment-3162561221, or unsubscribe https://github.com/notifications/unsubscribe-auth/BU6237ZG6GUWZWLRVTU5KZL3MLQWZAVCNFSM6AAAAACDGX36LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNRSGU3DCMRSGE . You are receiving this because you commented.Message ID: @.***>
I think its a problem in the main repo and on our appoach on installing models
So, I got the Solution. The issue is ComfyUI's backend stops running and throws this errors.
Main Cause: ComfyUI is trying to use CUDA (GPU acceleration), but your environment does not have an NVIDIA GPU or the necessary drivers installed.
Solution: If your system don't have NVIDIA RTX graphics card or some other with CUDA Cores, re-install ComfyUI with 'CPU' or 'Manual' option instead of NVIDIA. But, if you do have NVIDIA graphics card then its not up-to-date and don't have CUDA Drivers required.
Check if your system has CUDA drivers using:
nvidia-smi
nvcc --version
in your terminal if not installed CUDA Toolkit using think link:
Official NVIDIA Download
Hope this works. Peace out.
So, I got the Solution. The issue is ComfyUI's backend stops running and throws this errors.
Main Cause: ComfyUI is trying to use CUDA (GPU acceleration), but your environment does not have an NVIDIA GPU or the necessary drivers installed.
Solution: If your system don't have NVIDIA RTX graphics card or some other with CUDA Cores, re-install ComfyUI with 'CPU' or 'Manual' option instead of NVIDIA. But, if you do have NVIDIA graphics card then its not up-to-date and don't have CUDA Drivers required.
Check if your system has CUDA drivers using:
nvidia-sminvcc --versionin your terminal if not installed CUDA Toolkit using think link: Official NVIDIA DownloadHope this works. Peace out.
same error after installed CUDA Toolkit and driver. i can find the nvidia-smi but i can't find the nvcc --version in my terminal
Basic info collection if ComfyUI won't even start: https://docs.comfy.org/troubleshooting/overview#from-command-line
If you're using desktop, the log locations are also on that page (main.log, comfyui.log). For any other type of install, you can just copy & paste the output in the terminal window (cmd.exe, Windows Terminal, etc).
[2025-08-09 21:27:50.501] [info] Adding extra search path custom_nodes D:\AI\2025\ComfyUI\custom_nodes Adding extra search path download_model_base D:\AI\2025\ComfyUI\models Adding extra search path custom_nodes C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes Setting output directory to: D:\AI\2025\ComfyUI\output Setting input directory to: D:\AI\2025\ComfyUI\input Setting user directory to: D:\AI\2025\ComfyUI\user
[2025-08-09 21:27:52.158] [info] [START] Security scan [DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-08-09 21:27:52.159
** Platform: Windows
[2025-08-09 21:27:52.160] [info]
** Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
** Python executable: D:\AI\2025\ComfyUI.venv\Scripts\python.exe
** ComfyUI Path: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI
** ComfyUI Base Folder Path: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI
** User directory: D:\AI\2025\ComfyUI\user
** ComfyUI-Manager config path: D:\AI\2025\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: D:\AI\2025\ComfyUI\user\comfyui.log
[2025-08-09 21:27:53.024] [error] [ComfyUI-Manager] Failed to restore comfyui-frontend-package expected str, bytes or os.PathLike object, not NoneType
[2025-08-09 21:27:53.025] [info]
Prestartup times for custom nodes:
2.5 seconds: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
[2025-08-09 21:27:55.718] [info] Checkpoint files will always be loaded safely.
[2025-08-09 21:27:56.324] [info] Total VRAM 16376 MB, total RAM 32387 MB pytorch version: 2.7.0+cu128
[2025-08-09 21:27:56.326] [info] Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 Laptop GPU : cudaMallocAsync
[2025-08-09 21:27:58.202] [info] Using pytorch attention
[2025-08-09 21:28:00.174] [info] Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)] ComfyUI version: 0.3.49
[2025-08-09 21:28:00.203] [info] [Prompt Server] web root: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
[2025-08-09 21:28:01.235] [info] ### Loading: ComfyUI-Manager (V3.30.4)
[2025-08-09 21:28:01.237] [info] [ComfyUI-Manager] network_mode: public
ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-08-09 21:28:01.252] [info]
Import times for custom nodes:
0.0 seconds: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
[2025-08-09 21:28:01.253] [info] 0.0 seconds: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
[2025-08-09 21:28:01.326] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-08-09 21:28:01.337] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-08-09 21:28:01.341] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-08-09 21:28:01.387] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-08-09 21:28:01.448] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-08-09 21:28:01.825] [error] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file (Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-08-09 21:28:01.838] [info] Starting server
[2025-08-09 21:28:01.840] [info] To see the GUI go to: http://127.0.0.1:8000
[2025-08-09 21:28:03.280] [error] comfyui-frontend-package not found in requirements.txt
[2025-08-09 21:28:06.857] [info] FETCH ComfyRegistry Data: 5/93
[2025-08-09 21:28:10.996] [info] FETCH ComfyRegistry Data: 10/93
[2025-08-09 21:28:12.015] [info] got prompt
[2025-08-09 21:28:12.050] [info] Using pytorch attention in VAE
[2025-08-09 21:28:12.051] [info] Using pytorch attention in VAE
[2025-08-09 21:28:12.256] [info] VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
[2025-08-09 21:28:12.911] [info] Requested to load WanTEModel
[2025-08-09 21:28:12.915] [info] loaded completely 9.5367431640625e+25 10835.4765625 True
[2025-08-09 21:28:12.917] [info] CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
[2025-08-09 21:28:16.107] [info] FETCH ComfyRegistry Data: 15/93
[2025-08-09 21:28:20.868] [info] FETCH ComfyRegistry Data: 20/93
[2025-08-09 21:27:47.594] [info] Using uv at C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\uv\win\uv.exe [2025-08-09 21:27:47.595] [info] Install state: installed [2025-08-09 21:27:47.596] [info] Validating installation. Recorded state: [installed] [2025-08-09 21:27:47.600] [info] Running direct process command: pip install --dry-run -r C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\requirements.txt [2025-08-09 21:27:47.601] [info] Running command: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\uv\win\uv.exe pip install --dry-run -r C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\requirements.txt in D:\AI\2025\ComfyUI [2025-08-09 21:27:47.662] [info] Running direct process command: pip install --dry-run -r C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt [2025-08-09 21:27:47.663] [info] Running command: C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\uv\win\uv.exe pip install --dry-run -r C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt in D:\AI\2025\ComfyUI [2025-08-09 21:27:48.003] [info] Validation result: isValid:true, state:installed {"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"} [2025-08-09 21:27:50.243] [info] Server start [2025-08-09 21:27:50.255] [info] Running command: D:\AI\2025\ComfyUI.venv\Scripts\python.exe C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py --user-directory D:\AI\2025\ComfyUI\user --input-directory D:\AI\2025\ComfyUI\input --output-directory D:\AI\2025\ComfyUI\output --front-end-root C:\Users\chen7\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app --base-directory D:\AI\2025\ComfyUI --extra-model-paths-config C:\Users\chen7\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 in D:\AI\2025\ComfyUI [2025-08-09 21:27:50.297] [info] Received renderer-ready message! [2025-08-09 21:27:50.297] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.297] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-08-09 21:27:50.300] [info] Sending queued message {"channel":"loading-progress","data":{"status":"starting-server"}} [2025-08-09 21:28:02.408] [info] Python server is ready [2025-08-09 21:28:20.245] [error] @todesktop/runtime: alwaysResolve: Promise timed out after 30000ms [2025-08-09 21:28:20.338] [info] @todesktop/runtime: Checking for update [2025-08-09 21:28:20.338] [info] @todesktop/runtime: AutoUpdater: checking-for-update [2025-08-09 21:28:21.106] [info] @todesktop/runtime: Update for version 0.4.61 is not available (latest version: 0.4.61, downgrade is allowed). [2025-08-09 21:28:21.106] [info] @todesktop/runtime: AutoUpdater: update-not-available {"version":"0.4.61","files":[{"url":"ComfyUI Setup 0.4.61 - Build 250805o3pa42x0d-x64.exe","sha512":"kkN7QCNoeqE9TsSBmcxl6nzApKnmHnhb7UuEzULlEvaUEUau+fdPvQ6Vpqb6vQPLPirhAVJKBLGemCstCsywEg==","size":114919440}],"path":"ComfyUI Setup 0.4.61 - Build 250805o3pa42x0d-x64.exe","sha512":"kkN7QCNoeqE9TsSBmcxl6nzApKnmHnhb7UuEzULlEvaUEUau+fdPvQ6Vpqb6vQPLPirhAVJKBLGemCstCsywEg==","releaseDate":"2025-08-05T13:25:29.044Z"} [2025-08-09 21:28:34.433] [error] Python process exited with code 3221225477 and signal null
As you're using desktop, can you please try renaming the .venv folder in your ComfyUI install dir? The next time you start the app, it should put you into troubleshooting mode and allow you to try initializing the venv again. Renaming the folder ensures you have a backup in case you want to switch back for some reason.
🚨 ANTES DE TUDO (IMPORTANTE)
Se tiver:
Python 3.14
Python 3.12
Python 3.11
👉 DESINSTALE TODOS
Como desinstalar:
Win + R
Digite:
appwiz.cpl
Remova todas as versões de Python.
Reinicie o PC.
🟢 PASSO 1 — INSTALAR PYTHON CORRETO
Baixe:
👉 Python 3.10.19 (64-bit)
Durante a instalação:
✅ Marque Add Python to PATH Clique em Install Now
Depois teste:
python --version
Tem que aparecer algo como:
Python 3.10.x
Se aparecer isso → OK ✅
🟢 PASSO 2 — INSTALAR GIT (SE NÃO TIVER)
Baixe e instale o Git.
Depois teste no CMD:
git --version
Se aparecer versão → OK ✅
🟢 PASSO 3 — BAIXAR O COMFYUI
Escolha uma pasta (exemplo: Documentos)
No CMD:
cd C:\Users\SEU_USUARIO\Documents
Depois:
git clone https://github.com/comfyanonymous/ComfyUI.git
Espere terminar.
Depois entre na pasta:
cd ComfyUI
🟢 PASSO 4 — INSTALAR PYTORCH CERTO (CUDA 11.8)
⚠️ Esse passo é CRÍTICO
Se a placa for mais antiga (ex: GTX 960, 1060, 1660 etc):
Use cu118
Digite:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Espere terminar (vai baixar ~2.7GB).
🟢 PASSO 5 — INSTALAR DEPENDÊNCIAS DO PROJETO
Ainda dentro da pasta ComfyUI:
pip install -r requirements.txt
Espere terminar.
🟢 PASSO 6 — RODAR O COMFYUI
Ainda na pasta:
python main.py
Se deu certo vai aparecer:
Device: cuda:0 NVIDIA ... Starting server To see the GUI go to: http://127.0.0.1:8188
Abra no navegador:
http://127.0.0.1:8188
PRONTO 🔥
🟡 SE DER ERRO CUDA
Atualize os drivers da NVIDIA.
🔵 PARA ATUALIZAR NO FUTURO
Entre na pasta ComfyUI:
git pull pip install -r requirements.txt
📌 RESUMO DA RECEITA CERTA
✔ Python 3.10.19 ✔ Git instalado ✔ torch cu118 ✔ requirements instalados ✔ rodar com python main.py
I also encountered a similar error: it prompts that it cannot connect to the server log, and then "fail to fetch".
It might be a problem of too much memory usage, at least that's what Gemini told me when I asked it.
After I followed Gemini's suggestion to increase the virtual memory to 40G, this error no longer occurred.