> E/RemoteRequest( 5922): Got error status: 400 for org.apache.http.client. methods.HttpGet@42931e98. Reason: Bad Request W/Sync ( 5922): com.couchbase.lite.replicator.Replication$8@42931a40: error getting remote checkpoint
That means that CouchDB returned a 400 response for the Couchbase Lite request to get the remote checkpoint (which is a GET request to /db/_local/<checkpoint address>) Does the DB you are trying to pull from exist already on CouchDB? Also, can you check the CouchDB logs? You might see an error related to that request which might explain why its returning a 400. Please post the error here if you see one. Oh and just as a heads up, if you are using attachments we recently fixed issue 214 <https://github.com/couchbase/couchbase-lite-android/issues/214> which did not quite make it into the 1.0 release, so you'll want to use a later version. On Wed, Jun 4, 2014 at 7:27 AM, Michael Hines <[email protected]> wrote: > Forgot to mention: This is a pull replication from server to device. > > > On Wednesday, June 4, 2014 2:24:27 PM UTC, Michael Hines wrote: >> >> Hi folks, >> >> I'm receiving this error on Android with the community 1.0.0 release from >> the website: >> >> This destination of this replication is CouchDB version 1.4.0 from my >> local Ubuntu distribution. >> >> (The same error happens regardless whether I use HTTPS/HTTP with or >> without SSL). It's hard to understand what these errors mean. >> >> I/System.out( 5922): COUCHBASE: Pull Replication status changed: >> com.couchbase.lite.replicator.Replication$ChangeEvent@427e0860 >> I/System.out( 5922): COUCHBASE: Replicator processed 0 / 0 >> E/RemoteRequest( 5922): Got error status: 400 for org.apache.http.client. >> methods.HttpGet@42931e98. Reason: Bad Request >> W/Sync ( 5922): com.couchbase.lite.replicator.Replication$8@42931a40: >> error getting remote checkpoint >> E/Sync ( 5922): Puller@427dab18[https://192.168.1.93:6984]: Progress: >> set error = org.apache.http.client.HttpResponseException: Bad Request >> I/System.out( 5922): COUCHBASE: Pull Replication status changed: >> com.couchbase.lite.replicator.Replication$ChangeEvent@4293e8e0 >> I/System.out( 5922): COUCHBASE: Replicator processed 0 / 0 >> I/System.out( 5922): COUCHBASE: Pull Replication status changed: >> com.couchbase.lite.replicator.Replication$ChangeEvent@4293f008 >> I/System.out( 5922): COUCHBASE: Replicator processed 0 / 0 >> E/Sync ( 5922): Puller@427dab18[https://mica.hinespot.com:6984]: >> Progress: set error = null >> I/System.out( 5922): COUCHBASE: Pull Replication status changed: >> com.couchbase.lite.replicator.Replication$ChangeEvent@429403e0 >> I/System.out( 5922): COUCHBASE: Replicator processed 0 / 0 >> >> The output stops after that when the app goes to sleep, but it's more or >> less the same. >> >> Any ideas? Do I need to downgrade/upgrade CouchDB on the server side? >> >> Thanks, >> >> - Michael R. Hines >> >> -- > You received this message because you are subscribed to the Google Groups > "Couchbase Mobile" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/213c1857-2c24-4b68-a157-cdd1b30c8951%40googlegroups.com > <https://groups.google.com/d/msgid/mobile-couchbase/213c1857-2c24-4b68-a157-cdd1b30c8951%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCFE49wsqYUkw7mXe33PORxnBQM2wPvsX9JgE-CStrO4TQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
