EventStore/EventStoreDB-Client-Dotnet-Legacy

v5.0.9 client doesn't work with 20.6.1 AdvertiseHostToClientAs

megakid opened this issue · 1 comments

Describe the bug
If the AdvertiseHostToClientAs option is set to a DNS address, the code here throws https://github.com/EventStore/EventStore/blob/dotnet-client-v5.0.9/src/EventStore.ClientAPI/Internal/ClusterDnsEndPointDiscoverer.cs#L261

To Reproduce
Steps to reproduce the behavior:

  1. Start a 20.6.1 cluster with AdveriseHostToClientAs option set
  2. Connect a 5.0.9 client with this connection string "GossipSeeds=https://test-uat-eventstore:12113"
  3. Witness discovery failure.

Expected behavior
Connection to DNS endpoint advertised in gossip should work

Actual behavior
Cluster connection doesn't work.

It is a new server-side setting so you'd need to use the matching client version to use the setting.