HTTP_REQUEST_NODE_SSL_VERIFY dify parameter #25

Closed
opened 2026-02-15 21:15:21 -05:00 by yindo · 4 comments
Owner

Originally created by @nicho2 on GitHub (Apr 14, 2025).

Hello,

I use the docker dify , my version is 1.2.0, and i use HTTPS with a self-signed certifiate

I want use the plugin minerU to parse PDF, but i have the error below

Image

I have set the parameter HTTP_REQUEST_NODE_SSL_VERIFY to false with no result

in fact , i don't see in the code a relation with HTTP_REQUEST_NODE_SSL_VERIFY

there is not the possibility to add a verify=false " httpx.get(self.url)" in the code

Originally created by @nicho2 on GitHub (Apr 14, 2025). Hello, I use the docker dify , my version is 1.2.0, and i use HTTPS with a self-signed certifiate I want use the plugin minerU to parse PDF, but i have the error below ![Image](https://github.com/user-attachments/assets/e6f7aded-feae-4023-88a1-b15cb1263632) I have set the parameter HTTP_REQUEST_NODE_SSL_VERIFY to false with no result in fact , i don't see in the code a relation with HTTP_REQUEST_NODE_SSL_VERIFY there is not the possibility to add a verify=false " httpx.get(self.url)" in the code
yindo closed this issue 2026-02-15 21:15:21 -05:00
Author
Owner

@l241025097 commented on GitHub (Jul 4, 2025):

  1. Copy mineru original code from langgenius/dify-official-plugins
  2. With reference to the https://docs.dify.ai/plugin-dev-zh/0221-initialize-development-tools, set up your own development environment for mineru plugin
  3. Modify the source code at line 123 of mineru/tools/parse.py and write your own HTTP request to fetch file.blob

https://github.com/l241025097/local_dify_plugin

@l241025097 commented on GitHub (Jul 4, 2025): 1. Copy mineru original code from langgenius/dify-official-plugins 2. With reference to the https://docs.dify.ai/plugin-dev-zh/0221-initialize-development-tools, set up your own development environment for mineru plugin 3. Modify the source code at line 123 of mineru/tools/parse.py and write your own HTTP request to fetch file.blob https://github.com/l241025097/local_dify_plugin
Author
Owner

@vvanglro commented on GitHub (Jul 10, 2025):

The same problem.

@vvanglro commented on GitHub (Jul 10, 2025): The same problem.
Author
Owner

@vvanglro commented on GitHub (Jul 10, 2025):

One solution, Place the following code into the file in your tools.

from functools import wraps

_original_sync_init = httpx.Client.__init__
_original_api_request = requests.api.request

@wraps(_original_sync_init)
def _patched_sync_init(self, *args, **kwargs):
    kwargs["verify"] = False
    return _original_sync_init(self, *args, **kwargs)

@wraps(_original_api_request)
def _patched_api_request(method, url, **kwargs):
    kwargs.setdefault("verify", False)
    return _original_api_request(method, url, **kwargs)

httpx.Client.__init__ = _patched_sync_init
requests.api.request = _patched_api_request
@vvanglro commented on GitHub (Jul 10, 2025): One solution, Place the following code into the file in your tools. ```py from functools import wraps _original_sync_init = httpx.Client.__init__ _original_api_request = requests.api.request @wraps(_original_sync_init) def _patched_sync_init(self, *args, **kwargs): kwargs["verify"] = False return _original_sync_init(self, *args, **kwargs) @wraps(_original_api_request) def _patched_api_request(method, url, **kwargs): kwargs.setdefault("verify", False) return _original_api_request(method, url, **kwargs) httpx.Client.__init__ = _patched_sync_init requests.api.request = _patched_api_request ```
Author
Owner

@Mairuis commented on GitHub (Dec 9, 2025):

This issue should be submitted to the Dify official plugin repository https://github.com/langgenius/dify-official-plugins

@Mairuis commented on GitHub (Dec 9, 2025): This issue should be submitted to the Dify official plugin repository https://github.com/langgenius/dify-official-plugins
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#25