Unable to connect to temporal cloud

We are trying to deploy the latest version of Retool on AWS ECS. We run our own temporal cluster on Temporal Cloud and would like to use it to manage retool workflows.

However, retool-workflows-worker-service is failing with following error:


/node_modules/@temporalio/worker/lib/connection.js:55

throw new core_bridge_1.TransportError(err.message);

TransportError: tonic::transport::Error(Transport, PrivateKeyParseError)

at Function.connect (/node_modules/@temporalio/worker/lib/connection.js:55:23)

at async vD (/retool_backend/bundle/main.js:3562:18136)

We are setting Temporal related environment variables like WORKFLOW_TEMPORAL_TLS_ENABLED, WORKFLOW_TEMPORAL_TLS_CRT, and WORKFLOW_TEMPORAL_TLS_KEY (raw string values for certificate and key) as mentioned in the documentation.

Are we missing anything? Any help would be greatly appreciated.

Hey @amitkothari!

Is this an issue you're still running into? If so, would you mind sharing how you're receiving and encoding the TLS_CRT and TLS_KEY?