Skip to content

[Bug] TLS server name override not respected #1681

Closed
@dan8f

Description

@dan8f

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

Additional context

grpc-js servername override

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions