Hi, I have the following problem with the latest C mobile release on a Windows device: The websocket seem to lose the connection as can be seen in the below logs.
Any idea what could cause "No response received after 15 sec -- disconnecting"
?
I enabled the kCBLLogDebug log level, is it possible to enable more logs than using the CBLLog functions?
{C4Replicator#36}==> class litecore::C4RemoteReplicator 0000020F88B5FC28 @0000020F88B5FC28
{C4Replicator#36} C4RemoteRepl 0000020F88B5FC28 created Repl 0000020F88139510
{C4Replicator#36} Starting Replicator {Repl#35}
RecordEnumerator 0000020F88B3D058: (default, 110 0)
{BuiltInWebSocket#37}==> class litecore::websocket::BuiltInWebSocket wss://serveraddress.com:443/db/_blipsync @0000020F7FA150A8
{BuiltInWebSocket#37} Connecting...
{Repl#35} Scanning for pre-existing conflicts...
{Repl#35} Found 0 conflicted docs in 0.000 sec
{DB#33} begin transaction
{DB#33} KeyStore(info) set 'remotes'
{DB#33} commit transaction
{Repl#35} Remote-DB ID 1 found for target <wss://serveraddress.com:443/db/_blipsync>
{Repl#35} Ignoring local checkpoint ('reset' option is set)
Sending request to wss://serveraddress.com:443/db/_blipsync:
GET /db/_blipsync HTTP/1.1
Host: serveraddress.com:443
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: dbK61uhOlv0dqNf7pB770g==
Sec-WebSocket-Protocol: BLIP_3+CBMobile_3,BLIP_3+CBMobile_2
Got response:
HTTP/1.1 401 Unauthorized
Date: Mon, 28 Mar 2022 18:00:01 GMT
Content-Type: application/json
Content-Length: 50
Connection: keep-alive
Server: Couchbase Sync Gateway/2.8.3 EE
Www-Authenticate: Basic realm="Couchbase Sync Gateway"
Sending request to wss://serveraddress.com:443/db/_blipsync:
GET /db/_blipsync HTTP/1.1
Host: serveraddress.com:443
Authorization: Basic cHVibGljOmpUL1pBYWNSJTg5OTs+d2RIcjk=
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: qSwk03F8eXMIflQisBJxng==
Sec-WebSocket-Protocol: BLIP_3+CBMobile_3,BLIP_3+CBMobile_2
Got response:
HTTP/1.1 101 Switching Protocols
Date: Mon, 28 Mar 2022 18:00:01 GMT
Connection: upgrade
Upgrade: websocket
Sec-WebSocket-Accept: Tn+l37DIv1RYTa7943kFhuQbyYg=
Sec-WebSocket-Protocol: BLIP_3+CBMobile_2
{BuiltInWebSocket#37} Got HTTP response (status 101)
{BuiltInWebSocket#37} No response received after 15 sec -- disconnecting
{BuiltInWebSocket#37} closeSocket