Replies: 1 comment 2 replies
-
|
This SSL error occurs because the code execution environment can't verify the SSL certificate of the server hosting your Excel file. There are a couple of ways to resolve it: Option 1: Disable SSL verification for code execution Set this environment variable in your Dify API service configuration: CODE_EXECUTION_SSL_VERIFY=falseThis controls whether the code execution service validates SSL certificates when making HTTPS requests [1]. Note that this is less secure and best suited for development or trusted network environments. Option 2: Add your CA certificate at the container level If you're running Dify via Docker, you can mount your organization's CA certificate into the container and update the system's trusted certificate store. This maintains SSL verification while resolving the "unable to get local issuer certificate" error. Additionally, if you're running a recent version of Dify and using SSRF proxy protection with separate HTTP/HTTPS proxy endpoints, make sure you have the fix from PR #36455 [2] which ensures SSL verification settings propagate correctly to proxy transports. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
The code node execution failed with an error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1017)>
Here’s the content of my code node:
import pandas as pd
import json
from datetime import datetime
def main(file_url: str, sheet: str, type: int, row: int, column: int):
try:
df = pd.read_excel(
file_url,
sheet_name=sheet,
header=None,
)
def datetime_converter(o):
if isinstance(o, datetime):
return o.isoformat()
Beta Was this translation helpful? Give feedback.
All reactions