Skip to content

TcpClientAdapter tries to open IPv4 connections with an IPv6 address #244

Closed
@tomstaijen

Description

@tomstaijen

With the current TcpClientAdapter doing a First() on the available ip-adresses I found it is possible that it will try to make a ipv4 connection with an ipv6 IPAddress, which results in a "protocol not supported" exception.

This may be due to my setup, running rabbitmq on a vagrant. However, it seems better to filter the ip addresses on the appropriate addressfamily.

Suggested:

var ep = adds.First(a => a.AddressFamily == sock.AddressFamily);

I'd have submitted a pull request if I had time right now to figure out the whole umbrella thing.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions