Calvin Karundu
10/13/2024, 6:48 PMCheckResources call failed error
which looks like it comes from being unable to compose a correct grpc request with the InvalidContentType error
. Is this a library issue or is there something I'm missing?Dennis (Cerbos)
<https://github.com/cerbos/cerbos-sdk-rust>
.Calvin Karundu
10/14/2024, 12:35 PM0.4.6
install from git but unfortunately I get the same result.Calvin Karundu
10/14/2024, 12:35 PMCalvin Karundu
10/14/2024, 1:30 PMcheck_resources_tls
test. I confirmed that this error is in the SDK as well by running the ignored test. If I use the .with_plaintext()
connection, everything works fine.
Maybe we can update the SDK docs to indicate the same? Happy to open a PR if you agree.Dennis (Cerbos)
cerbos run --set=storage.disk.directory=resources/store -- cargo test
command.
Your code should be able to work with TLS as well.
Can you please show me how you configure the Cerbos client?Calvin Karundu
10/15/2024, 5:47 AM.with_plaintext()
on the connection options.Dennis (Cerbos)
Dennis (Cerbos)
Calvin Karundu
10/15/2024, 6:01 AM3593
Dennis (Cerbos)
.with_plaintext()
is not recommended for production.
Feel free to create an issue that README should not be confusing for no TLS scenario.Calvin Karundu
10/15/2024, 6:10 AM