yevanchen /markitdown Request URL is missing an 'http://' or 'https://' protocol. with dify upload file #22

Closed
opened 2026-02-22 17:16:00 -05:00 by yindo · 10 comments
Owner

Originally created by @conglei1981 on GitHub (Mar 31, 2025).

yevanchen /markitdown Request URL is missing an 'http://' or 'https://' protocol. with dify upload file

input :
{
"files": [
{
"dify_model_identity": "dify__file",
"id": null,
"tenant_id": "66c1d595-f390-426a-a175-595feb6f7105",
"type": "document",
"transfer_method": "local_file",
"remote_url": "",
"related_id": "14a13ffe-6963-425a-b92d-2b982b58c91c",
"filename": "使用本地部署的dify.docx",
"extension": ".docx",
"mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"size": 474691,
"url": "/files/14a13ffe-6963-425a-b92d-2b982b58c91c/file-preview?timestamp=1743478499&nonce=472e88774ade3dca8f6923f1b457a16c&sign=BNcsIAWKCHzx0DxKmmefqyifFhfg9jej3Os3x9W4fzE="
}
]
}

output

{
"text": "Error processing file 使用本地部署的dify.docx: Request URL is missing an 'http://' or 'https://' protocol.No files were successfully processed",
"files": [],
"json": [
{
"results": [
{
"error": "Error processing file 使用本地部署的dify.docx: Request URL is missing an 'http://' or 'https://' protocol.",
"filename": "使用本地部署的dify.docx",
"original_format": "docx",
"status": "error"
}
],
"status": "error",
"successful_conversions": 0,
"total_files": 1
}
]
}

Originally created by @conglei1981 on GitHub (Mar 31, 2025). yevanchen /markitdown Request URL is missing an 'http://' or 'https://' protocol. with dify upload file input : { "files": [ { "dify_model_identity": "__dify__file__", "id": null, "tenant_id": "66c1d595-f390-426a-a175-595feb6f7105", "type": "document", "transfer_method": "local_file", "remote_url": "", "related_id": "14a13ffe-6963-425a-b92d-2b982b58c91c", "filename": "使用本地部署的dify.docx", "extension": ".docx", "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "size": 474691, "url": "/files/14a13ffe-6963-425a-b92d-2b982b58c91c/file-preview?timestamp=1743478499&nonce=472e88774ade3dca8f6923f1b457a16c&sign=BNcsIAWKCHzx0DxKmmefqyifFhfg9jej3Os3x9W4fzE=" } ] } output { "text": "Error processing file 使用本地部署的dify.docx: Request URL is missing an 'http://' or 'https://' protocol.No files were successfully processed", "files": [], "json": [ { "results": [ { "error": "Error processing file 使用本地部署的dify.docx: Request URL is missing an 'http://' or 'https://' protocol.", "filename": "使用本地部署的dify.docx", "original_format": "docx", "status": "error" } ], "status": "error", "successful_conversions": 0, "total_files": 1 } ] }
yindo closed this issue 2026-02-22 17:16:01 -05:00
Author
Owner

@conglei1981 commented on GitHub (Apr 1, 2025):

的确是,关键是对中文社区很不友好,必须要求用英文反馈。这不是中国的公司么?

@conglei1981 commented on GitHub (Apr 1, 2025): 的确是,关键是对中文社区很不友好,必须要求用英文反馈。这不是中国的公司么?
Author
Owner

@zzb181 commented on GitHub (Apr 1, 2025):

管他用不用英文。我知道问题在哪里了。
在.env文件里。有个FILES_URL参数要配一下。
配完就不报这个错了。但又有别的错。

@zzb181 commented on GitHub (Apr 1, 2025): 管他用不用英文。我知道问题在哪里了。 在.env文件里。有个FILES_URL参数要配一下。 配完就不报这个错了。但又有别的错。
Author
Owner

@yhXu1 commented on GitHub (Apr 1, 2025):

为什么调了还是报同样的错,我也重启了,是因为调错了吗

@yhXu1 commented on GitHub (Apr 1, 2025): 为什么调了还是报同样的错,我也重启了,是因为调错了吗
Author
Owner

@conglei1981 commented on GitHub (Apr 1, 2025):

我的也是 改了配置还是一样错误,

@conglei1981 commented on GitHub (Apr 1, 2025): 我的也是 改了配置还是一样错误,
Author
Owner

@yhXu1 commented on GitHub (Apr 2, 2025):

Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"RuntimeError","message":"Failed to create extraction task after multiple attempts"}
那个错误调好了又出现了这样的报错

@yhXu1 commented on GitHub (Apr 2, 2025): Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"RuntimeError","message":"Failed to create extraction task after multiple attempts"} 那个错误调好了又出现了这样的报错
Author
Owner

@conglei1981 commented on GitHub (Apr 2, 2025):

这些工具上架之前没有测试么

@conglei1981 commented on GitHub (Apr 2, 2025): 这些工具上架之前没有测试么
Author
Owner

@conglei1981 commented on GitHub (Apr 2, 2025):

File conversion failed after 1 attempts:\n - DocxConverter threw MissingDependencyException with message: DocxConverter recognized the input as a potential .docx file, but the dependencies needed to read .docx files have not been installed. To resolve this error, include the optional dependency [docx] or [all] when installing MarkItDown. For example:\n\n* pip install markitdown[docx]\n* pip install markitdown[all]\n* pip install markitdown[docx, ...]\n* etc.\nNo files were successfully processed

@conglei1981 commented on GitHub (Apr 2, 2025): File conversion failed after 1 attempts:\n - DocxConverter threw MissingDependencyException with message: DocxConverter recognized the input as a potential .docx file, but the dependencies needed to read .docx files have not been installed. To resolve this error, include the optional dependency [docx] or [all] when installing MarkItDown. For example:\n\n* pip install markitdown[docx]\n* pip install markitdown[all]\n* pip install markitdown[docx, ...]\n* etc.\nNo files were successfully processed
Author
Owner

@fdb02983rhy commented on GitHub (Apr 10, 2025):

FYI

@fdb02983rhy commented on GitHub (Apr 10, 2025): FYI - https://github.com/langgenius/dify-plugin-sdks/issues/58
Author
Owner

@itzhoujun commented on GitHub (Apr 16, 2025):

咋解决啊

@itzhoujun commented on GitHub (Apr 16, 2025): 咋解决啊
Author
Owner

@492943735 commented on GitHub (Apr 28, 2025):

怎么解决,各位大神

@492943735 commented on GitHub (Apr 28, 2025): 怎么解决,各位大神
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#22