The error above is from ssrf-proxy.py:62, which only triggers when uploading a URL file for chat on the frontend page of Dify #8326

Closed
opened 2026-02-21 18:25:05 -05:00 by yindo · 1 comment
Owner

Originally created by @liuyao02 on GitHub (Feb 17, 2025).

@dosu I have more detailed error information on my end

Image
2025-02-14 09:37:45.425 INFO [Dummy-1] [_client.py:1038] - HTTP Request: HEAD https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/2025_01_21_11_52_04-20250121115351.jpg?auth_key=1737431631-0-0-ea2a843c1ac4b6340726a171bc75e5312e3fb876575ba47d1457ba578f6d54fb "HTTP/1.1 200 OK"
2025-02-14 09:37:45.602 INFO [Dummy-1] [_client.py:1038] - HTTP Request: GET https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/2025_01_21_11_52_04-20250121115351.jpg?auth_key=1737431631-0-0-ea2a843c1ac4b6340726a171bc75e5312e3fb876575ba47d1457ba578f6d54fb "HTTP/1.1 200 OK"
2025-02-14 09:38:01.190 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 1: Request URL is missing an 'http://' or 'https://' protocol.
2025-02-14 09:38:01.761 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 2: Request URL is missing an 'http://' or 'https://' protocol.
2025-02-14 09:38:02.832 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 3: Request URL is missing an 'http://' or 'https://' protocol.
2025-02-14 09:38:04.909 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 4: Request URL is missing an 'http://' or 'https://' protocol.
2025-02-17 01:53:48.017 INFO [Dummy-3] [_client.py:1038] - HTTP Request: HEAD https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/70afc092fbc3fded81c77e34568e6b57_exif-20250214154443.jpg?auth_key=1739519090-0-0-3f9b59797fd3b0f36f75e8529e76f8bd03af277c168d8a094f4fc05d8d749cfc&x-image-process=image/resize,p_70,m_lfit,w_1280 "HTTP/1.1 200 OK"
2025-02-17 01:53:48.208 INFO [Dummy-3] [_client.py:1038] - HTTP Request: GET https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/70afc092fbc3fded81c77e34568e6b57_exif-20250214154443.jpg?auth_key=1739519090-0-0-3f9b59797fd3b0f36f75e8529e76f8bd03af277c168d8a094f4fc05d8d749cfc&x-image-process=image/resize,p_70,m_lfit,w_1280 "HTTP/1.1 200 OK"
2025-02-17 01:53:52.122 WARNING [Dummy-5] [ssrf_proxy.py:62] - Request to URL /files/18fef9d8-ad5d-484f-91f0-389cef3c86f5/file-preview?timestamp=1739757228&nonce=5a59710b8d8e12fb557eedcd64d665f9&sign=oIbVP4_71HyzRHgM2MOEHLJVjGbLZP4tuNUEv_OR5II= failed on attempt 1: Request URL is missing an 'http://' or 'https://' protocol.

The error above is from ssrf-proxy.py:62, which only triggers when uploading a URL file for chat on the frontend page of Dify

Originally posted by @liuyao02 in #13786

