In my test environment I have started to get problems with connecting to sync.gateway from my app. These are the errors I see in the app:
2024-09-04 10:33:02.885114+0200 Angler.iOS[11742:608135] [dotnet] [Thread Pool Worker]| ERROR) [Network] Obj=/DNRepl@2B2B/C4RemoteRepl#4/Repl#5/Connection#1/C4Socket#3/ WebSocket failed to connect! (reason=Network error 6) Authentication failed prior to server certificate (bad / missing client cert?)
2024-09-04 10:33:02.887329+0200 Angler.iOS[11742:608398] [dotnet] [33]| ERROR) [Replicator] Obj=/DNRepl@2B2B/C4RemoteRepl#4/Repl#5/ Got LiteCore error: Network error 6, "Authentication failed prior to server certificate (bad / missing client cert?)"
[DbDataStore] PushAndPull Replicator: 0/0, error CouchbaseLiteException (NetworkDomain / 6): Authentication failed prior to server certificate (bad / missing client cert?)., activity = Stopped
[DbDataStore] Error :: Couchbase.Lite.CouchbaseNetworkException: CouchbaseLiteException (NetworkDomain / 6): Authentication failed prior to server certificate (bad / missing client cert?).
I was using Nuget package 3.1.7 but upgrading to 3.2.0 made no change. Sync.gateway is: Couchbase Sync Gateway/3.1.3(6;52b979c) CE
It probably makes no difference but the Couchbase servers behind the sync.gateway are: Community Edition 7.2.4 build 7070
/John
3 posts - 3 participants