-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
Potential BugUser is reporting a bug. This should be tested.User is reporting a bug. This should be tested.
Description
Custom Node Testing
- I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
Open the provided Vidu Text-to-Video API template. Enter a prompt. Run the task and get a video.
Actual Behavior
I receive a 403 response. However, when I attempt to access it via the URL directly it succeeds.
Steps to Reproduce
Choose the Vidu Template, enter text, and hit run.
Debug Logs
got prompt
Vidu task 902581991298326528 succeeded. Video URL: https://video.cf.vidu.com/infer/tasks/25/1227/19/902581304611074048/creation-01/video.mp4?response-content-disposition=attachment;filename=general-<<<FILTERED>>>.mp4&Expires=1766950232&Signature=<<<FILTERED>>>&Key-Pair-Id=<<<FILTERED>>>
!!! Exception during processing !!! Failed to download (HTTP 403).
Traceback (most recent call last):
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 440, in execute
raise ex
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 436, in execute
results.append(r.result())
^^^^^^^^^^
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 281, in async_wrapper
return await f(**args)
^^^^^^^^^^^^^^^
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\comfy_api\internal\__init__.py", line 145, in wrapped_async_func
return await method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\comfy_api\latest\_io.py", line 1540, in EXECUTE_NORMALIZED_ASYNC
to_return = await cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\comfy_api_nodes\nodes_vidu.py", line 220, in execute
return IO.NodeOutput(await download_url_to_video_output(get_video_from_response(results).url))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\comfy_api_nodes\util\download_helpers.py", line 240, in download_url_to_video_output
await download_url_to_bytesio(video_url, result, timeout=timeout, max_retries=max_retries, cls=cls)
File "C:\crash\ai\StabilityMatrix\Data\Packages\ComfyUI\comfy_api_nodes\util\download_helpers.py", line 133, in download_url_to_bytesio
raise Exception(f"Failed to download (HTTP {resp.status}).")
Exception: Failed to download (HTTP 403).
Prompt executed in 166.49 secondsOther
I have not done extensive testing due to the cost and the quality of the generated video. But of the two times I have use Vidu it has happened both times. Perhaps, if there is a 403 response then it could wait 5-10 secs and try again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Potential BugUser is reporting a bug. This should be tested.User is reporting a bug. This should be tested.