Originally created by @liuyao02 on GitHub (Feb 17, 2025). > @dosu I have more detailed error information on my end > > ![Image](https://github.com/user-attachments/assets/4ba667d2-a019-491c-8367-1f3e774c4aa5) > 2025-02-14 09:37:45.425 INFO [Dummy-1] [_client.py:1038] - HTTP Request: HEAD https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/2025_01_21_11_52_04-20250121115351.jpg?auth_key=1737431631-0-0-ea2a843c1ac4b6340726a171bc75e5312e3fb876575ba47d1457ba578f6d54fb "HTTP/1.1 200 OK" > 2025-02-14 09:37:45.602 INFO [Dummy-1] [_client.py:1038] - HTTP Request: GET https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/2025_01_21_11_52_04-20250121115351.jpg?auth_key=1737431631-0-0-ea2a843c1ac4b6340726a171bc75e5312e3fb876575ba47d1457ba578f6d54fb "HTTP/1.1 200 OK" > 2025-02-14 09:38:01.190 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 1: Request URL is missing an 'http://' or 'https://' protocol. > 2025-02-14 09:38:01.761 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 2: Request URL is missing an 'http://' or 'https://' protocol. > 2025-02-14 09:38:02.832 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 3: Request URL is missing an 'http://' or 'https://' protocol. > 2025-02-14 09:38:04.909 WARNING [Dummy-2] [ssrf_proxy.py:62] - Request to URL /files/71ed5a0a-a80a-4007-b4e9-868d8382011d/file-preview?timestamp=1739525865&nonce=15b262ff4518654aa569c5077ea9e802&sign=DaJTk5i_lUDQiIhQ3vdrcx0yik3uMHo8kCWYRGa_q0k= failed on attempt 4: Request URL is missing an 'http://' or 'https://' protocol. > 2025-02-17 01:53:48.017 INFO [Dummy-3] [_client.py:1038] - HTTP Request: HEAD https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/70afc092fbc3fded81c77e34568e6b57_exif-20250214154443.jpg?auth_key=1739519090-0-0-3f9b59797fd3b0f36f75e8529e76f8bd03af277c168d8a094f4fc05d8d749cfc&x-image-process=image/resize,p_70,m_lfit,w_1280 "HTTP/1.1 200 OK" > 2025-02-17 01:53:48.208 INFO [Dummy-3] [_client.py:1038] - HTTP Request: GET https://private-tmsvx.vx56.com/prod/vxtms/cloudStorage/70afc092fbc3fded81c77e34568e6b57_exif-20250214154443.jpg?auth_key=1739519090-0-0-3f9b59797fd3b0f36f75e8529e76f8bd03af277c168d8a094f4fc05d8d749cfc&x-image-process=image/resize,p_70,m_lfit,w_1280 "HTTP/1.1 200 OK" > 2025-02-17 01:53:52.122 WARNING [Dummy-5] [ssrf_proxy.py:62] - Request to URL /files/18fef9d8-ad5d-484f-91f0-389cef3c86f5/file-preview?timestamp=1739757228&nonce=5a59710b8d8e12fb557eedcd64d665f9&sign=oIbVP4_71HyzRHgM2MOEHLJVjGbLZP4tuNUEv_OR5II= failed on attempt 1: Request URL is missing an 'http://' or 'https://' protocol. > > The error above is from ssrf-proxy.py:62, which only triggers when uploading a URL file for chat on the frontend page of Dify _Originally posted by @liuyao02 in [#13786](https://github.com/langgenius/dify/issues/13786#issuecomment-2661922248)_
yindo added the 🐞 bug label 2026-02-21 18:25:05 -05:00
yindo closed this issue 2026-02-21 18:25:05 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 17, 2025):

The repeated warnings about missing 'http://' or 'https://' protocols in URLs when uploading a URL file for chat on the frontend page of Dify are likely caused by a bug in Dify 0.15.0. This bug causes URLs to fail validation even when they are properly formatted. The issue has been fixed in a subsequent update through pull request #12452. To resolve this issue, you should update your Dify installation to a version that includes this fix [1].

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

@dosubot[bot] commented on GitHub (Feb 17, 2025): <!-- Answer --> The repeated warnings about missing 'http://' or 'https://' protocols in URLs when uploading a URL file for chat on the frontend page of Dify are likely caused by a bug in Dify 0.15.0. This bug causes URLs to fail validation even when they are properly formatted. The issue has been fixed in a subsequent update through pull request #12452. To resolve this issue, you should update your Dify installation to a version that includes this fix <sup>[[1]](https://github.com/langgenius/dify/issues/12573)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1875df7e-8be5-4a9c-8c43-a433dfbf7efa?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8326