Problem Description
Several workflow media-generation nodes download generated remote media with requests.get(...).content but do not set a timeout.
Code Locations
apps/application/flow/step_node/image_generate_step_node/impl/base_image_generate_node.py:62
apps/application/flow/step_node/image_to_video_step_node/impl/base_image_to_video_node.py:68
apps/application/flow/step_node/text_to_video_step_node/impl/base_text_to_video_node.py:62
Steps to Reproduce
- Configure an image/video generation model provider that returns an HTTP URL as the generated media result.
- Make that URL slow, unreachable, or keep the TCP connection open without sending a complete response.
- Run the corresponding workflow node.
Actual Result
The workflow node calls requests.get(url).content without a timeout, so the workflow execution can block for a long time or indefinitely while downloading the generated media.
Expected Result
The download should use an explicit timeout and report a controlled node error when the media cannot be fetched in time.
Impact
A bad or slow generated media URL can tie up workflow execution resources and make the node appear stuck instead of failing predictably.
MaxKB Version
Current v2 branch.
Problem Description
Several workflow media-generation nodes download generated remote media with
requests.get(...).contentbut do not set a timeout.Code Locations
apps/application/flow/step_node/image_generate_step_node/impl/base_image_generate_node.py:62apps/application/flow/step_node/image_to_video_step_node/impl/base_image_to_video_node.py:68apps/application/flow/step_node/text_to_video_step_node/impl/base_text_to_video_node.py:62Steps to Reproduce
Actual Result
The workflow node calls
requests.get(url).contentwithout a timeout, so the workflow execution can block for a long time or indefinitely while downloading the generated media.Expected Result
The download should use an explicit timeout and report a controlled node error when the media cannot be fetched in time.
Impact
A bad or slow generated media URL can tie up workflow execution resources and make the node appear stuck instead of failing predictably.
MaxKB Version
Current
v2branch.