Skip to content

failed to dial tcp when the broker addr is ipv6 #1215

@cicada-lewis

Description

@cicada-lewis

Like the title said, error is "too many colons in address", this is a common issue. A literal IPv6 address in hostport must be enclosed in square brackets
logs as follow
Image

Image

os: linux
client version: v2.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions