fix: enable TLS roots for flight CLI client#6640
Conversation
Otherwise you get:
```text
Error: setup client
Caused by:
0: connect to endpoint
1: transport error
2: invalid peer certificate: UnknownIssuer
3: invalid peer certificate: UnknownIssuer
```
Also see hyperium/tonic#1904 .
|
Ideally we'd have a test of this, but I don't feel strongly and it is probably difficult to setup |
I thought about that, but that would require that we have a server that has a certificate that is accepted by the Mozilla CA bundle, so without additional infrastructure, I don't think that's feasible. Or we do something "stupid" like point the client to |
|
That sounds like it could very well end up being flaky, I think let's leave it for now and we can always revisit |
This reverts commit 2983dc1.
This reverts commit 2983dc1.
This reverts commit 2983dc1.
This reverts commit 2983dc1.
This reverts commit 244d8bd.
* Revert "bump `tonic` to 0.12 and `prost` to 0.13 for `arrow-flight` (apache#6041)" This reverts commit 741bbf6. # Conflicts: # arrow-flight/Cargo.toml # arrow-flight/gen/Cargo.toml # arrow-flight/src/arrow.flight.protocol.rs # arrow-integration-testing/Cargo.toml * Revert "fix: enable TLS roots for flight CLI client (apache#6640)" This reverts commit 2983dc1. * Add rowid to parquet reader * make sure stream has correct schema * handle specifying row groups * remove println * add prefetching for row filter fetch * remove println * fix bug in prefetch * fix properly * remove println * chrono dep * use row_id intead of rowid * Reapply "fix: enable TLS roots for flight CLI client (apache#6640)" This reverts commit 244d8bd. * Reapply "bump `tonic` to 0.12 and `prost` to 0.13 for `arrow-flight` (apache#6041)" This reverts commit 7750691. --------- Co-authored-by: Andrew Lamb <[email protected]>
This reverts commit 2983dc1.
This reverts commit 2983dc1.
Which issue does this PR close?
-
Rationale for this change
Otherwise you get:
Also see hyperium/tonic#1904 .
What changes are included in this PR?
Just call the method that registers the roots that we include via feature flags anyways.
Are there any user-facing changes?
TLS works again.