Can't drop image to upload anymore, 'Failed to fetch', H2 or QUIC REQUIRED
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 153
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Dropping an image on core "Load Image" make a local copy in input/ and loads the image.
### Actual Behavior
Now, when I drop the image:

I disabled custom nodes, updated to latest version as today ( v0.3.40), still no luck.
I also enabled the QUIC protocol and restarted the browser:

### Steps to Reproduce
Workflow > Templates > image to image
Drag an image from your OS (I'm using GNOME > nemo)
Drop it on the Load Image node
### Debug Logs
```powershell
client:
api.ts:294
POST http://localhost:8188/api/upload/image net::ERR_H2_OR_QUIC_REQUIRED
fetchApi @ api.ts:294
uploadFile$1 @ useNodeImageUpload.ts:16
handleUpload @ useNodeImageUpload.ts:56
handleUploadBatch @ useNodeImageUpload.ts:65
node2.onDragDrop @ useNodeDragAndDrop.ts:44
(anonymous) @ app.ts:467
server:
uv run main.py --disable-all-custom-nodes
Checkpoint files will always be loaded safely.
Total VRAM 11918 MB, total RAM 23837 MB
pytorch version: 2.7.0+cu126
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
Using pytorch attention
Python version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]
ComfyUI version: 0.3.40
ComfyUI frontend version: 1.21.7
[Prompt Server] web root: /ComfyUI/.venv/lib/python3.10/site-packages/comfyui_frontend_package/static
Traceback (most recent call last):
File "/ComfyUI/nodes.py", line 2119, in load_custom_node
module_spec = importlib.util.spec_from_file_location(sys_module_name, os.path.join(module_path, "__init__.py"))
UnboundLocalError: local variable 'sys_module_name' referenced before assignment
Cannot import /ComfyUI/comfy_api_nodes/canary.py module for custom nodes: local variable 'sys_module_name' referenced before assignment
Skipping loading of custom nodes
WARNING: some comfy_api_nodes/ nodes did not import correctly. This may be because they are missing some dependencies.
IMPORT FAILED: nodes_ideogram.py
IMPORT FAILED: nodes_openai.py
IMPORT FAILED: nodes_minimax.py
IMPORT FAILED: nodes_veo2.py
IMPORT FAILED: nodes_kling.py
IMPORT FAILED: nodes_bfl.py
IMPORT FAILED: nodes_luma.py
IMPORT FAILED: nodes_recraft.py
IMPORT FAILED: nodes_pixverse.py
IMPORT FAILED: nodes_stability.py
IMPORT FAILED: nodes_pika.py
IMPORT FAILED: nodes_runway.py
IMPORT FAILED: nodes_tripo.py
IMPORT FAILED: nodes_rodin.py
IMPORT FAILED: nodes_gemini.py
This issue might be caused by new missing dependencies added the last time you updated ComfyUI.
Please do a: pip install -r requirements.txt
Starting server
To see the GUI go to: http://127.0.0.1:8188
```
### Other
PopOS 22.04, ComfyUI 0.3.40
`uv run main.py`
`uv pip list`
```
Package Version Editable project location
--------------------------------- ------------------ -------------------------
absl-py 2.3.0
accelerate 1.6.0
ace-step 0.2.0 /ComfyUI/ACE-Step
addict 2.4.0
aggdraw 1.3.19
aiofiles 24.1.0
aiohappyeyeballs 2.6.1
aiohttp 3.10.11
aiohttp-retry 2.8.3
aioice 0.10.1
aiortc 1.9.0
aiosignal 1.3.2
aiosqlite 0.21.0
albucore 0.0.24
albumentations 2.0.7
annotated-types 0.7.0
anthropic 0.49.0
antlr4-python3-runtime 4.9.3
anyio 4.9.0
apscheduler 3.11.0
async-timeout 5.0.1
asyncua 1.1.6
attrs 25.3.0
audioread 3.0.1
av 12.3.0
backoff 2.2.1
bchlib 2.1.3
beautifulsoup4 4.13.4
bitmath 1.3.3.1
bitsandbytes 0.45.5
bizyengine 1.2.10
bizyui 1.2.8
blend-modes 2.2.0
blind-watermark 0.4.4
blis 1.3.0
boto3 1.35.60
botocore 1.35.99
cachetools 5.5.2
catalogue 2.0.10
certifi 2025.4.26
cffi 1.17.1
chardet 4.0.0
charset-normalizer 3.4.2
click 8.1.8
cloudpathlib 0.21.1
cmake 4.0.2
color-matcher 0.6.0
coloredlogs 15.0.1
colorlog 6.9.0
colour-science 0.4.6
comfyui-embedded-docs 0.2.0
comfyui-frontend-package 1.21.6
comfyui-workflow-templates 0.1.25
confection 0.1.5
contourpy 1.3.2
cryptography 45.0.2
cssselect2 0.8.0
cstr 0.1.0
cutlet 0.5.0
cycler 0.12.1
cymem 2.0.11
cython 3.0.12
dataclasses-json 0.6.7
datasets 3.4.1
ddt 1.7.2
decorator 5.2.1
deepdiff 8.5.0
defusedxml 0.7.1
deprecated 1.2.18
deprecation 2.1.0
dghs-imgutils 0.17.0
diffusers 0.33.1
dill 0.3.8
distro 1.9.0
dnspython 2.7.0
docker 7.1.0
docopt 0.6.2
docstring-parser 0.16
docutils 0.21.2
easydict 1.13
einops 0.8.1
embreex 2.17.7.post6
emoji 2.11.1
exceptiongroup 1.3.0
fairscale 0.4.13
fastapi 0.110.3
ffmpy 0.3.0
filelock 3.17.0
flatbuffers 25.2.10
fonttools 4.58.0
frozenlist 1.6.0
fsspec 2025.5.1
ftfy 6.3.1
fugashi 1.4.3
fvcore 0.1.5.post20221221
gdown 5.2.0
gguf 0.16.3
gitdb 4.0.12
gitpython 3.1.44
google-ai-generativelanguage 0.6.15
google-api-core 2.25.0
google-api-python-client 2.171.0
google-auth 2.40.2
google-auth-httplib2 0.2.0
google-crc32c 1.7.1
google-generativeai 0.8.5
googleapis-common-protos 1.70.0
gradio 5.32.0
gradio-client 1.10.2
groovy 0.1.2
groundingdino-py 0.4.0
grpcio 1.72.1
grpcio-status 1.71.0
h11 0.16.0
hangul-romanize 0.1.0
hbutils 0.11.0
hf-xet 1.1.2
hfutils 0.11.1
httpcore 1.0.9
httplib2 0.22.0
httpx 0.28.1
huggingface-hub 0.32.0
humanfriendly 10.0
hydra-core 1.3.2
idna 3.10
ifaddr 0.2.0
imageio 2.37.0
imageio-ffmpeg 0.6.0
img2texture 1.0.6
importlib-metadata 8.7.0
inference-cli 0.50.3
inference-gpu 0.50.3
iniconfig 2.1.0
inputimeout 1.0.4
iopath 0.1.10
jaconv 0.4.0
jax 0.6.1
jaxlib 0.6.1
jinja2 3.1.6
jiter 0.10.0
jmespath 1.0.1
joblib 1.5.1
jsonschema 4.23.0
jsonschema-specifications 2025.4.1
kiwisolver 1.4.8
kornia 0.8.1
kornia-rs 0.1.9
langcodes 3.5.0
language-data 1.3.0
lazy-loader 0.4
librosa 0.11.0
lightning-utilities 0.14.3
llvmlite 0.44.0
lmdb 1.6.2
loguru 0.7.3
lxml 5.4.0
manifold3d 3.1.0
mapbox-earcut 1.0.3
marisa-trie 1.2.1
markdown 3.8
markdown-it-py 3.0.0
markupsafe 3.0.2
marshmallow 3.26.1
matplotlib 3.10.1
matrix-client 0.4.0
mdurl 0.1.2
mediapipe 0.10.21
ml-dtypes 0.5.1
mojimoji 0.0.13
mpmath 1.3.0
msgpack 1.1.0
mss 10.0.0
multidict 6.4.4
multiprocess 0.70.16
murmurhash 1.0.13
mypy-extensions 1.1.0
natsort 8.4.0
networkx 3.4.2
num2words 0.5.14
numba 0.61.2
numpy 1.26.4
nvidia-cublas-cu12 12.6.4.1
nvidia-cuda-cupti-cu12 12.6.80
nvidia-cuda-nvrtc-cu12 12.6.77
nvidia-cuda-runtime-cu12 12.6.77
nvidia-cudnn-cu12 9.5.1.17
nvidia-cufft-cu12 11.3.0.4
nvidia-cufile-cu12 1.11.1.6
nvidia-curand-cu12 10.3.7.77
nvidia-cusolver-cu12 11.7.1.2
nvidia-cusparse-cu12 12.5.4.2
nvidia-cusparselt-cu12 0.6.3
nvidia-ml-py 12.575.51
nvidia-nccl-cu12 2.26.2
nvidia-nvjitlink-cu12 12.6.85
nvidia-nvtx-cu12 12.6.77
omegaconf 2.3.0
onnxruntime 1.22.0
onnxruntime-gpu 1.21.1
openai 1.82.1
opencv-contrib-python 4.10.0.84
opencv-python 4.10.0.84
opencv-python-headless 4.11.0.86
opt-einsum 3.4.0
orderly-set 5.4.1
orjson 3.10.18
packaging 24.2
paho-mqtt 1.6.1
pandas 2.2.3
peft 0.15.2
piexif 1.1.3
pilgram 1.2.1
pillow 11.2.1
pilmoji 2.0.4
pip 25.1.1
pixeloe 0.1.4
platformdirs 4.3.8
pluggy 1.6.0
pooch 1.8.2
portalocker 3.1.1
preshed 3.0.10
prometheus-client 0.22.1
prometheus-fastapi-instrumentator 6.0.0
propcache 0.3.1
proto-plus 1.26.1
protobuf 5.29.5
psd-tools 1.10.7
psutil 7.0.0
py-cpuinfo 9.0.0
py3langid 0.3.0
pyarrow 20.0.0
pyasn1 0.6.1
pyasn1-modules 0.4.2
pybase64 1.0.2
pyclipper 1.3.0.post6
pycocotools 2.0.9
pycollada 0.9
pycparser 2.22
pycryptodome 3.23.0
pydantic 2.11.5
pydantic-core 2.33.2
pydantic-settings 2.7.1
pydot 2.0.0
pydub 0.25.1
pyee 13.0.0
pygithub 2.6.1
pygments 2.19.1
pyjwt 2.10.1
pylibsrtp 0.12.0
pylogix 1.0.5
pymatting 1.1.14
pymodbus 3.8.3
pynacl 1.5.0
pynvml 12.0.0
pyopenssl 25.1.0
pyparsing 3.0.9
pypinyin 0.53.0
pyrfc6266 1.0.2
pysocks 1.7.1
pytest 8.4.0
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
python-multipart 0.0.20
pytimeparse 1.1.8
pytorch-lightning 2.5.1
pytz 2025.2
pywavelets 1.8.0
pyyaml 6.0.2
pyzbar 0.1.9
qrcode 8.2
random-user-agent 1.0.1
redis 5.0.8
referencing 0.36.2
regex 2024.11.6
rembg 2.0.66
reportlab 4.4.1
requests 2.32.3
requests-file 2.1.0
requests-toolbelt 1.0.0
rf-clip 1.1
rich 13.9.4
rpds-py 0.25.1
rsa 4.9.1
rtree 1.4.0
ruff 0.11.12
s3transfer 0.10.4
safehttpx 0.1.6
safetensors 0.5.3
sageattention 1.0.6
scikit-image 0.25.2
scikit-learn 1.6.1
scipy 1.15.3
seaborn 0.13.2
segment-anything 1.0
semantic-version 2.10.0
sentencepiece 0.2.0
sentry-sdk 2.29.1
setproctitle 1.3.6
setuptools 80.8.0
shapely 2.0.7
shellingham 1.5.4
shtab 1.7.2
simsimd 6.2.1
six 1.17.0
slack-sdk 3.33.5
smart-open 7.1.0
smmap 5.0.2
sniffio 1.3.1
sortedcontainers 2.4.0
sounddevice 0.5.2
soundfile 0.13.1
soupsieve 2.7
soxr 0.5.0.post1
spacy 3.8.4
spacy-legacy 3.0.12
spacy-loggers 1.0.5
spandrel 0.4.1
srsly 2.5.1
starlette 0.37.2
stringzilla 3.12.5
structlog 24.4.0
supervision 0.25.1
svg-path 6.3
svglib 1.5.1
sympy 1.14.0
tabulate 0.9.0
tensorboard 2.19.0
tensorboard-data-server 0.7.2
tensorboardx 2.6.2.2
tensorimgutils 0.1.2
termcolor 3.1.0
thinc 8.3.6
threadpoolctl 3.6.0
tifffile 2025.5.10
tiktoken 0.9.0
timm 0.6.13
tinycss2 1.4.0
tldextract 5.1.3
tokenizers 0.21.1
toml 0.10.2
tomli 2.2.1
tomlkit 0.13.2
torch 2.7.0
torchaudio 2.7.0
torchmetrics 1.7.2
torchscale 0.3.0
torchsde 0.2.6
torchvision 0.22.0
tqdm 4.67.1
trampoline 0.1.2
transformers 4.52.3
transparent-background 1.3.4
trimesh 4.6.10
triton 3.3.0
twilio 9.3.8
typer 0.12.5
typer-config 1.4.2
typing-extensions 4.12.2
typing-inspect 0.9.0
typing-inspection 0.4.1
tyro 0.8.5
tzdata 2025.2
tzlocal 5.3.1
ultralytics 8.3.40
ultralytics-thop 2.0.14
unidic-lite 1.0.8
uritemplate 4.2.0
urllib3 2.4.0
urlobject 2.4.3
uv 0.7.8
uvicorn 0.34.3
vhacdx 0.0.8.post2
wait-for2 0.3.2
wandb 0.20.0
wasabi 1.1.3
wcwidth 0.2.13
weasel 0.4.1
webcolors 24.11.1
webencodings 0.5.1
websockets 15.0.1
werkzeug 3.1.3
wget 3.2
wheel 0.45.1
wrapt 1.17.2
xxhash 3.5.0
yacs 0.1.8
yapf 0.43.0
yarl 1.20.0
zipp 3.22.0
zxing-cpp 2.2.0
```
Contributor guide
Assessment
This issue has not been assessed yet.