rocketmq-client-go icon indicating copy to clipboard operation
rocketmq-client-go copied to clipboard

failed to dial tcp when the broker addr is ipv6

Open cicada-lewis opened this issue 6 months ago • 1 comments

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

cicada-lewis avatar Sep 02 '25 15:09 cicada-lewis

The pr for fixing the issue https://github.com/apache/rocketmq-client-go/pull/1216/commits

cicada-lewis avatar Sep 02 '25 15:09 cicada-lewis