Closed
Description
What are you really trying to do?
Setting a TLS server name override in client connection connect
Describe the bug
When setting a server name override in client connection, the TLS server name is mishandled by grpc-js
library and ends up overridden with the address provided
Minimal Reproduction
import { Connection, Client } from '@temporalio/client';
const connection = await Connection.connect(
{
address: '<address>:7233',
tls: {
serverNameOverride: '<override>',
},
apiKey,
metadata
})
Environment/Versions
TS SDK 1.11.7