Dependency Injection related exceptions at IIS app pool startup

Hello, I seeing the same issue on the production environment we are running. We have an API that connects to Couchbase to perform CRUD operations. We are seeing the message “An item with the same key has already been added. Key: Couchbase.Core.ClusterContext” right away. This does not occur on our Test environments. I don’t know if the heavy traffic in production is not allowing the Couchbase connect to be established.

We are also using the Couchbase.Extensions.Locks library 2.0.0 which is referencing the DI library.

I am running the SDK versioned 3.1.3, and have the DI library 3.0.4.811. I did read on the official SDK on GitHub that the DI library was going to be versioned alongside the SDK. Does that mean all of the AddCouchbase() and AddCouchbaseBucket() will be included in CouchbaseNetClient? I haven’t been able to find the code in it.

What version of the DI library seemed to resolve this?

Any help would be greatly appreciated.