Ah... Now I'm convinced it's the sever...

I ran the same code against my production server (should have done that 
sooner) and it works fine.

So what can I do on the server side to check what's changed since migrating 
rom couchbase 2.5/ sgw 1.0.0 to couchase 3 / sgw 1.0.2 ?

slim

On Sunday, October 19, 2014 6:39:01 PM UTC-4, Seung Chan Lim wrote:
>
> oops, I meant http://lite.couchase./_replicate
>
> without the .com
>
> slim
>
> On Sunday, October 19, 2014 6:38:04 PM UTC-4, Seung Chan Lim wrote:
>>
>> On the server side, I see
>>
>> 22:27:47.518798 Cache: getCachedChanges("test4", {19 0}) --> 1 changes 
>> valid from #16
>>
>> 22:27:47.518808 Cache:   Querying 'channels' view for "test4" (start=#1, 
>> end=#16, limit=0)
>>
>> 22:27:47.681234 Cache:     Got no rows from view for "test4"
>>
>> 22:27:47.681250 Cache: GetChangesInChannel("test4") --> 1 rows
>>
>> 22:27:47.681325 Changes+: MultiChangesFeed sending &{Seq:19 ID:test4 
>> Deleted:false Removed:{} Doc:map[] 
>> Changes:[map[rev:1-71dd2bbe30125796be41904e93d3aef5]] branched:false}
>>
>> 22:27:47.681331 Changes+: MultiChangesFeed waiting...
>>
>> 22:27:47.681338 Changes+: Waiting for "default"'s count to pass 12
>>
>> 22:27:47.681364 Changes: sending 1 change(s)
>>
>>
>> So I'm now 100% confident the sync gateway is sending changes.
>>
>> So it has to be the client...
>>
>> I ran _active_tasks on my db and I see two replications. One is idle 
>> (push?), the other is "processed 0/0 changes" (pull?) with no active 
>> requests for either.
>>
>> Now, what could possibly be causing this??
>>
>> The call to http://lite.couchase.com/_replicate for PULL returns http 
>> status of 200...
>>
>>
>>
>>
>> slim
>>
>>
>>
>> On Sunday, October 19, 2014 5:26:02 PM UTC-4, Seung Chan Lim wrote:
>>>
>>> Is SyncVerbose an iOS obj-c thing? I'm on phonegap
>>>
>>>
>>> On Sunday, October 19, 2014 4:48:39 PM UTC-4, Jens Alfke wrote:
>>>>
>>>> I'm not sure what the problem might be. Have you turned on "Sync" or 
>>>> "SyncVerbose" logging to see if anything relevant gets logged? This would 
>>>> help to make sure that your user actually gets authenticated, the 
>>>> change-tracker actually reads the changes feed, etc. 
>>>>
>>>> Also, using curl or the equivalent, you can try getting /db/_changes 
>>>> while authenticated as the user (not on the admin port), and see if the 
>>>> docs show up. 
>>>>
>>>> —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/b0873775-9c24-4653-93de-02012ca175f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to