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

Unable to connect to temporal cloud #312

Open
TudorAF opened this issue Jul 30, 2024 · 0 comments
Open

Unable to connect to temporal cloud #312

TudorAF opened this issue Jul 30, 2024 · 0 comments

Comments

@TudorAF
Copy link

TudorAF commented Jul 30, 2024

Hello! I am in desperate need of some help.

I've used the tlcd CLI to generate certificates docs here

Straight from the docs here I have:


root_cert = File.read('config/temporal/tlcd/ca.pem')
client_key = File.read('config/temporal/tlcd/client.key')
client_cert = File.read('config/temporal/tlcd/client.pem')

Temporal.configure do |config|
  config.host = ENV.fetch('TEMPORAL_HOST', 'localhost')
  config.port = ENV.fetch('TEMPORAL_PORT', 7233)
  config.namespace = ENV.fetch('TEMPORAL_NAMESPACE', 'default')
  config.task_queue = ENV.fetch('TEMPORAL_TASK_QUEUE', 'default')

  config.credentials = GRPC::Core::ChannelCredentials.new(
    root_cert,
    client_key, # Client Private Key
    client_cert, # Client Certificate
  )
end

This results in this error an Ssl handshake failed

I tried the suggestion on this issue #260 but no luck.

I have confirmed that my certs are configured successfully by using the python sdk and setting up a simple hello world worker and have successfully connected to temporal cloud and run the workflow. These same certs return a handshake error with this gem.

✅ double checked ENV is set up and that the and reading the right values.

Any direction or ideas much appreciated as i'm all out of them.

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

No branches or pull requests

1 participant