I see another potential problem with your config:

"databases":{
      "sync_gateway":{
         "server":"http://192.168.1.78:8091";,
         "sync":`function(doc) {channel(doc.channels);}`,
"users": {
              "GUEST":{"disabled":false, "admin_channels":["*"]}
              }
      }
   }

you are missing a line that specifies which bucket to use, eg, the
equivalent of this line:

https://github.com/couchbase/sync_gateway/blob/master/examples/democlusterconfig.json#L131

Can you try adding the bucket to your config and seeing if it makes any
difference?


On Tue, Nov 18, 2014 at 10:52 AM, Traun Leyden <[email protected]>
wrote:

> Yup.  I just pushed a new commit to:
>
> https://github.com/couchbaselabs/GrocerySync-Android
>
> Run a "git pull" and you should get the changes.
>
> Can you re-run with this version and then post your logs to a gist?
> Hopefully that will reveal something.
>
> On Mon, Nov 17, 2014 at 5:51 PM, Milt Grinberg <[email protected]> wrote:
>
>> Should I assume you will send me a link to the code I will need to
>> download?
>> On Nov 17, 2014 5:22 PM, "Traun Leyden" <[email protected]> wrote:
>>
>>> Milt said it was working fine against the demo cluster, which makes me
>>> think we should isolate the differences between his local sync gateway and
>>> the one running on the demo cluster.
>>>
>>> I will push a change to GrocerySync-Android that makes sure all the
>>> right logging is enabled by default.
>>>
>>> On Mon, Nov 17, 2014 at 4:50 PM, Jens Alfke <[email protected]> wrote:
>>>
>>>>
>>>> On Nov 17, 2014, at 2:28 PM, Milt Grinberg <[email protected]> wrote:
>>>>
>>>> I then add an new item to the app
>>>> 14:08:13.639715 HTTP:  #004: POST /_revs_diff
>>>> 14:08:20.647116 HTTP:  #005: GET
>>>> /_changes?feed=normal&heartbeat=300000&style=all_docs
>>>>
>>>>
>>>> I would have expected to see "POST /_bulk_docs" after request #004.
>>>> (The _revs_diff call is the client asking "I have these new docs; do you
>>>> have them already?"; if the docs are new to the server, the client will
>>>> follow up by sending the docs in a PUT to _bulk_docs.)
>>>>
>>>> My hypothesis is that something's going wrong on the client side before
>>>> it can upload the document, although that seems weird since Grocery Sync is
>>>> a very simple app. Unfortunately I don't know the Android version very
>>>> well; Traun, what sort of logging could Milt enable?
>>>>
>>>> —Jens
>>>>
>>>> --
>>>> 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/5347E6EB-718D-4F42-A85A-D8C567648D2D%40couchbase.com
>>>> <https://groups.google.com/d/msgid/mobile-couchbase/5347E6EB-718D-4F42-A85A-D8C567648D2D%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 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/CACSSHCE675fmw9f9cRwhA1Ve5Erp_EMmUJS1eVDdc2tMNxxANg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCE675fmw9f9cRwhA1Ve5Erp_EMmUJS1eVDdc2tMNxxANg%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/CAHqiEJ-URwM5tTJ9nN%3Db6t2S9G1HvqT8hAddv8Pb7Mjt_-GdsQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/mobile-couchbase/CAHqiEJ-URwM5tTJ9nN%3Db6t2S9G1HvqT8hAddv8Pb7Mjt_-GdsQ%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/CACSSHCEGnUeToeUQHu2LC5cmcK1o%2BYwPPnO%2Buhp8gMmcXs_pnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to