diff --git a/backend/apps/db/es_engine.py b/backend/apps/db/es_engine.py index f8cf1f2f..6a0771b1 100644 --- a/backend/apps/db/es_engine.py +++ b/backend/apps/db/es_engine.py @@ -106,7 +106,7 @@ def get_es_data_by_http(conf: DatasourceConf, sql: str): "Authorization": f"Basic {encoded_credentials}" } - response = requests.post(host, data=json.dumps({"query": sql}), headers=headers) + response = requests.post(host, data=json.dumps({"query": sql}), headers=headers, verify=False) # print(response.json()) res = response.json()