We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using a PEM file beginning with -----BEGIN EC PRIVATE KEY-----:
-----BEGIN EC PRIVATE KEY-----
RuntimeError: Failed client connect: Server connection error: tonic::transport::Error(Transport, PrivateKeyParseError)
Convert your pkey to pkcs8:
openssl pkcs8 -topk8 -nocrypt -in key.pem -out key-pkcs8.pem
python-sdk is pointing to an older commit in sdk-core which depends on an older version of tonic. The key issue has been fixed in this tonic PR.
python-sdk
sdk-core
tonic
def setup_tls_config() -> TLSConfig: """Helper func to build TLSConfig struct.""" with open(os.getenv("TEMPORAL_CLI_TLS_CERT"), "rb") as f: client_cert = f.read() with open(os.getenv("TEMPORAL_CLI_TLS_KEY"), "rb") as f: client_private_key = f.read() with open(os.getenv("TEMPORAL_CLI_TLS_CA"), "rb") as f: server_root_ca_cert = f.read() return TLSConfig( client_cert=client_cert, client_private_key=client_private_key, domain=os.getenv("TEMPORAL_CLI_TLS_SERVER_NAME"), server_root_ca_cert=server_root_ca_cert, )
temporalio==1.3.0
If updating to a more recent core SDK version is fairly straightforward, feel free to throw me some pointers, and I will put together a PR.
The text was updated successfully, but these errors were encountered:
👍 We just overcame a hurdle to going past 0.8 Tonic (OTel libs), so we will be upgrading Tonic and all of these libraries before next release.
Sorry, something went wrong.
Awesome, good to know!
Successfully merging a pull request may close this issue.
What are you really trying to do?
Using a PEM file beginning with
-----BEGIN EC PRIVATE KEY-----
:Traceback
Temporary remedy
Convert your pkey to pkcs8:
Describe the bug
python-sdk
is pointing to an older commit insdk-core
which depends on an older version oftonic
.The key issue has been fixed in this
tonic
PR.Minimal Reproduction
Environment/Versions
temporalio==1.3.0
Additional context
If updating to a more recent core SDK version is fairly straightforward, feel free to throw me some pointers, and I will put together a PR.
The text was updated successfully, but these errors were encountered: