HI @borrrden,
thanks for your reply.
I understood the HeartBeat settings is for lite 1.x.
All that being said, you are saying that the documents do not sync even after restarting the application? Does the same error show up again?
I have many times test restart the application that it can resync data.
I useing wireshark 3.0.1
, but can’t catch websocket heartbeat.
lite connected to sg, the sg show logs as follows:
MultiChangesFeed(channel:{*},options:{Since:25 Limit:0 Conflicts:false IncludeDocs:false Wait:true Continuous:true Terminator:0xc0005d8300 HeartbeatMs:0 TimeoutMs:0 ActiveOnly:false Ctx:context.Background.WithValue( base.LogContextKey {},base.LogContext {CorrelationID:“ #091 ”})。WithValue(base.LogContextKey {},base.LogContext {CorrelationID:“[3c2ef4f4]”})})…
I refrence forum:
https://www.couchbase.com/forums/t/sg-not-propagating-changes-to-couchbase-lite-client/18710/5
it’s contain:
2018-10-10 13:10:35.368931-0500 xxxxxx[6264:158564] CouchbaseLite WS Info: {C4SocketImpl#1} Sending PING
my lite logs levels set to:
Database.log.getConsole().setLevel(LogLevel.INFO);
if I use DEBUG logs level in lite, can I see the PING and PONG message?
PING message will auto send by lite? it will send by interval time or when connecting send once?
I think the network env is very complex that I can’t debug it. if this phenomenon occurred, can I resolve by program code? for example: restart the lite replicator interval 2 mins.Does it have a negative effect?
thanks
angular