Skip to content

Commit 1bfa28a

Browse files
committed
fix: fix es ssl
1 parent 6ae32a8 commit 1bfa28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/db/es_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def get_es_data_by_http(conf: DatasourceConf, sql: str):
106106
"Authorization": f"Basic {encoded_credentials}"
107107
}
108108

109-
response = requests.post(host, data=json.dumps({"query": sql}), headers=headers)
109+
response = requests.post(host, data=json.dumps({"query": sql}), headers=headers, verify=False)
110110

111111
# print(response.json())
112112
res = response.json()

0 commit comments

Comments
 (0)