Hi,
I’m encountering an error when running the following code in .Net 5 (5.0.2) and Couchbase .Net Client 2.7.23:
ClientConfiguration cfg = …;
Cluster cluster = new Cluster(cfg);
cluster.OpenBucket(bucketName); <== Error on this call
The error is:
BootstrapException-Could not bootstrap - “Received an unexpected EOF or 0 bytes from the transport stream. Could not bootstrap with CCCP”
Prior to this, I have used .Net Core 3.1 (3.1.11) and Couchbase .Net Client 2.7.23 and the code above runs fine with no errors.
Does anyone know what may be the issue? Does Couchbase .Net Client 2.7.23 support running on .Net 5?
Note: Unsure if important, but there is 1 Couchbase .Net Client dependency that gets bumped up in version when pulled into the .Net 5 service I am developing:
- Microsoft.Extensions.Logging
Version 2.2.0 is referenced when including Couchbase .Net Client in isolation; however, the version used is 5.0.0 when it is pulled into the .Net 5 service.
Any help/insight would be appreciated. Thanks!