Hello.
I have set up a SyncGateway witch should be configured correctly.
And I have created a test app for Android using the Couchbase for Mobile 
package for Xamarin.
I am able to store and retrieve values from the phones Couchbase Lite 
database.
But when I try to sync the the phones database with the SyncGateway I have 
set up I get a "404 missing (0,0 ms)" message and I'm stuck on why this is 
happening.

This is the server output when the phone attempts to sync
10:55:41.214112 Starting server on :4984 ...
2014/06/09 10:55:49 go-couchbase: call to ViewCustom("sync_gateway", 
"access") i
n github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.ViewCustom 
took 261
.2484ms
2014/06/09 10:55:49 go-couchbase: call to ViewCustom("sync_gateway", 
"access") i
n github.com/couchbaselabs/sync_gateway/base.couchbaseBucket.ViewCustom 
took 259
.243ms
10:55:49.411340 HTTP:  #001: GET 
/default/_local/69b53adb28fb91575d9a2cf5099697c
1e66884ed
10:55:49.411340 HTTP: #001:     --> 404 missing  (0.0 ms)
10:55:49.423351 HTTP:  #002: GET 
/default/_local/ad114d3c7723fe994d8442cb2dda67e
c3c21e31a
10:55:49.423351 HTTP: #002:     --> 404 missing  (0.0 ms)
10:55:49.427357 HTTP:  #003: GET 
/default/_changes?feed=longpoll&limit=50&heartb
eat=300000&style=all_docs


this is my config file:

{
   "interface":":4984",
   "adminInterface":":4985",
   "log":["CRUD", "REST+"],
   
   "pretty": true,
   "verbose": true,
   "databases":{
      
      "default":{
"users": {
         "GUEST": {"disabled": false},
  "app": {"password": "password", "name": "application"}
      },
         "server":"http://localhost:8091";,
         "bucket":"default",
         "sync":`function(doc) {channel(doc.channels);}`
      }
   }
}

and this is the url i use in the phone to contact the server:
http://app:[email protected]:4984/default


Can anyone shed some light on what is going wrong?

-- 
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/ce4faf1f-5b4e-4bbd-89ae-ba37717b317a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to