Neural Forge Troubleshooting
Common Neural Forge errors and how to fix them.
Connection issues
"Connection refused" or "Test failed"
- Is ComfyUI running? Check
http://localhost:8188in your browser. - Did you use
--listen? Without it, ComfyUI only accepts connections from 127.0.0.1. - Is cloudflared running? Check the terminal for errors.
- Did the tunnel URL change? Temporary URLs change every restart, so copy the new one.
CORS errors in the browser console.
--enable-cors-header. Stop ComfyUI and restart it with the flag: python main.py --listen --enable-cors-headerWebSocket connection fails. Cloudflare Tunnels support WebSocket by default. If you see WebSocket errors:
- Make sure you are using
https://(nothttp://) for the tunnel URL in Panel Haus. - Check that ComfyUI's WebSocket port matches the HTTP port (default: both 8188).
Generation errors
400 Bad Request, "Node not found."
- DetailDaemonSamplerNode, install:
cd custom_nodes && git clone https://github.com/Jonseed/ComfyUI-Detail-Daemon - BEN2 / RMBG nodes, install:
cd custom_nodes && git clone https://github.com/Loewen-Hob/rembg-comfyui-node-better
Always restart ComfyUI after installing custom nodes.
RMBG background removal, "process_res" error. This happens when the BEN2 model file is missing or corrupted.
- Check that the model file exists in
ComfyUI/models/(location depends on the node pack). - Re-download the model if it is corrupted or zero-byte.
- Restart ComfyUI.
Performance issues
Slow generation or timeouts. Cloudflare Tunnels add minimal latency (about 10 to 50ms). If generations are slow:
- Check your GPU utilization. Is it maxed out?
- Larger images take longer. Try a smaller resolution first.
- The first generation after startup is always slow (the model loads into VRAM). Later ones are faster.
"Bad gateway" (502). ComfyUI crashed or is not running. Check the ComfyUI terminal for errors, then restart it.
Out of VRAM.
--lowvram flag to ComfyUI's launch command.Tunnel URL changed. If using the temporary quick-start tunnel, the URL changes every restart. Either copy the new URL into Neural Forge settings each time, or set up a named tunnel for a permanent URL.