Howdy folks,
I am trying to connect to our new temporal managed cloud instance and i’m facing all types of errors when I try different things like:
temporalClient, err := client.Dial(client.Options{
Namespace: "<namespace>",
HostPort: "<namespace>.tmprl.cloud:7233",
ConnectionOptions: client.ConnectionOptions{
TLS: &tls.Config{
Certificates: []tls.Certificate{deps.Certificate()},
RootCAs: deps.RootCA(),
MinVersion: tls.VersionTLS12,
},
},
})
One example of an error i’m getting:
failed reaching server: last connection error: connection closed before server preface received
Another error i’m getting is when i change the hostport to web..tmprl.cloud:7233:
failed reaching server: last connection error: connection error: desc = "transport: authentication handshake failed: tls: first record does not look like a TLS handshake"
What is interesting, after setting up an mTLS cluster in our localstack, the initialising client works, but when we try to connect to our managed cloud instance it doesnt work. Any help is appreciated.
Cheers folks!