go-elasticsearch icon indicating copy to clipboard operation
go-elasticsearch copied to clipboard

elasticsearch.NewClient using fasthttp and SSL

Open nb71 opened this issue 5 months ago • 0 comments

Is there any example available on connecting to a secured ElasticSearch cluster, but using fasthttp?

I'm running bechmarks using https://github.com/elastic/go-elasticsearch/tree/main/_examples/bulk/benchmarks

Modified the code to connect using certificate, OK

But if I add --fasthttp it gives [signal SIGSEGV: segmentation violation

Using CertificateFingerprint, OK

But using --fasthttp: Runner error: run: setup: encoding document: tls: failed to verify certificate: x509: certificate signed by unknown authority

Any help or pointer will be appreciated. Thanks

nb71 avatar Sep 06 '24 02:09 nb71