Here is the result of starting the sync_gateway.  It seems to have the line
you were worried about

C:\Program Files (x86)\Couchbase>sync_gateway.exe
c:\Users\Milt\run_sync_gateway.json
11:41:21.549490 Enabling logging: [REST+ CRUD+ Changes+ Attach+]
11:41:21.550490 ==== Couchbase Sync Gateway/1.0.3(81;fa9a6e7) ====
11:41:21.550490 Configured Go to use all 8 CPUs; setenv GOMAXPROCS to
override this
11:41:21.551490 WARNING: Error setting MaxFileDescriptors to 5000:
Unsupported on Windows -- rest.setMaxFileDescriptors() at config.go:378
11:41:21.551490 Opening db /sync_gateway as bucket "sync_gateway", pool
"default", server <http://192.168.1.78:8091>
11:41:21.552490 Opening Couchbase database sync_gateway on <
http://192.168.1.78:8091>
11:41:21.926511     Reset guest user to config
11:41:21.927511 Starting admin server on :4985
11:41:21.936512 Starting server on :4984 ...
11:41:23.995630 HTTP:  #001: GET
/_changes?feed=normal&heartbeat=300000&style=all_docs


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


I posted the entire log to a gist.
miltgrin <https://gist.github.com/miltgrin> / *milt_grocerySync-Android_log
<https://gist.github.com/miltgrin/85b4079584b3284f1907>*

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

> When you start sync gateway, you should see this somewhere in the output:
>
> "Opening db /sync_gateway as bucket <etc....> "
>
>
>
> On Tue, Nov 18, 2014 at 10:58 AM, Traun Leyden <[email protected]>
> wrote:
>
>> 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 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/CACSSHCGQK7mBPFNm1Jys-vyGqAkJmrTseVk5hCQLYpMV3pBX_g%40mail.gmail.com
> <https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCGQK7mBPFNm1Jys-vyGqAkJmrTseVk5hCQLYpMV3pBX_g%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_uz-KewK%3DPf%2B_Mo%2BDnFKMT5epOHpsP25HiUSKkc382OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to