this looks like it is throwing error from Android. Does not look like throwing from cb lite. Is it peer 2 peer? Just wondering whether you have closed the socket connection on the receiving part of replication.
It seems to be a cb lite problem, since the java exception is point to the database we have on there
/inspections_db/b1c7d993-bde2-4daf-bdc5-6d07eb8645c1/1547665085801.jpg from /127.0.0.1:5984 / java.net.Socket
CB-Lite REST API does run by default on port 5984, and its clearly visible in the log.
I am using a Cordova plugin inside my Hybrid Mobile App without replication, may be the cordova plugin is doing something behind the scene.
So it seems like the IO error is being ignored, I looked into the source code and i think the IO error generated while closing the Blob file is being ignored
I don’t think that’s related. You’re getting an exception from Couchbase Lite’s REST API server, not from the blob code. A failure to save a blob wouldn’t cause an error writing to the HTTP stream.
Yes, you are right, I later noticed the exception is occurring in TJWS. Anyway, is there a recommended way to handle this or something I should be doing differently to handle this ?