mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-21 18:05:33 -04:00
dify1.0 comfyui plugin upload image error #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sunhong1019 on GitHub (Mar 4, 2025).
I updated Dify to version 1.0 today and reinstalled the ComfyUI plugin. However, when I use the uploaded image to generate another image in the workflow, an http error occurs. There was no such problem in the previous version. Could you please tell me what I should do?
error:
Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"UnsupportedProtocol","message":"Request URL is missing an 'http://' or 'https://' protocol."}
@dosubot[bot] commented on GitHub (Mar 4, 2025):
@sunhong1019 你好! 我是Dosu,一个可以帮助你解决错误、回答问题并成为贡献者的机器人。在等待人类维护者的期间,我会尽力帮助你。
In Dify version 1.0, the "图片上传" (image upload) functionality was replaced with a more comprehensive "文件上传" (file upload) feature. To resolve the issue you're facing with the ComfyUI plugin, ensure that you have enabled the "文件上传" feature and selected only the "图片" (image) type. Additionally, make sure the Vision function is enabled in the LLM node and that the
sys.filesvariable is correctly configured, although it's recommended to use custom file variables for future-proofing [1][2].Regarding the HTTP error, ensure that the image URLs you are using include the correct protocol, either "http://" or "https://". This is necessary to avoid the "UnsupportedProtocol" error you're encountering. If the URLs are missing these protocols, you will need to update them accordingly.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other