Skip to content

grpc::Client::new() fails when testing with IPv6 local servers #3927

@coryan

Description

@coryan

Calling Client::new() returns an error (Error(Transport(tonic::transport::Error(Transport, InvalidDnsNameError)))) if the endpoint is an IPv6 address, such as http://[::1]:62415.

I have a PR in progress, I just want to document the issue for future reference.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions