Skip to content

UpdateSentinelAddressList is failing with error: EndPoints must be unique #1430

@ejsmith

Description

@ejsmith

I am getting the following error attempting to use sentinel support. I'm guessing this is some sort of concurrency issue, but I'm not sure. I will try and get a repro together.

EndPoints must be unique (Parameter 'item')
System.ArgumentException: EndPoints must be unique (Parameter 'item')
   at StackExchange.Redis.EndPointCollection.InsertItem(Int32 index, EndPoint item) in /_/src/StackExchange.Redis/EndPointCollection.cs:line 71
   at StackExchange.Redis.ConnectionMultiplexer.UpdateSentinelAddressList(String serviceName) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2400
   at StackExchange.Redis.ConnectionMultiplexer.SwitchMaster(EndPoint switchBlame, ConnectionMultiplexer connection, TextWriter log) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2376
   at StackExchange.Redis.ConnectionMultiplexer.GetSentinelMasterConnection(ConfigurationOptions config, TextWriter log) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2255
   at Exceptionless.Insulation.Bootstrapper.GetRedisConnection(Dictionary`2 options) in /app/src/Exceptionless.Insulation/Bootstrapper.cs:line 166

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions