Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elasticsearch.NewClient using fasthttp and SSL #904

Open
nb71 opened this issue Sep 6, 2024 · 0 comments
Open

elasticsearch.NewClient using fasthttp and SSL #904

nb71 opened this issue Sep 6, 2024 · 0 comments

Comments

@nb71
Copy link

nb71 commented Sep 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant