It maybe just an issue with Amazon Web Services as syncing is working if I change the Couchbase URL in my app to point to Cloudant or the local database on my laptop.
>From the Sync Gateway log when syncing with the local database on my laptop: 00:51:35.059387 ==== Couchbase Sync Gateway/1.00 (1.0.1-18; commit 81a69a16) ==== 00:51:35.059464 Configured Go to use all 4 CPUs; setenv GOMAXPROCS to override this 00:51:35.059485 Opening db /gogas as bucket "gogas", pool "default", server <http://blahblah.local:8091> 00:51:35.059526 Opening Couchbase database gogas on <http://blahblah.local:8091> 00:51:35.116853 Using default sync function 'channel(doc.channels)' for database "gogas" 00:51:35.119595 Reset guest user to config 00:51:35.119607 Starting admin server on 127.0.0.1:4985 00:51:35.121077 Starting server on :4984 ... 00:51:43.494157 HTTP: #001: GET /gogas/_local/ec68e9f927a86a472d235152dde3322978611468 00:51:43.494450 HTTP: #001: --> 404 missing (0.0 ms) 00:51:43.495794 HTTP: #002: GET /gogas/_local/88e749e379a9a8be0a700d89e2d1f5218c1eb2e5 00:51:43.496158 HTTP: #002: --> 404 missing (0.0 ms) 00:51:43.522040 HTTP: #003: POST /gogas/_changes 00:51:43.611762 HTTP: #004: POST /gogas/_bulk_get?revs=true&attachments=true 00:51:43.611861 HTTP: #005: GET /gogas/_local/c71ab5c7aeaae3bc8e48576ff0171373182ee6d8 00:51:43.612696 HTTP: #005: --> 404 missing (0.0 ms) 00:51:43.661130 HTTP: #007: POST /gogas/_bulk_get?revs=true&attachments=true 00:51:43.662123 HTTP: #008: POST /gogas/_bulk_get?revs=true&attachments=true 00:51:43.667257 HTTP: #006: POST /gogas/_bulk_get?revs=true&attachments=true ... Why the "404 missing" entries? What I don't understand is that previously the app was able to successfully sync with AWS; not sure what has changed. On Friday, 28 November 2014 14:15:38 UTC+13, Steve wrote: > > Couchbase Lite is failing to sync with the following error: > > 2014-11-28 14:06:50.537 GoGas[26614:1110004] self.push is NOT nil > 2014-11-28 14:06:50.537 GoGas[26614:1110004] Push sync progress: 0 / 0 > 2014-11-28 14:06:50.538 GoGas[26614:1110004] Push sync is idle. > 14:06:50.982‖ WARNING*** : JSON error parsing _changes feed: parse error: > client cancelled parse via callback return value > > 14:06:50.985‖ WARNING*** : CBLSocketChangeTracker[0x7f8c1265b790 gogas]: > Can't connect, giving up: Error Domain=CBLChangeTracker Code=587 "The > operation couldn’t be completed. (CBLChangeTracker error 587.)" > > I have tried restarted the Sync Gateway and Couchbase Server (running on > AWS), this did not help. Any ideas what might cause this, what I should be > checking in my app? > > Version of Sync Gateway: > > 01:06:18.554680 ==== Couchbase Sync Gateway/1.0.3(81;fa9a6e7) ==== > -- 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/98b7a3eb-7f23-433c-8b36-7a87e0353ece%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
