Yesterday I have spent 8 hours trying to understand why the replicator socket breaks when sync gateway asks for a attachment that I add to a document. I couldn’t figure it out.
To ensure that the problem was not from my side I have made several things:
- Tried another branch from couchbase-lite-core (2.5.0) - No success!
- Tried to disable the SSL websocket layer using civetwebsocketfactory - No success!
- Tried to isolate the operation in a isolated project - No success!
Everytime I add an attachment to a document, it is successfully inserted in the local database but not correctly uploaded to the couchbase server, sync-gateway crashes upon requesting the attachment. The feedback is always the same: Error decompressing frame RPY#3~: unexpected
EOF and connection is closed by peer .
Do you have any insights of what might be happening? I’m sure this is not a couchbase-lite-core problem but something I’m doing wrong. I just can’t seem to find…