What are you using for your sync url?

It looks like the db name is missing in your requests.  On this line:

https://gist.github.com/miltgrin/85b4079584b3284f1907#file-milt_grocerysync-android_log-L118

RemoteRequest created, url: http://192.168.1.78:4984/_local/d56ad..

I would expect that to be:

RemoteRequest created, url: http://192.168.1.78:4984/*sync_gateway*
/_local/d56ad..

The default SYNC_URL is

http://demo.mobile.couchbase.com/grocery-sync

in your case, you should be using something like

http://<ip>:4984/sync_gateway

Having said that, there does look like there is a bug in the version of
couchbase lite android you are using, because I would have expected the
replication to have an error in that case.  I'm looking into it.





On Tue, Nov 18, 2014 at 12:42 PM, Milt Grinberg <[email protected]> wrote:

> I did post the full log to gist.  There are other errors showing in the
> log.
>
> miltgrin <https://gist.github.com/miltgrin> / *milt_grocerySync-Android_log
> <https://gist.github.com/miltgrin/85b4079584b3284f1907>*
>
>
>
> On Tue, Nov 18, 2014 at 12:09 PM, Jens Alfke <[email protected]> wrote:
>
>>
>> On Nov 18, 2014, at 11:50 AM, Milt Grinberg <[email protected]> wrote:
>>
>> the error I'm seeing in the log is:
>>
>> 11-18 11:24:40.051  27844-27991/com.couchbase.grocerysync
>> E/RemoteRequest﹕ Got error status: 404 for
>> http://192.168.1.78:4984/_local/d56ade8696443c4fbf7baf3fff75c0b454f8e54b.
>> Reason: Not Found
>>
>>
>> That's not an error, actually (Couchbase Lite on Android shouldn't be
>> logging it as such.)
>>
>> In replication, URLs with "/_local/" in them are "checkpoint" documents
>> stored on the server by a specific client instance to keep track of the
>> last known state. It's normal for the checkpoint not to exist the first
>> time a client replicates; it will get created later on during the
>> replication.
>>
>> —Jens
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Couchbase Mobile" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/mobile-couchbase/JczJtquRPGE/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/mobile-couchbase/B5D1551A-A8FA-43CD-9589-ADD99A3ACB6D%40couchbase.com
>> <https://groups.google.com/d/msgid/mobile-couchbase/B5D1551A-A8FA-43CD-9589-ADD99A3ACB6D%40couchbase.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/CAHqiEJ-1TfN%3Dt%2B4sWBXLDt%3DoF5%3Dyn%2B65gaDyozY1F7_ap6Cs1A%40mail.gmail.com
> <https://groups.google.com/d/msgid/mobile-couchbase/CAHqiEJ-1TfN%3Dt%2B4sWBXLDt%3DoF5%3Dyn%2B65gaDyozY1F7_ap6Cs1A%40mail.gmail.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/CACSSHCG6K1MG_wz0hjeKLVWQZuLy4LOHMh9P247AKJE%3DEvQfiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to