You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the Create() method for connecting to an Event Store cluster via a load balancer the client does not re-resolve the uri dns record when the connection is broken and then tries to reconnect. This impacted us when AWS were replacing the IP addresses associated with an ELB used by Event Store. Despite them changing 1 record of the DNS record set (of 3 IPs) our clients could not reestablish connectivity using one of the other IPs.
In version 6 it seems that the ability to pass in a custom HttpClient will be added, which will allow us to fix the issue in the underlying client, but I thought I should document it here in case others are having a similar issue. I’d also suggest that the default HttpClient be fixed to properly honour DNS changes.
Describe the bug
When using the Create() method for connecting to an Event Store cluster via a load balancer the client does not re-resolve the uri dns record when the connection is broken and then tries to reconnect. This impacted us when AWS were replacing the IP addresses associated with an ELB used by Event Store. Despite them changing 1 record of the DNS record set (of 3 IPs) our clients could not reestablish connectivity using one of the other IPs.
In version 6 it seems that the ability to pass in a custom HttpClient will be added, which will allow us to fix the issue in the underlying client, but I thought I should document it here in case others are having a similar issue. I’d also suggest that the default HttpClient be fixed to properly honour DNS changes.
The issue with singleton HttpClients has been documented well here: http://byterot.blogspot.com/2016/07/singleton-httpclient-dns.html.
The text was updated successfully, but these errors were encountered: