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

fix error about invalid certificate when calling append_rows api #107

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

imor
Copy link
Contributor

@imor imor commented Aug 7, 2024

When running the append_rows api, the following error was thrown:

Error: TonicTransportError(tonic::transport::Error(Transport, ConnectError(Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) })))

This was because tonic made a breaking change in version 0.12.0. To fix this we'd need to call with_native_roots method on the ClientTlsConfig object.

@lquerel lquerel merged commit 9c2c258 into lquerel:main Aug 10, 2024
1 of 3 checks passed
@lquerel
Copy link
Owner

lquerel commented Aug 10, 2024

Thanks @imor for this fix. I have time this week-end and should be able to publish a new version soon.

@imor imor deleted the fix_transport_error branch August 10, 2024 16:11
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

Successfully merging this pull request may close these issues.

2 participants