v5.0.9 client doesn't work with 20.6.1 AdvertiseHostToClientAs
megakid opened this issue · 1 comments
megakid commented
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:
- Start a 20.6.1 cluster with AdveriseHostToClientAs option set
- Connect a 5.0.9 client with this connection string "GossipSeeds=https://test-uat-eventstore:12113"
- Witness discovery failure.
Expected behavior
Connection to DNS endpoint advertised in gossip should work
Actual behavior
Cluster connection doesn't work.
alexeyzimarev commented
It is a new server-side setting so you'd need to use the matching client version to use the setting.