Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-392

Incorrect data sent for attachment with digest...

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.0
    • 2.6.0
    • Java-Android
    • Security Level: Public
    • None
    • CBL Sprint 7
    • 5

    Description

      In GH Issue https://github.com/couchbase/couchbase-lite-android-ce/issues/23

      ... a user encounters the message:

      E/CouchbaseLite/REPLICATOR: \{N8litecore4repl6PusherE#1} Got error response to rev '7JFlD2OEV7U2ZBYiBXCC20aEaIL2::khj8xbs2yw3n::item::b55bea1b804a' #4-23fae3d30ea8398c9750e39637d52618ac7a3068 (seq #545): HTTP 400 'Incorrect data sent for attachment with digest: sha1-lcJZ/lBqNbS23v0aIzI+LmSxwxA='
      

      There is a bug tracking a related error in the Java bindings ( https://issues.couchbase.com/browse/CBL-390# ).

      On the other hand, after examining the Java code, I do not see how it can create a blob with the wrong SHA.

      Forwarding this ticket to Core, for review.

      Attachments

        Issue Links

          Activity

            People

              blake.meike Blake Meike
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty