Skip to content

Commit

Permalink
fix: disable tls on elasticsearch connect
Browse files Browse the repository at this point in the history
  • Loading branch information
yian-shih committed Aug 23, 2024
1 parent f2aa175 commit a2118d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions brownie/src/modules/elasticsearch/implementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export const clean = async (moduleName: string, config: Config, moduleConfig: El
const client = new Client({
auth: basicAuth,
nodes: nodes as string[],
tls: {
rejectUnauthorized: false,
},
})

logger.info("%s.clean(): Connecting to Elasticsearch server...", moduleName)
Expand Down

0 comments on commit a2118d5

Please sign in to comment.