Skip to content

[Feature Request] Better error messages when tctl fails due to TLS certs invalid #353

@antmendoza

Description

@antmendoza

Is your feature request related to a problem? Please describe.

When trying to connect to Temporal Server / namespace whose certificates have expired, the user sees this error message:
FATAL Failed to create SDK client {"error": "failed reaching server: last connection error: connection closed before server preface received", "logging-call-at": "factory.go:122"}

Providing a better error message would help users to debug the issue.

Thanks,

Describe the solution you'd like

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions