Re: Mac OS X: Sync Gateway remote monitor

2018-05-22 Thread Traun Leyden
d in changes but instead want to monitor sync > gateway replication for errors. Keeping in mind, checking for errors is the > motive to create this monitor. > > On Tuesday, May 22, 2018 at 3:35:43 AM UTC+5:30, Traun Leyden wrote: >> >> >> Sync Gateway has a REST API >>

Re: Mac OS X: Sync Gateway remote monitor

2018-05-21 Thread Traun Leyden
Sync Gateway has a REST API , and so if your CLI application has the same Sync Gateway credentials as the iOS app, it can detect when new changes appear on Sync Gateway, which would tell

Re: Announcing Couchbase Mobile 2.0 Beta 2 (DB 23)

2018-03-21 Thread Traun Leyden
On Wed, Mar 21, 2018 at 12:02 PM, Ben Kennedy <ben.kenn...@kashoo.com> wrote: > > On Mar 21, 2018, at 10:55 AM, Traun Leyden <traun.ley...@gmail.com> > wrote: > > > > You are correct in your assumptions that all conflict resolution in 2.0 > will be wall

Re: Announcing Couchbase Mobile 2.0 Beta 2 (DB 23)

2018-03-21 Thread Traun Leyden
Hey Ben, You are correct in your assumptions that all conflict resolution in 2.0 will be wallclock-based "last write wins", since there is no longer an API to plugin custom conflict resolvers. (previous 2.0 beta versions did have this feature) I can give you some insight into the thinking

Re: CBL on tvOS?

2018-03-08 Thread Traun Leyden
I can say that I witnessed it being tested on actual hardware (Jens literally brought an AppleTV into the office!) I've been meaning to try it myself, but haven't had a chance yet. I don't think it was popular enough to get on the officially supported product radar though, so the upgrade path to

Re: Cloudant 10 requests per second limit

2017-12-08 Thread Traun Leyden
Looks like this is the code in question: https://github.com/couchbase/couchbase-lite-ios/blob/9a8903b9e851d5584abeec069ead4d2637b3bb91/Source/CBLMisc.m#L381 On Fri, Dec 8, 2017 at 11:40 AM, Brendan Duddridge wrote: > Hi Jens, > > > Sync Gateway will sometimes return a 503

Re: Couch Db and Couch Base Lite Syncing Data to Android App, List view not refreshing sometime With LiveQuery -- Changed Method not calling

2017-12-08 Thread Traun Leyden
I answered on Stack Overflow On Wed, Dec 6, 2017 at 1:37 AM, Damor vipul wrote: > "*I am new to couchDB and trying to pull the data from CouchDB to My > Devices using CouchSync Gateway. i achieved 80% success ration that out of > 10 , 8 times my data synchronized and i got

Re: Number of documents replicated less than those reported by Sync Gateway

2017-12-07 Thread Traun Leyden
It's hard to speculate without knowing more about your setup. For example, depending on your sync function, certain docs might not replicate down to the device, but still be available via the SG view. Does it appear sporadic or is it the same behavior each time? Also, you might try getting

Re: Cloudant 10 requests per second limit

2017-12-05 Thread Traun Leyden
I think those limitations only apply to the free tier of IBM Cloud. I don't know of any throttling mechanisms in Couchbase Lite along those lines though. On Tue, Dec 5, 2017 at 12:55 PM, Brendan Duddridge wrote: > Hi, > > IBM has changed their system so that it only allows

Re: Multipart Uploader & document body request size

2017-12-01 Thread Traun Leyden
Just a limit on the request size. Inline attachments couldn't be more than > 1 MB, but external attachments could. But that doesn't make sense because > how can you have a request be under 1 MB, but still allow attachments > larger than that? > > I'm confused. > > Thanks > > B

Re: Multipart Uploader & document body request size

2017-12-01 Thread Traun Leyden
Mutli-part requests are all part of a single request, they are just chunked into multiple parts that are delimited by boundaries. I would file a support ticket w/ IBM Cloud and try to get some guidance from them, but it sounds to me like you will either need to: - Find another hosting provider

Re: Syncronization offiline

2017-12-01 Thread Traun Leyden
I would suggest trying to build a proof of concept, and then post specific questions here or the couchbase forum . On Friday, December 1, 2017 at 4:26:22 AM UTC-8, Anderson Scherdovski wrote: > > Thank you very much ... More if someone knows someone else will help

Re: Syncronization offiline

2017-11-30 Thread Traun Leyden
Yes, peer to peer is possible. On Thu, Nov 30, 2017 at 8:28 AM, Anderson Scherdovski < aandersonscherdov...@gmail.com> wrote: > I'm from Brazil, sorry for speaking too bad English. > Can I synchronize directly to devices without having a server? > > -- > You received this message because you are

Re: iOS Swift: Questions

2017-11-01 Thread Traun Leyden
It sounds like you are asking about querying. Check out: https://developer.couchbase.com/documentation/mobile/1.4/guides/couchbase-lite/native-api/query/index.html in particular the section: Unfortunately this has obvious problems. The correct stop value to use > turns out to be an empty

Re: Questions about 2.0

2017-10-30 Thread Traun Leyden
Alex, can you open a new topic for this? On Fri, Oct 27, 2017 at 2:13 PM, Alex Zavatone wrote: > I know this is very late in the thread, but regarding iOS peer to peer > replication in Couchbase, I am looking for "best approach" advice on how to > solve this peer to peer

Re: iOS Swift: Questions

2017-10-30 Thread Traun Leyden
That should work as far as I know, but if you emit the entire doc (multiple times) it's really going to bloat your index. More discussion here and here

Re: Deleting a document in Couchbase server admin console

2017-05-31 Thread Traun Leyden
https://developer.couchbase.com/documentation/mobile/1.4/references/sync-gateway/rest-api/index.html#!/document/delete_db_doc On Wed, May 31, 2017 at 12:51 PM, Parvez Qureshi < parvez.qure...@decurtis.com> wrote: > Jens > Can you give a simple example of SG rest api to delete a document? > > Get

Re: Deleting a document in Couchbase server admin console

2017-05-31 Thread Traun Leyden
You actually shouldn't ever edit a Couchbase Server document directly if it's in a bucket that is being managed by Sync Gateway. The upcoming release of Sync Gateway 1.5 will allow that, but in the current Sync Gateway 1.4 release the only way to safely use that is via Bucket Shadowing, which

Re: SG & Nginx

2017-05-24 Thread Traun Leyden
Our current recommendation is to not use sticky sessions, which is based on some testing experience where we noticed that traffic tended to "clump up" too much rather than spreading things out evenly. Having said that, there is no known reason why sticky sessions wouldn't work, and so you might

Re: Making document private

2017-04-28 Thread Traun Leyden
What about using a Local Document here? On Fri, Apr 28, 2017 at 7:27 AM, Jens Alfke wrote: > This should work; we have tests for it. The only

Re: Storing logs in Couchbase Server for analyzing

2017-04-20 Thread Traun Leyden
@Jens: I remember you worked on something to transport logs from the Couchbase Lite iOS up to the server. Do you have any details on that? On Thursday, April 20, 2017 at 3:21:13 AM UTC-7, parvez.qure...@decurtis.com wrote: > > For an iOS application that is using Couchbase lite, we do have >

Re: Storing large files especially zip in couchbase

2017-04-10 Thread Traun Leyden
Yeah this is definitely possible, but requires some Sync Gateway work to be able to interface with a different storage system for the attachments. (eg, something like https://minio.io/ or similar) I would get in touch with Sachin Smotra who is the Couchbase Mobile product manager and ask to

Re: syncgateway replicate target DNS resolution

2017-01-12 Thread Traun Leyden
10 second TTL seems like it's pretty short, I wouldn't be surprised if it's causing some of your issues: http://serverfault.com/questions/7478/recommended-dns-ttl According to this, SG 1.3 was built with Go 1.5: https://github.com/couchbase/sync_gateway/tree/1.3#build-pre-requisites On Thu,

Re: syncgateway replicate target DNS resolution

2017-01-11 Thread Traun Leyden
We're not doing anything special in the sg-replicate code with respect to dns lookups (on purpose), so I think it's probably a lower level issue. It might be a problem with your DNS server configuration, or an issue with the go http library. Just to clarify actual vs expected though, are you

Re: Calling CouchDB Views from Couchbase lite

2016-10-12 Thread Traun Leyden
erver and then > use Sync Gateway if our current filtering seems unusable. > > Thanks > Raja > > > On Tue, Oct 11, 2016 at 9:17 PM, Traun Leyden <traun.ley...@gmail.com> > wrote: > >> Couchbase Lite doesn't have any wrappers for accessing CouchDB views, so &g

Re: Calling CouchDB Views from Couchbase lite

2016-10-11 Thread Traun Leyden
Couchbase Lite doesn't have any wrappers for accessing CouchDB views, so you'll have to do this on your own. You could either use a straight HTTP library like OkHttp , or a wrapper library like Ektorp Also, Sync Gateway was built for this

Re: Running sg-replicate in multiple instances

2016-10-11 Thread Traun Leyden
Right now the recommended approach is to use different configurations for each SG instance. I realize this complicates your deployment process, but unfortunately there is currently no other approach AFAIK. On Mon, Oct 10, 2016 at 8:43 PM, arihant rk wrote: > Since

Re: sg-replicate creating new local document for every restart

2016-09-14 Thread Traun Leyden
Jens, That might be an issue, thanks for pointing that out. I filed a ticket to look into that -- https://github.com/couchbaselabs/sg-replicate/issues/41 On Wed, Sep 14, 2016 at 9:49 AM, Jens Alfke wrote: > > On Sep 13, 2016, at 10:45 PM, arihant rk

New Sync Gateway 1.3.0 AMI's available in the AWS marketplace

2016-08-30 Thread Traun Leyden
Couchbase Server & Couchbase Sync Gateway Community Edition Couchbase Server & Couchbase Sync Gateway Enterprise Edition (Silver)

Sync Gateway 1.3 docker image available

2016-08-22 Thread Traun Leyden
We're in the process of proposing an official Docker image for Sync Gateway , but in the meantime we have unofficial docker images available on Dockerhub: *To install the enterprise version of Sync Gateway 1.3:* docker pull

Re: using couchbase lite in android system service

2016-08-01 Thread Traun Leyden
Yes, we have a Java version of Couchbase Lite that can be used anywhere that runs a recent version of Java (sorry I don't know the exact requirements) The repo is here: https://github.com/couchbase/couchbase-lite-java and there are pre-compiled downloads available here:

Re: sg-replicate is not replication _sync documents

2016-05-11 Thread Traun Leyden
Yeah, it's a known limitation of sg-replicate that it doesn't sync user documents. I don't know what the plan is for that -- I filed a ticket to track the conversation: https://github.com/couchbaselabs/sg-replicate/issues/30 On Wed, May 11, 2016 at 12:21 AM, Jens Alfke

Sync Gateway 1.2.0 Docker images

2016-02-17 Thread Traun Leyden
For those of you who run Sync Gateway under docker, you can update to 1.2 by running: *docker pull couchbase/sync-gateway * or *docker pull couchbase/sync-gateway:1.2.0 * -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe

Sync Gateway repo structure change

2016-02-12 Thread Traun Leyden
For those of you who are building sync gateway from source, we recently made some big changes to the repo structure in PR 1583 . If you have an existing clone of the sync gateway repo, I'd suggest the following: * Deleting your current clone

Re: SG 1.2 seems to break Basic Auth SG View access

2016-02-05 Thread Traun Leyden
See https://github.com/couchbase/sync_gateway/issues/1493 and https://github.com/couchbase/sync_gateway/pull/1499 It's an "unsupported" feature that can be explicitly enabled in the config. On Fri, Feb 5, 2016 at 9:01 AM, Todd Freese wrote: > Did this commit make it

Re: SG 1.2 seems to break Basic Auth SG View access

2016-02-05 Thread Traun Leyden
The 1.2 docs are up, but I don't think the unsupported feature made it into the docs yet. On Fri, Feb 5, 2016 at 11:54 AM, Todd Freese wrote: > Thanks. Is this documented anywhere? Are the docs on the web site updated > for 1.2? > > Todd > > -- > You received this

Sending iOS push notifications via Uniqush

2016-02-03 Thread Traun Leyden
I wrote up a blog post on how to send push notifications through the open source push notification gateway Uniqush to an iOS app: http://tleyden.github.io/blog/2016/02/03/setting-up-uniqush-with-apns/ At some point I'm hoping to update the TodoLite sample app to use this. -- You received

Re: Has anyone written a connector between Couchbase Lite and CloudKit?

2016-01-08 Thread Traun Leyden
I haven't heard of anyone doing that, but I'm sure a lot of people would be interested in it! The couchbase lite code should be decoupled enough to make that possible -- eg, it would be a matter of writing a CloudKitReplicator implementation which used the couchbase lite API. (CloudKitReplicator

Re: Is there a public git repo for the CBL and/or Sync Gateway documentation?

2015-09-03 Thread Traun Leyden
Hey Paul, Do you mean the server documentation, the mobile documentation, or both? On Thu, Sep 3, 2015 at 6:11 AM, Paul Capestany wrote: > Btw, just to be clear, the specific documentation I'm referring to is that > which (currently) resides at >

Re: Better integration of JWT for custom auth in SG as Proxy - Tutorial + Idea

2015-08-14 Thread Traun Leyden
Thanks. This looks great! @Jamlitz you should definitely check this out. On Thu, Aug 13, 2015 at 9:31 PM, Thiago Alencar thiago...@gmail.com wrote: Hey there, I noticed quite a few people having trouble setting up the initial authentication with custom auth, so I thought: why not expand on

Any security concerns with the HTTP server socket in Couchbase Lite + Phonegap?

2015-06-15 Thread Traun Leyden
A user asked me over email whether there were any security concerns with the HTTP server socket in Couchbase Lite when used with PhoneGap. *iOS* There should be zero concerns since it uses CBLURLProtocol, which avoids the networking stack completely. *Android* It listens on a real

Question regarding facebook auth in TodoLite app

2015-06-15 Thread Traun Leyden
User question via email: I have seen facebook auth in the todolite phonegap app….Is this for sync-gw user authentication or general user authentication? The Facebook auth is for both user *creation* and authentication. Here's how it works: 1. TodoLite calls the Facebook SDK API to

Official DockerHub image for Couchbase Server + Sync Gateway

2015-06-01 Thread Traun Leyden
Hey all, Couchbase Server has just received Official Repo status on Dockerhub: https://registry.hub.docker.com/u/library/couchbase/ And we also have a semi-official repo for Sync Gateway which is maintained by Couchbase staff: https://registry.hub.docker.com/u/couchbase/sync-gateway/

Re: Clustering SG CBS

2015-04-30 Thread Traun Leyden
On Thu, Apr 30, 2015 at 8:59 AM, Daniel McGreal d.j.mcgr...@gmail.com wrote: Thanks Jens, CouchDB instance to do the replication since the protocol is compatible. Could you elaborate a little on how this would be achieved (links to documentation/terminology to search for appreciated also).

Re: Filtered PullReplication on a channel

2015-04-24 Thread Traun Leyden
Nitihin, Looks like you posted here *and* the forum: https://forums.couchbase.com/t/filtered-pullreplication-on-a-channel/3601 Please just post it once, since otherwise it will lead to confusion and extra work. (to be fair, I realize it's confusing that we have multiple forums.. ) On Fri,

Re: SG from master + official CBL 1.0.4: WebSocket problems libBacktraceRecording.dylib: allocate_free_list_pages() -- virtual memory exhausted!

2015-04-13 Thread Traun Leyden
Try this: https://github.com/couchbase/couchbase-lite-ios/issues/246#issuecomment-57250943 Sent from my iPhone On Apr 13, 2015, at 6:15 AM, Alexander Selling alexander.sell...@gmail.com wrote: Is there a way to force CBL to use long polling instead of web sockets? There doesn't seem to

Re: Sync gateway with XDCR

2015-03-24 Thread Traun Leyden
to restarted to pick up the changes? On Tuesday, March 24, 2015 at 11:18:04 AM UTC-7, Traun Leyden wrote: The only safe way to use XDCR is if you have a single master Couchbase Cluster + Sync Gateway that accepts writes, and all of your other CBCluster + Sgw are read-only. (Sync Gateway doesn't

Re: Sync gateway with XDCR

2015-03-24 Thread Traun Leyden
The only safe way to use XDCR is if you have a single master Couchbase Cluster + Sync Gateway that accepts writes, and all of your other CBCluster + Sgw are read-only. (Sync Gateway doesn't currently have a read-only mode to my knowledge, not sure about Couchbase Server). Otherwise, since XDCR

Re: ToDo Lite only displays a blank grey screen on Android

2015-03-23 Thread Traun Leyden
Is this phonegap or native android? Sent from my iPhone On Mar 22, 2015, at 8:46 PM, yangzijun...@gmail.com wrote: can you device connect with Facebook? when you can not connect with Facebook, the blank screen show in my device. On Thursday, February 13, 2014 at 9:14:11 AM UTC+8, Yuxiang

Use github repos directly from maven - https://jitpack.io/

2015-03-16 Thread Traun Leyden
This tool could be useful for couchbase lite java/android users who want to use the latest master branch (or a feature branch) via a maven repo: https://jitpack.io/ -- You received this message because you are subscribed to the Google Groups Couchbase Mobile group. To unsubscribe from this

Re: CouchbaseLite Peer to Peer connection crashes on iOS 8.2

2015-03-12 Thread Traun Leyden
Use the “bt” command in the debugger console to get a textual dump of the stack that you can paste into a bug report https://github.com/couchbase/couchbase-lite-ios/issues/new. For other guidelines, see the contributor info document

Re: Couchbase Timeout on first hit from syncgateway

2015-03-09 Thread Traun Leyden
Also, is the couchbase server under heavy load? On Mon, Mar 9, 2015 at 8:38 AM, ajres a...@couchbase.com wrote: Are the Sync Gateway and Couchbase Server nodes on the same LAN, or do you have a network device (firewall ?) in between that could be terminating connections?. -- You received

ANN: Couchbase Mobile now has a Gitter

2015-02-25 Thread Traun Leyden
We recently launched several Gitter chatrooms, the main one being: https://gitter.im/couchbase/mobile The various project README's have links to the more project-specific chat rooms.

Re: Indexing bucket/_design/sync_gateway never stops.

2015-02-24 Thread Traun Leyden
We ran into the same issue on our demo cluster: https://github.com/couchbase/sync_gateway/issues/677 -- 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

Re: Debugging unit tests in Android Studio

2015-02-19 Thread Traun Leyden
Yeah, I deleted them since they were so out of date and inaccurate. On Thu, Feb 19, 2015 at 8:24 AM, Luke Davis lpdavi...@gmail.com wrote: These links lead to a create page on GitHub On Tuesday, August 27, 2013 at 2:58:26 PM UTC-4, Traun Leyden wrote: I just added some wiki pages about

Re: Slow replication speeds when changing database from Walrus to Couchbase

2015-02-09 Thread Traun Leyden
-5, Traun Leyden wrote: On Thu, Jan 29, 2015 at 9:33 PM, Jens Alfke je...@couchbase.com wrote: I'm not knowledgeable on deploying cloud-hosted Sync Gateways, so I don't have any idea how to troubleshoot this. Traun's done the most work on that, I think, so hopefully he can chime in. I

Re: Slow replication speeds when changing database from Walrus to Couchbase

2015-02-09 Thread Traun Leyden
help. See above. Thanks, Traun Thanks again! -- Eric On Monday, February 9, 2015 at 3:24:39 PM UTC-5, Traun Leyden wrote: Hey Eric, Sorry for the late reply. If you look at this performance run result http://ci.sc.couchbase.com/view/sync%20gateway/job/cen006-p0-cbsgw-real-perf

Re: Some classes to make the Couchbase Lite usage easier in Phonegap apps

2015-02-09 Thread Traun Leyden
Thanks for sharing! I take it couchito stands for little couch? :) On Mon, Feb 9, 2015 at 7:03 AM, Federico Hernandez fede.hernan...@gmail.com wrote: Hi everyone, I've been working on a mobile app with Phonegap and Couchbase and I liked to share with all of you some classes than might

Re: 400 error Change tracker stopped during continuous replication (cordova)

2015-01-30 Thread Traun Leyden
Can you file a ticket to https://github.com/couchbase/couchbase-lite-java-core and include logcat output? On Tue, Jan 27, 2015 at 7:15 AM, Vinay Bhinde vina...@gmail.com wrote: Hello I am using couchbase lite phonegap plugin to sync with gateway from android and ios devices. I am facing a

Re: Long Poll warnings

2015-01-29 Thread Traun Leyden
Yeah there are known issues with ios + ELB, see this google group thread https://groups.google.com/forum/#!msg/mobile-couchbase/jJMqnoauMWQ/FHND_WqtYaMJ . Either you have to disable websockets on ios, or switch to nginx

Re: peer-to-peer between two offline mobiles

2015-01-26 Thread Traun Leyden
On the java side, check out: https://github.com/couchbase/couchbase-lite-java-listener On Jan 25, 2015, at 2:41 AM, Andrew Tokarev andy.toka...@gmail.com wrote: Sure, there is CouchbaseLiteListener.framework, which came within a bundle. CBLListener is a class to use, it starts server on

Re: Why can I only see changes on the SG Admin port (4985)

2015-01-26 Thread Traun Leyden
If we do, I think we should come up with a clearer name than admin party. On Jan 25, 2015, at 2:46 PM, Jens Alfke j...@couchbase.com wrote: On Jan 24, 2015, at 6:40 PM, John Carr jdc0...@gmail.com wrote: I'm a newbie to the entire CouchBase suite. I've set up CouchBase, Sync_Gateway

Re: Run Sync Gateway + Couchbase Server Under CoreOS on AWS

2015-01-26 Thread Traun Leyden
Hey Todd, Is there anyway to define the availability zones for the nodes? I haven't looked into that yet, but I'll keep it in mind. If you try it, please let me know how it goes, and I can try to fold that into the scripts / config. For example, if you have 2 nodes, they should really be

Re: Push replication in background.

2015-01-19 Thread Traun Leyden
This issue might be relevant: https://github.com/tleyden/office-radar/issues/1#issuecomment-48780693 On Mon, Jan 19, 2015 at 1:06 PM, Martin Palatnik mar...@gmail.com wrote: Hi, In an app I'm working on I'm using Region monitoring and couchbase. When I enter the region, I need to save some

SF Meetup: YOU Technology Couchbase Deployment iOS apps with Couchbase Mobile in Swift

2015-01-13 Thread Traun Leyden
Tomorrow night @ 6pm http://www.meetup.com/The-San-Francisco-Couchbase-Meetup-Group/events/219315252/ -- 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

Re: conflicting documents on sync

2015-01-08 Thread Traun Leyden
Have you seen the Document conflicts FAQ http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/document/index.html#conflict-faq ? On Thu, Oct 30, 2014 at 4:29 PM, Dominique Legault deefactor...@gmail.com wrote: I think I've got a little more details into the issue.

Re: While doing pull replication the UI is strucking

2015-01-08 Thread Traun Leyden
I have filed a ticket for this: https://github.com/couchbase/couchbase-lite-java-core/issues/376 On Fri, Nov 14, 2014 at 5:10 AM, PRASANNA KUMAR prasannakumar.pg...@gmail.com wrote: Hi All, I have been working the android couch base lite in android. The pull replication is very slow

Re: Training Android - Can't find SQLiteConnection.mConnectionPtr

2015-01-08 Thread Traun Leyden
mentioned: http://developer.couchbase.com/mobile/develop/training/build-first-android-app/get-started-studio/index.html#add-cbl-dependencies. Please update. On Saturday, December 6, 2014 12:02:17 PM UTC-8, Traun Leyden wrote: Looks like you are using an older version and hitting this issue

Re: How to get _changes from phonegap app

2015-01-08 Thread Traun Leyden
I think you want to use admin_channels instead of channels, ie: curl -X PUT http://localhost:4985/adb/_user/fede --data \ '{name: fede, email:someth...@domain.com, *admin_channels*:[*], role:user, password: **}' On Thu, Jan 8, 2015 at 11:54 AM, Federico Hernandez fede.hernan...@gmail.com

Re: Android, Changes in replication algorithm from 1.0.0-beta3rc10 to 1.0.3

2015-01-07 Thread Traun Leyden
Hi Olivier, I have seen large replications like that go slower than I'd like, but I haven't seen them stall out like that. Can you please file a ticket here https://github.com/couchbase/couchbase-lite-java-core/issues? Also, it would be useful if you could install a network sniffing tool such

Re: Android, Changes in replication algorithm from 1.0.0-beta3rc10 to 1.0.3

2015-01-07 Thread Traun Leyden
Btw, we wrote up some bug reporting guidelines https://github.com/couchbase/mobile/wiki/Reporting-Bugs which should help minimize the back and forth and speed things up. On Wed, Jan 7, 2015 at 10:32 AM, Traun Leyden traun.ley...@gmail.com wrote: Hi Olivier, I have seen large replications like

Re: WTA: How to make listener to sync gateway/couchbase server with python/node/java

2014-12-23 Thread Traun Leyden
Did you see this thread? https://groups.google.com/d/msgid/mobile-couchbase/41406555-f4fa-4a7c-a361-fefa2100b863%40googlegroups.com?utm_medium=emailutm_source=footer On Mon, Dec 22, 2014 at 7:08 PM, Indrajaya bin Prawoto jay00...@gmail.com wrote: Dear All, According to GrocerySync-Android

Re: Roadmap for Java/Android?

2014-12-20 Thread Traun Leyden
Hey Brandon, I can tell you that having a model layer is on our roadmap, but I don't know the exact priority. (@Zack want to chime in on this?) Creating a model layer that everyone loves is actually kind of tricky. It's made even trickier by the fact that reflection is very expensive on

Re: Two objects from _active_tasks with replication?

2014-12-18 Thread Traun Leyden
No. There's an unmerged branch named feature/unpushed that adds a [native] API to get that status, though, but it doesn't expose that via the REST API. (I should merge that branch for 1.1…) That is a really useful feature. What is blocking getting this merged into master? -- You received

Re: Android Cblite 1.0.3 bug?

2014-12-18 Thread Traun Leyden
Thanks for reporting this. I just filed issue 361 https://github.com/couchbase/couchbase-lite-java-core/issues/361 to track this, and added some questions for you on the issue. On Wednesday, December 17, 2014 6:34:58 PM UTC-8, sleith wrote: Hi, i encountered crashed using cblite 1.0.3.

Re: Running a Sync Gateway Cluster Under CoreOS on AWS

2014-12-16 Thread Traun Leyden
Hey Todd, Great feedback, and I would have done it in the first pass if it wasn't for the complexity involved. Luckily Andy Reslan has written up a guide on that: http://developer.couchbase.com/mobile/develop/guides/sync-gateway/nginx/configuring-nginx-for-sync-gateway/index.html and at some

Re: Apple Push Notification Service with UILocalNotfication + Sync Gateway instead

2014-12-16 Thread Traun Leyden
it to work. Thanks as always Christoph From: Traun Leyden traun.ley...@gmail.com Reply-To: mobile-couchbase@googlegroups.com mobile-couchbase@googlegroups.com Date: Saturday, December 13, 2014 at 9:54 AM To: mobile-couchbase@googlegroups.com mobile-couchbase@googlegroups.com Subject: Re

Re: Get error status: 403 ONLY when trying to update a document and calling setAttachment on the new revision

2014-12-15 Thread Traun Leyden
...@gmail.com wrote: OK I will do that. Thanks guys. On Friday, December 12, 2014 7:34:17 PM UTC-5, Traun Leyden wrote: Yeah, that's weird — the _revs_diff request is made as id 2, but the document PUT that follows is unauthenticated and made as guest (which is presumably why the sync function

Running a Sync Gateway Cluster Under CoreOS on AWS

2014-12-15 Thread Traun Leyden
I just wrote up a blog post which walks through how to run a 3 node Couchbase Server + Sync Gateway cluster on AWS: http://tleyden.github.io/blog/2014/12/15/running-a-sync-gateway-cluster-under-coreos-on-aws/ Also it covers firing up more Sync Gateway nodes and setting up an Elastic Load

Re: Apple Push Notification Service with UILocalNotfication + Sync Gateway instead

2014-12-13 Thread Traun Leyden
as soon as possible and get back to you. Thanks Christoph From: Traun Leyden traun.ley...@gmail.com Reply-To: mobile-couchbase@googlegroups.com mobile-couchbase@googlegroups.com Date: Saturday, December 13, 2014 at 8:43 AM To: mobile-couchbase@googlegroups.com mobile-couchbase

Re: Apple Push Notification Service with UILocalNotfication + Sync Gateway instead

2014-12-13 Thread Traun Leyden
the challenge :) From: Traun Leyden traun.ley...@gmail.com Reply-To: mobile-couchbase@googlegroups.com mobile-couchbase@googlegroups.com Date: Saturday, December 13, 2014 at 9:50 AM To: mobile-couchbase@googlegroups.com mobile-couchbase@googlegroups.com Subject: Re: Apple Push Notification

Re: Get error status: 403 ONLY when trying to update a document and calling setAttachment on the new revision

2014-12-12 Thread Traun Leyden
Can you post a snippet of your sync gateway config, as well as the java code where you kick off the replication? On Fri, Dec 12, 2014 at 1:59 PM, Saif Khan saifkhan...@gmail.com wrote: For additional info, we are using a node server with sync gateway. Here are the sync gateway logs from when

Re: Get error status: 403 ONLY when trying to update a document and calling setAttachment on the new revision

2014-12-12 Thread Traun Leyden
Can you post a snippet of your sync gateway config, as well as the java code where you kick off the replication? On Fri, Dec 12, 2014 at 1:59 PM, Saif Khan saifkhan...@gmail.com wrote: For additional info, we are using a node server with sync gateway. Here are the sync gateway logs from when

Re: Get error status: 403 ONLY when trying to update a document and calling setAttachment on the new revision

2014-12-12 Thread Traun Leyden
Yeah, that's weird — the _revs_diff request is made as id 2, but the document PUT that follows is unauthenticated and made as guest (which is presumably why the sync function rejected it.) Sounds like a bug in the Android replicator? Agreed. @Saif can you file a bug in

Blog post: running Couchbase Lite Phonegap Android on OSX

2014-12-11 Thread Traun Leyden
I went through the steps of installing TodoLite-Phonegap onto an Android emulator, and wrote up the steps in a blog post: http://tleyden.github.io/blog/2014/12/11/up-and-running-with-couchbase-lite-phonegap/ -- You received this message because you are subscribed to the Google Groups Couchbase

Re: Porting Reactive Couchbase to Android

2014-12-10 Thread Traun Leyden
Right now the couchbase lite android supports API 2.3 and later. What would the minimum API become if we introduced dependencies on RxJava? Also, can you outline a little more of what you had in mind for couchbase lite + RxJava? On Wed, Dec 10, 2014 at 1:29 PM, F Estevez

Re: [Java native] missing dependency in maven repository

2014-12-09 Thread Traun Leyden
Hey Fabian, Thanks for reporting this. I just looked into it, and yes our official download for 1.0.3.1 couchbase-lite-java is broken. It is missing quite a few jars, including the *couchbase-lite-java.jar* that you mentioned. I will do what I can to make sure this gets fixed in our next

Re: Php Docs bug

2014-12-09 Thread Traun Leyden
Can you post this on https://forums.couchbase.com/? This group is for mobile related issues, and that's a Couchbase SDK issue. (short story, it's a different department) @Matt -- this is the best place for that post right? On Tue, Dec 9, 2014 at 2:35 PM, Dominique Legault

Re: Sync Gateway Running on AWS

2014-12-09 Thread Traun Leyden
If you like nohup, you'll love tmux or screen! On Tue, Dec 9, 2014 at 5:12 PM, Steve s.anderson...@gmail.com wrote: Hi Andy I don't think it's a problem, other than an end user problem. I started Sync Gateway with the no hang up command last night, it is still running this morning. I think

Re: Training Android - Can't find SQLiteConnection.mConnectionPtr

2014-12-06 Thread Traun Leyden
Looks like you are using an older version and hitting this issue: https://github.com/couchbase/couchbase-lite-android/issues/373 Can you give me the direct link to the docs you are looking at so we can update it? Also, let me know where you downloaded the couchbase lite binaries so I can make

Re: Cannot signup for the forums

2014-12-04 Thread Traun Leyden
Which forum are you referring to? On Wed, Dec 3, 2014 at 12:23 PM, Eno symb...@gmail.com wrote: Signed up but never got the activation email. So I have a login I can't login to. Can someone running the forums activate me or re-send the activation for the email address couchbase AT bitblit.net

Re: Syncing between IOS and Android App (both made using cordova) and couchbase lite plugin

2014-12-04 Thread Traun Leyden
Can you post your sync gateway config? Also, I would suggest disabling guest access, so that way you know whether it's using the session cookie or not (if it's not, it will get an error trying to do a replication) On Thu, Dec 4, 2014 at 3:40 AM, Vinay Bhinde vina...@gmail.com wrote: Hello All,

Re: Cannot signup for the forums

2014-12-04 Thread Traun Leyden
Ah ok. I forwarded an email to the admin about that. Feel free to post all of your questions here in the meantime. On Thu, Dec 4, 2014 at 12:25 PM, Eno symb...@gmail.com wrote: https://forums.couchbase.com/ On Thursday, December 4, 2014 1:26:31 PM UTC-5, Traun Leyden wrote: Which forum

Screencasts for GrocerySync-Android demo app

2014-12-04 Thread Traun Leyden
I uploaded a few screencasts that will hopefully benefit new users to Couchbase Lite Android: GrocerySync - Couchbase Lite Android demo app: Part I https://www.youtube.com/watch?v=9rWY2CrnFHw -- get up and running (4m 35s) GrocerySync - Couchbase Lite Android demo app: Part II

Re: How to use couchbase-lite-java ?

2014-12-03 Thread Traun Leyden
Hi, You should use: ManagerOptions options= new ManagerOptions(); Manager manager=new Manager(new JavaContext(), options); On Wed, Dec 3, 2014 at 1:43 PM, Doru Chiulan doru.chiu...@gmail.com wrote: Hi, I am trying to build couchbase-lite-java in order to use for an offline desktop

Re: Sync Gateway don't sync Server Data to Android App

2014-12-03 Thread Traun Leyden
See https://github.com/couchbase/couchbase-lite-android/issues/466 On Wed, Dec 3, 2014 at 3:33 PM, Katharina Wehrle kadaina...@gmail.com wrote: Hey Guys, I’m started to use Sync Gateway for my Android App, when I insert Data from Android to my Server everything works fine, but now I have

Re: ERROR'S: The library 'couchbase-lite-android-source-1.0.3.1.jar' contains native libraries

2014-12-01 Thread Traun Leyden
, Nov 30, 2014 at 5:04 AM, Sandeep Khode sgkh...@gmail.com wrote: I am too facing similar issues. I referred following link: http://developer.couchbase.com/mobile/get-started/get-started-mobile/android/get-started-eclipse/index.html On Friday, 31 October 2014 00:06:18 UTC+5:30, Traun Leyden

Re: Sync Failing - JSON error parsing _changes feed

2014-12-01 Thread Traun Leyden
I checked couchbase-lite-android, and there is code to ignore _change entries without id fields. Should it be doing anything with these changes, or is ignoring them the correct behavior? On Mon, Dec 1, 2014 at 8:34 AM, Jens Alfke j...@couchbase.com wrote: I wonder if this comes from the

Error importing TodoLite Android

2014-11-25 Thread Traun Leyden
This came to me via an email, but I'm posting to the forum in case anyone else has run into a problem importing TodoLite-Android https://github.com/couchbaselabs/ToDoLite-Android: Let me preface this by noting that I haven’t delved a lot into Gradle, since Android Studio has worked pretty well

Re: Error importing TodoLite Android

2014-11-25 Thread Traun Leyden
on an overall approach that avoids these kinds of errors: https://groups.google.com/forum/#!topic/adt-dev/ocvAigtJZo0 If anyone has any tips, please don't hesitate to post them. On Tuesday, November 25, 2014 2:37:40 PM UTC-8, Traun Leyden wrote: This came to me via an email, but I'm posting

  1   2   3   4   >