Skip to content

Instantly share code, notes, and snippets.

@arribbar
Last active August 29, 2015 14:03
Show Gist options
  • Save arribbar/16bd71cc39ad91b04d76 to your computer and use it in GitHub Desktop.
Save arribbar/16bd71cc39ad91b04d76 to your computer and use it in GitHub Desktop.
logs - short circuit the network reachability manager
package com.couchbase.cblite.phonegap;
import android.content.Context;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CordovaInterface;
import org.json.JSONArray;
import com.couchbase.lite.NetworkReachabilityManager;
import com.couchbase.lite.android.AndroidContext;
import com.couchbase.lite.Manager;
import com.couchbase.lite.listener.LiteListener;
import com.couchbase.lite.listener.LiteServlet;
import com.couchbase.lite.listener.Credentials;
import com.couchbase.lite.router.URLStreamHandlerFactory;
import com.couchbase.lite.View;
import com.couchbase.lite.javascript.JavaScriptViewCompiler;
import com.couchbase.lite.util.Log;
import java.io.IOException;
import java.io.File;
public class CBLite extends CordovaPlugin {
private static final int DEFAULT_LISTEN_PORT = 5984;
private boolean initFailed = false;
private int listenPort;
private Credentials allowedCredentials;
/**
* Constructor.
*/
public CBLite() {
super();
System.out.println("CBLite() constructor called");
}
public void initialize(CordovaInterface cordova, CordovaWebView webView) {
System.out.println("initialize() called");
super.initialize(cordova, webView);
initCBLite();
}
private void initCBLite() {
try {
allowedCredentials = new Credentials("admin", "test");
URLStreamHandlerFactory.registerSelfIgnoreError();
View.setCompiler(new JavaScriptViewCompiler());
Manager server = startCBLite(this.cordova.getActivity());
listenPort = startCBLListener(DEFAULT_LISTEN_PORT, server, allowedCredentials);
System.out.println("initCBLite() completed successfully");
} catch (final Exception e) {
e.printStackTrace();
initFailed = true;
}
}
@Override
public boolean execute(String action, JSONArray args,
CallbackContext callback) {
if (action.equals("getURL")) {
try {
if (initFailed == true) {
callback.error("Failed to initialize couchbase lite. See console logs");
return false;
} else {
String callbackRespone = String.format(
"http://%s:%s@localhost:%d/",
allowedCredentials.getLogin(),
allowedCredentials.getPassword(),
listenPort
);
callback.success(callbackRespone);
return true;
}
} catch (final Exception e) {
e.printStackTrace();
callback.error(e.getMessage());
}
}
return false;
}
protected Manager startCBLite(Context contextTemp) {
Manager manager;
try {
AndroidContext context = new AndroidContext(this.cordova.getActivity());
// short circuit the network reachability manager as
// part of diagnosing https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin/issues/22
context.setNetworkReachabilityManager(new NetworkReachabilityManager() {
@Override
public void startListening() {
// do nothing
}
@Override
public void stopListening() {
// do nothing
}
});
Manager.enableLogging(Log.TAG, Log.VERBOSE);
Manager.enableLogging(Log.TAG_SYNC, Log.VERBOSE);
Manager.enableLogging(Log.TAG_QUERY, Log.VERBOSE);
Manager.enableLogging(Log.TAG_VIEW, Log.VERBOSE);
Manager.enableLogging(Log.TAG_CHANGE_TRACKER, Log.VERBOSE);
Manager.enableLogging(Log.TAG_BLOB_STORE, Log.VERBOSE);
Manager.enableLogging(Log.TAG_DATABASE, Log.VERBOSE);
Manager.enableLogging(Log.TAG_LISTENER, Log.VERBOSE);
Manager.enableLogging(Log.TAG_MULTI_STREAM_WRITER, Log.VERBOSE);
Manager.enableLogging(Log.TAG_REMOTE_REQUEST, Log.VERBOSE);
Manager.enableLogging(Log.TAG_ROUTER, Log.VERBOSE);
manager = new Manager(context, Manager.DEFAULT_OPTIONS);
} catch (IOException e) {
throw new RuntimeException(e);
}
return manager;
}
private int startCBLListener(int listenPort, Manager manager, Credentials allowedCredentials) {
LiteListener listener = new LiteListener(manager, listenPort, allowedCredentials);
int boundPort = listener.getListenPort();
Thread thread = new Thread(listener);
thread.start();
return boundPort;
}
public void onResume(boolean multitasking) {
System.out.println("CBLite.onResume() called");
}
public void onPause(boolean multitasking) {
System.out.println("CBLite.onPause() called");
}
}
06-25 18:01:32.812: I/CordovaLog(11661): Changing log level to DEBUG(3)
06-25 18:01:32.812: I/CordovaLog(11661): Found start page location: index.html
06-25 18:01:32.812: D/Whitelist(11661): Unlimited access to network resources
06-25 18:01:32.812: D/CordovaActivity(11661): CordovaActivity.onCreate()
06-25 18:01:32.832: V/WebViewChromiumFactoryProvider(11661): Binding Chromium to main looper Looper (main, tid 1) {420ebdf8}
06-25 18:01:32.832: I/LibraryLoader(11661): Expected native library version number "",actual native library version number ""
06-25 18:01:32.832: I/chromium(11661): [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
06-25 18:01:32.832: I/BrowserStartupController(11661): Initializing chromium process, renderers=0
06-25 18:01:32.842: E/AudioManagerAndroid(11661): BLUETOOTH permission is missing!
06-25 18:01:32.852: I/Adreno-EGL(11661): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
06-25 18:01:32.912: W/chromium(11661): [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
06-25 18:01:32.932: D/CordovaWebView(11661): CordovaWebView is running on device made by: asus
06-25 18:01:32.942: D/JsMessageQueue(11661): Set native->JS mode to 2
06-25 18:01:32.942: D/CordovaActivity(11661): CordovaActivity.init()
06-25 18:01:32.952: D/CordovaWebView(11661): >>> loadUrl(file:///android_asset/www/index.html)
06-25 18:01:32.952: D/PluginManager(11661): init()
06-25 18:01:32.952: I/System.out(11661): CBLite() constructor called
06-25 18:01:32.952: I/System.out(11661): initialize() called
06-25 18:01:33.012: D/dalvikvm(11661): GC_FOR_ALLOC freed 295K, 4% free 9203K/9532K, paused 15ms, total 15ms
06-25 18:01:33.092: D/dalvikvm(11661): GC_FOR_ALLOC freed 296K, 4% free 9422K/9752K, paused 14ms, total 14ms
06-25 18:01:33.102: I/CBLite(11661): Starting Manager version: devbuild-0
06-25 18:01:33.112: I/System.out(11661): initCBLite() completed successfully
06-25 18:01:33.112: D/CordovaWebView(11661): >>> loadUrlNow()
06-25 18:01:33.132: I/CordovaLog(11661): Changing log level to DEBUG(3)
06-25 18:01:33.132: I/CordovaLog(11661): Found start page location: index.html
06-25 18:01:33.132: D/Whitelist(11661): Unlimited access to network resources
06-25 18:01:33.132: D/CordovaActivity(11661): Resuming the App
06-25 18:01:33.132: D/CordovaActivity(11661): CB-3064: The errorUrl is null
06-25 18:01:33.142: D/CordovaNetworkManager(11661): Connection Type: none
06-25 18:01:33.142: D/CordovaActivity(11661): onMessage(networkconnection,none)
06-25 18:01:33.142: I/System.out(11661): [Wed Jun 25 18:01:33 GMT+01:00 2014] TJWS httpd 0.0.0.0 - SimpleAcceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5984] is listening.
06-25 18:01:33.152: D/SoftKeyboardDetect(11661): Ignore this event
06-25 18:01:33.172: D/OpenGLRenderer(11661): Enabling debug mode 0
06-25 18:01:33.172: D/SoftKeyboardDetect(11661): Ignore this event
06-25 18:01:33.223: D/CordovaActivity(11661): onMessage(onPageStarted,file:///android_asset/www/index.html)
06-25 18:01:33.893: D/CordovaActivity(11661): onMessage(spinner,stop)
06-25 18:01:33.893: D/CordovaNetworkManager(11661): Connection Type: none
06-25 18:01:33.943: E/qdutils(11661): FBIOGET_FSCREENINFO failed
06-25 18:01:33.963: W/chromium(11661): [WARNING:simple_index_file.cc(338)] Could not map Simple Index file.
06-25 18:01:33.963: I/chromium(11661): [INFO:simple_index_file.cc(437)] Simple Cache Index is being restored from disk.
06-25 18:01:33.973: D/CordovaWebViewClient(11661): onPageFinished(file:///android_asset/www/index.html)
06-25 18:01:33.973: D/CordovaActivity(11661): onMessage(onPageFinished,file:///android_asset/www/index.html)
06-25 18:01:33.973: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 141 : APP - onDeviceReady - call onStartConfig and display the main page
06-25 18:01:33.973: I/chromium(11661): [INFO:CONSOLE(141)] "APP - onDeviceReady - call onStartConfig and display the main page", source: file:///android_asset/www/js/index.js (141)
06-25 18:01:33.973: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 239 : APP - onStartConfig - Setting the different parameters about the remote and the local db
06-25 18:01:33.973: I/chromium(11661): [INFO:CONSOLE(239)] "APP - onStartConfig - Setting the different parameters about the remote and the local db", source: file:///android_asset/www/js/index.js (239)
06-25 18:01:33.973: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 241 : APP - onStartConfig - Get CBLITE URL [false,"http://admin:test@localhost:5984/"]
06-25 18:01:33.973: I/chromium(11661): [INFO:CONSOLE(241)] "APP - onStartConfig - Get CBLITE URL [false,"http://admin:test@localhost:5984/"]", source: file:///android_asset/www/js/index.js (241)
06-25 18:01:34.023: D/dalvikvm(11661): GC_FOR_ALLOC freed 401K, 5% free 9513K/9964K, paused 16ms, total 17ms
06-25 18:01:34.033: W/Listener(11661): authHeader is null
06-25 18:01:34.033: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:34.033: V/Listener(11661): Credentials:
06-25 18:01:34.033: V/Listener(11661): Authorized via basic auth
06-25 18:01:34.133: D/dalvikvm(11661): GC_FOR_ALLOC freed 479K, 6% free 9543K/10060K, paused 14ms, total 14ms
06-25 18:01:34.214: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 247 : XMLHttpRequest get: {"couchdb":"Welcome","CBLite":"Welcome","version":"devbuild-0"}
06-25 18:01:34.214: I/chromium(11661): [INFO:CONSOLE(247)] "XMLHttpRequest get: {"couchdb":"Welcome","CBLite":"Welcome","version":"devbuild-0"}", source: file:///android_asset/www/js/index.js (247)
06-25 18:01:34.244: D/dalvikvm(11661): GC_FOR_ALLOC freed 478K, 6% free 9555K/10080K, paused 16ms, total 16ms
06-25 18:01:34.244: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 283 : APP - onStartConfig - done
06-25 18:01:34.244: I/chromium(11661): [INFO:CONSOLE(283)] "APP - onStartConfig - done", source: file:///android_asset/www/js/index.js (283)
06-25 18:01:34.244: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 152 : APP - DisplayMainPage - Displaying the main page
06-25 18:01:34.244: I/chromium(11661): [INFO:CONSOLE(152)] "APP - DisplayMainPage - Displaying the main page", source: file:///android_asset/www/js/index.js (152)
06-25 18:01:34.254: W/Listener(11661): authHeader is null
06-25 18:01:34.254: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:34.294: V/Listener(11661): Credentials:
06-25 18:01:34.294: V/Listener(11661): Authorized via basic auth
06-25 18:01:34.344: D/dalvikvm(11661): GC_FOR_ALLOC freed 321K, 5% free 9581K/10080K, paused 15ms, total 15ms
06-25 18:01:34.394: W/Listener(11661): authHeader is null
06-25 18:01:34.394: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:34.444: D/dalvikvm(11661): GC_FOR_ALLOC freed 324K, 6% free 9583K/10120K, paused 13ms, total 13ms
06-25 18:01:34.444: V/Listener(11661): Credentials:
06-25 18:01:34.444: V/Listener(11661): Authorized via basic auth
06-25 18:01:34.444: D/CBLite(11661): Loading storage engine: com.couchbase.lite.android.AndroidSQLiteStorageEngine
06-25 18:01:34.484: V/Database(11661): AndroidSQLiteStorageEngine{database=42195378}: Opened Android sqlite db
06-25 18:01:34.484: D/dalvikvm(11661): Trying to load lib /data/app-lib/com.amadeus.customerRegisterV2-1/libcom_couchbase_touchdb_TDCollateJSON.so 0x420f1238
06-25 18:01:34.494: D/dalvikvm(11661): Added shared lib /data/app-lib/com.amadeus.customerRegisterV2-1/libcom_couchbase_touchdb_TDCollateJSON.so 0x420f1238
06-25 18:01:34.494: V/TDCollateJSON(11661): SQLite3 handle is 2021653928
06-25 18:01:34.494: D/dalvikvm(11661): Trying to load lib /data/app-lib/com.amadeus.customerRegisterV2-1/libcom_couchbase_touchdb_RevCollator.so 0x420f1238
06-25 18:01:34.494: D/dalvikvm(11661): Added shared lib /data/app-lib/com.amadeus.customerRegisterV2-1/libcom_couchbase_touchdb_RevCollator.so 0x420f1238
06-25 18:01:34.854: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 813 : APP - setupDB - PUT
06-25 18:01:34.854: I/chromium(11661): [INFO:CONSOLE(813)] "APP - setupDB - PUT", source: file:///android_asset/www/js/index.js (813)
06-25 18:01:34.874: D/dalvikvm(11661): GC_FOR_ALLOC freed 386K, 6% free 9608K/10120K, paused 16ms, total 16ms
06-25 18:01:34.874: W/Listener(11661): authHeader is null
06-25 18:01:34.874: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:34.914: V/Listener(11661): Credentials:
06-25 18:01:34.914: V/Listener(11661): Authorized via basic auth
06-25 18:01:34.944: D/dalvikvm(11661): GC_FOR_ALLOC freed 333K, 6% free 9610K/10120K, paused 20ms, total 20ms
06-25 18:01:34.984: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 252 : APP - Setup the db
06-25 18:01:34.984: I/chromium(11661): [INFO:CONSOLE(252)] "APP - Setup the db ", source: file:///android_asset/www/js/index.js (252)
06-25 18:01:34.984: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 253 : setupDb:
06-25 18:01:34.984: I/chromium(11661): [INFO:CONSOLE(253)] "setupDb: ", source: file:///android_asset/www/js/index.js (253)
06-25 18:01:34.984: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 827 : APP - SetupViews - Setup the views registration, conflicts and customers
06-25 18:01:34.984: I/chromium(11661): [INFO:CONSOLE(827)] "APP - SetupViews - Setup the views registration, conflicts and customers", source: file:///android_asset/www/js/index.js (827)
06-25 18:01:35.004: W/Listener(11661): authHeader is null
06-25 18:01:35.004: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:35.064: D/dalvikvm(11661): GC_FOR_ALLOC freed 362K, 6% free 9610K/10140K, paused 25ms, total 25ms
06-25 18:01:35.074: V/Listener(11661): Credentials:
06-25 18:01:35.074: V/Listener(11661): Authorized via basic auth
06-25 18:01:35.124: I/CBLite(11661): Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20 Begin transaction (level 1)
06-25 18:01:35.184: D/dalvikvm(11661): GC_FOR_ALLOC freed 493K, 6% free 9628K/10156K, paused 17ms, total 19ms
06-25 18:01:35.214: I/CBLite(11661): Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20 Committing transaction (level 1)
06-25 18:01:35.265: D/dalvikvm(11661): GC_FOR_ALLOC freed 243K, 6% free 9625K/10156K, paused 15ms, total 15ms
06-25 18:01:35.335: D/dalvikvm(11661): GC_FOR_ALLOC freed 83K, 5% free 9669K/10156K, paused 15ms, total 15ms
06-25 18:01:35.345: I/dalvikvm-heap(11661): Grow heap (frag case) to 9.740MB for 279056-byte allocation
06-25 18:01:35.355: D/dalvikvm(11661): GC_FOR_ALLOC freed 0K, 5% free 9942K/10432K, paused 19ms, total 19ms
06-25 18:01:37.307: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 270 : APP - onStartConfig - Setting the initial parameters
06-25 18:01:37.307: I/chromium(11661): [INFO:CONSOLE(270)] "APP - onStartConfig - Setting the initial parameters", source: file:///android_asset/www/js/index.js (270)
06-25 18:01:37.307: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 79 : APP - ConnectToChanges - Get the last changes from the sync gateway giving our last sequence 0
06-25 18:01:37.307: I/chromium(11661): [INFO:CONSOLE(79)] "APP - ConnectToChanges - Get the last changes from the sync gateway giving our last sequence 0", source: file:///android_asset/www/js/index.js (79)
06-25 18:01:37.857: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 877 : APP - TriggerSync called - Making a continuous push and pull with the server
06-25 18:01:37.857: I/chromium(11661): [INFO:CONSOLE(877)] "APP - TriggerSync called - Making a continuous push and pull with the server", source: file:///android_asset/www/js/index.js (877)
06-25 18:01:37.857: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 882 : window.config.site.syncUrl http://amel:amadeus@192.168.43.61:12345/customers
06-25 18:01:37.857: I/chromium(11661): [INFO:CONSOLE(882)] "window.config.site.syncUrl http://amel:amadeus@192.168.43.61:12345/customers", source: file:///android_asset/www/js/index.js (882)
06-25 18:01:37.867: D/dalvikvm(11661): GC_FOR_ALLOC freed 136K, 3% free 10171K/10472K, paused 17ms, total 17ms
06-25 18:01:37.877: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : start sync{"source":"customersregistered","target":{"url":"http://amel:amadeus@192.168.43.61:12345/customers"},"continuous":true}
06-25 18:01:37.877: I/chromium(11661): [INFO:CONSOLE(1091)] "start sync{"source":"customersregistered","target":{"url":"http://amel:amadeus@192.168.43.61:12345/customers"},"continuous":true}", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:37.877: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1034 : RIGHT HERE RIGHT HERE
06-25 18:01:37.877: I/chromium(11661): [INFO:CONSOLE(1034)] "RIGHT HERE RIGHT HERE", source: file:///android_asset/www/js/index.js (1034)
06-25 18:01:37.877: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 863 : APP - setupViews - PUT done
06-25 18:01:37.877: I/chromium(11661): [INFO:CONSOLE(863)] "APP - setupViews - PUT done", source: file:///android_asset/www/js/index.js (863)
06-25 18:01:37.877: W/Listener(11661): authHeader is null
06-25 18:01:37.877: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:37.897: D/dalvikvm(11661): GC_FOR_ALLOC freed 440K, 6% free 10148K/10712K, paused 15ms, total 15ms
06-25 18:01:37.897: V/Listener(11661): Credentials:
06-25 18:01:37.897: V/Listener(11661): Authorized via basic auth
06-25 18:01:37.897: W/Listener(11661): authHeader is null
06-25 18:01:37.897: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:37.907: V/Listener(11661): Credentials:
06-25 18:01:37.907: V/Listener(11661): Authorized via basic auth
06-25 18:01:37.967: D/dalvikvm(11661): GC_FOR_ALLOC freed 507K, 6% free 10152K/10712K, paused 17ms, total 17ms
06-25 18:01:38.037: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: STARTING ...
06-25 18:01:38.047: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 91 : APP - Get the changes from 0
06-25 18:01:38.047: I/chromium(11661): [INFO:CONSOLE(91)] "APP - Get the changes from 0", source: file:///android_asset/www/js/index.js (91)
06-25 18:01:38.077: D/dalvikvm(11661): GC_FOR_ALLOC freed 471K, 5% free 10178K/10712K, paused 23ms, total 23ms
06-25 18:01:38.077: W/Listener(11661): authHeader is null
06-25 18:01:38.077: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:38.077: W/Listener(11661): authHeader is null
06-25 18:01:38.087: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:38.097: D/dalvikvm(11661): GC_FOR_ALLOC freed 292K, 5% free 10204K/10712K, paused 17ms, total 17ms
06-25 18:01:38.107: V/Listener(11661): Credentials:
06-25 18:01:38.107: V/Listener(11661): Authorized via basic auth
06-25 18:01:38.127: D/dalvikvm(11661): GC_FOR_ALLOC freed 312K, 6% free 10197K/10752K, paused 17ms, total 17ms
06-25 18:01:38.127: V/Listener(11661): Credentials:
06-25 18:01:38.127: V/Listener(11661): Authorized via basic auth
06-25 18:01:38.207: D/dalvikvm(11661): GC_FOR_ALLOC freed 477K, 5% free 10232K/10752K, paused 19ms, total 19ms
06-25 18:01:38.247: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers] | Thread[Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@42174900,5,TJWS threads]: fetchRemoteCheckpointDoc() calling asyncTaskStarted()
06-25 18:01:38.247: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 0 -> 1
06-25 18:01:38.247: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted() calling updateActive()
06-25 18:01:38.247: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:38.247: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Progress: set active = true asyncTaskCount: 1 batcherCount: 0
06-25 18:01:38.257: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:38.257: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:38.257: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:38.277: D/dalvikvm(11661): GC_FOR_ALLOC freed 476K, 6% free 10189K/10752K, paused 19ms, total 19ms
06-25 18:01:38.277: I/dalvikvm-heap(11661): Grow heap (frag case) to 10.043MB for 65552-byte allocation
06-25 18:01:38.297: D/dalvikvm(11661): GC_FOR_ALLOC freed 0K, 6% free 10253K/10820K, paused 19ms, total 19ms
06-25 18:01:38.318: D/dalvikvm(11661): GC_FOR_ALLOC freed 80K, 6% free 10232K/10820K, paused 19ms, total 19ms
06-25 18:01:38.338: D/dalvikvm(11661): GC_FOR_ALLOC freed 3K, 5% free 10311K/10820K, paused 20ms, total 20ms
06-25 18:01:38.338: I/dalvikvm-heap(11661): Grow heap (frag case) to 10.163MB for 65552-byte allocation
06-25 18:01:38.358: D/dalvikvm(11661): GC_FOR_ALLOC freed 38K, 6% free 10337K/10888K, paused 18ms, total 18ms
06-25 18:01:38.358: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1004 : continuous sync callBack
06-25 18:01:38.358: I/chromium(11661): [INFO:CONSOLE(1004)] "continuous sync callBack", source: file:///android_asset/www/js/index.js (1004)
06-25 18:01:38.358: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1005 : [object Object]
06-25 18:01:38.358: I/chromium(11661): [INFO:CONSOLE(1005)] "[object Object]", source: file:///android_asset/www/js/index.js (1005)
06-25 18:01:38.388: D/dalvikvm(11661): GC_FOR_ALLOC freed 138K, 6% free 10336K/10888K, paused 18ms, total 19ms
06-25 18:01:38.408: D/dalvikvm(11661): GC_FOR_ALLOC freed 3K, 5% free 10355K/10888K, paused 19ms, total 19ms
06-25 18:01:38.408: I/dalvikvm-heap(11661): Grow heap (frag case) to 10.206MB for 65552-byte allocation
06-25 18:01:38.428: D/dalvikvm(11661): GC_FOR_ALLOC freed <1K, 5% free 10419K/10956K, paused 20ms, total 20ms
06-25 18:01:38.428: W/Listener(11661): authHeader is null
06-25 18:01:38.428: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:38.488: D/dalvikvm(11661): GC_FOR_ALLOC freed 288K, 6% free 10400K/10956K, paused 23ms, total 25ms
06-25 18:01:38.498: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:38.498: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest calling httpClient.execute
06-25 18:01:38.498: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 128 : APP - GetNumberOfChanges - view.last_seq 1 lastCheck 0 numberOfChanges 1
06-25 18:01:38.498: I/chromium(11661): [INFO:CONSOLE(128)] "APP - GetNumberOfChanges - view.last_seq 1 lastCheck 0 numberOfChanges 1", source: file:///android_asset/www/js/index.js (128)
06-25 18:01:38.498: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : change
06-25 18:01:38.498: I/chromium(11661): [INFO:CONSOLE(1091)] "change", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:38.518: V/Listener(11661): Credentials:
06-25 18:01:38.518: V/Listener(11661): Authorized via basic auth
06-25 18:01:38.608: D/dalvikvm(11661): GC_FOR_ALLOC freed 477K, 5% free 10435K/10956K, paused 18ms, total 18ms
06-25 18:01:38.638: D/dalvikvm(11661): GC_FOR_ALLOC freed 121K, 6% free 10378K/10956K, paused 15ms, total 15ms
06-25 18:01:38.638: I/dalvikvm-heap(11661): Grow heap (frag case) to 10.228MB for 65552-byte allocation
06-25 18:01:38.648: D/dalvikvm(11661): GC_FOR_ALLOC freed 0K, 6% free 10442K/11024K, paused 16ms, total 16ms
06-25 18:01:39.379: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest called httpClient.execute
06-25 18:01:39.379: E/RemoteRequest(11661): Got error status: 404 for org.apache.http.client.methods.HttpGet@42245bb8. Reason: Not Found
06-25 18:01:39.379: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest calling respondWithResult. error: org.apache.http.client.HttpResponseException: Not Found
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42245af8: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:39.389: V/Sync(11661): serverVersion: Couchbase Sync Gateway/1.00
06-25 18:01:39.389: D/Sync(11661): com.couchbase.lite.replicator.Replication$8@42245320: 404 error getting remote checkpoint bb0bec8b376f82a9302879616f1a3646737de093, calling maybeCreateRemoteDB
06-25 18:01:39.389: D/Sync(11661): com.couchbase.lite.replicator.Replication$8@42245320: lastSequence mismatch: I had: null, remote had: null
06-25 18:01:39.389: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: beginReplicating() called
06-25 18:01:39.389: W/Sync(11661): Error converting lastSequence: null to long. Using 0
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: queueObjects called with 1 objects.
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: inbox size before adding objects: 0
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: delayToUse() delta: 1403715699403, delayToUse: 0, delay: 1403715699403
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: scheduleWithDelay called with delay: 0 ms
06-25 18:01:39.389: V/Sync(11661): not already scheduled
06-25 18:01:39.389: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: delayToUse() delta: 1403715699404, delayToUse: 0, delay: 1403715699404
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: scheduleWithDelay called with delay: 0 ms
06-25 18:01:39.389: V/Sync(11661): com.couchbase.lite.replicator.Replication$8@42245320 | Thread[pool-2-thread-1,5,main]: fetchRemoteCheckpointDoc() calling asyncTaskFinished()
06-25 18:01:39.389: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 1 -> 0
06-25 18:01:39.399: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished() calling updateActive()
06-25 18:01:39.399: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 1, asyncTaskCount: 0
06-25 18:01:39.399: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.399: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.399: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: processNow() called
06-25 18:01:39.399: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:39.399: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: invoking processor with 1 items
06-25 18:01:39.399: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42132cc0: BEGIN processInbox (1 sequences)
06-25 18:01:39.399: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: posting to /_revs_diff
06-25 18:01:39.399: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: processInbox() calling asyncTaskStarted()
06-25 18:01:39.399: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 0 -> 1
06-25 18:01:39.399: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted() calling updateActive()
06-25 18:01:39.399: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:39.399: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.399: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.409: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:39.409: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42132cc0: END processInbox (lastSequence=null)
06-25 18:01:39.409: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42132cc0: batcher calling updateActive()
06-25 18:01:39.409: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:39.409: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:39.409: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.409: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.409: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:39.409: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest calling httpClient.execute
06-25 18:01:39.489: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest called httpClient.execute
06-25 18:01:39.489: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest calling respondWithResult. error: null
06-25 18:01:39.489: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42186638: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:39.489: V/Sync(11661): %s: got /_revs_diff response
06-25 18:01:39.489: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Setting lastSequence to 1 from(null)
06-25 18:01:39.489: V/Sync(11661): com.couchbase.lite.replicator.Pusher$2@421cc0e0 | Thread[pool-2-thread-1,5,main]: processInbox.sendAsyncRequest() calling asyncTaskFinished()
06-25 18:01:39.489: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 1 -> 0
06-25 18:01:39.489: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished() calling updateActive()
06-25 18:01:39.489: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:39.489: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Progress: set active = false asyncTaskCount: 0 batcherCount: 0
06-25 18:01:39.489: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.729: D/dalvikvm(11661): GC_FOR_ALLOC freed 348K, 6% free 10428K/11024K, paused 25ms, total 25ms
06-25 18:01:39.739: W/Listener(11661): authHeader is null
06-25 18:01:39.739: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:39.769: D/dalvikvm(11661): GC_FOR_ALLOC freed 223K, 6% free 10389K/11024K, paused 30ms, total 30ms
06-25 18:01:39.769: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 298 : APP - dbChanged - Listing all the customers
06-25 18:01:39.769: I/chromium(11661): [INFO:CONSOLE(298)] "APP - dbChanged - Listing all the customers", source: file:///android_asset/www/js/index.js (298)
06-25 18:01:39.769: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : task
06-25 18:01:39.769: I/chromium(11661): [INFO:CONSOLE(1091)] "task", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:39.769: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : start sync{"target":"customersregistered","source":{"url":"http://amel:amadeus@192.168.43.61:12345/customers"},"continuous":true}
06-25 18:01:39.769: I/chromium(11661): [INFO:CONSOLE(1091)] "start sync{"target":"customersregistered","source":{"url":"http://amel:amadeus@192.168.43.61:12345/customers"},"continuous":true}", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:39.769: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1034 : RIGHT HERE RIGHT HERE
06-25 18:01:39.769: I/chromium(11661): [INFO:CONSOLE(1034)] "RIGHT HERE RIGHT HERE", source: file:///android_asset/www/js/index.js (1034)
06-25 18:01:39.779: W/Listener(11661): authHeader is null
06-25 18:01:39.779: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:39.799: D/dalvikvm(11661): GC_FOR_ALLOC freed 563K, 9% free 10059K/11024K, paused 17ms, total 18ms
06-25 18:01:39.799: V/Listener(11661): Credentials:
06-25 18:01:39.799: V/Listener(11661): Authorized via basic auth
06-25 18:01:39.799: V/Listener(11661): Credentials:
06-25 18:01:39.799: V/Listener(11661): Authorized via basic auth
06-25 18:01:39.799: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: STARTING ...
06-25 18:01:39.809: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] | Thread[Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20,5,TJWS threads]: fetchRemoteCheckpointDoc() calling asyncTaskStarted()
06-25 18:01:39.809: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 0 -> 1
06-25 18:01:39.809: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted() calling updateActive()
06-25 18:01:39.809: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:39.809: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Progress: set active = true asyncTaskCount: 1 batcherCount: 0
06-25 18:01:39.809: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.809: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:39.819: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:39.819: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:39.819: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest calling httpClient.execute
06-25 18:01:39.849: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest called httpClient.execute
06-25 18:01:39.849: E/RemoteRequest(11661): Got error status: 404 for org.apache.http.client.methods.HttpGet@42277c48. Reason: Not Found
06-25 18:01:39.849: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest calling respondWithResult. error: org.apache.http.client.HttpResponseException: Not Found
06-25 18:01:39.849: V/Sync(11661): serverVersion: Couchbase Sync Gateway/1.00
06-25 18:01:39.849: D/Sync(11661): com.couchbase.lite.replicator.Replication$8@42121ec0: 404 error getting remote checkpoint b02da4d0a87a312da7d44be274151534d3da1f66, calling maybeCreateRemoteDB
06-25 18:01:39.849: D/Sync(11661): com.couchbase.lite.replicator.Replication$8@42121ec0: lastSequence mismatch: I had: null, remote had: null
06-25 18:01:39.849: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1004 : continuous sync callBack
06-25 18:01:39.849: I/chromium(11661): [INFO:CONSOLE(1004)] "continuous sync callBack", source: file:///android_asset/www/js/index.js (1004)
06-25 18:01:39.849: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1005 : [object Object]
06-25 18:01:39.849: I/chromium(11661): [INFO:CONSOLE(1005)] "[object Object]", source: file:///android_asset/www/js/index.js (1005)
06-25 18:01:39.849: W/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: starting ChangeTracker with since=null
06-25 18:01:39.849: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421e4990: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:39.849: W/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: started ChangeTracker com.couchbase.lite.replicator.ChangeTracker@42247aa0
06-25 18:01:39.869: D/dalvikvm(11661): GC_FOR_ALLOC freed 570K, 10% free 9998K/11024K, paused 18ms, total 19ms
06-25 18:01:39.869: V/Sync(11661): com.couchbase.lite.replicator.Replication$8@42121ec0 | Thread[pool-2-thread-1,5,main]: fetchRemoteCheckpointDoc() calling asyncTaskFinished()
06-25 18:01:39.879: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 1 -> 0
06-25 18:01:39.879: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished() calling updateActive()
06-25 18:01:39.879: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:39.879: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Progress: set active = false asyncTaskCount: 0 batcherCount: 0
06-25 18:01:39.879: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.879: W/Listener(11661): authHeader is null
06-25 18:01:39.879: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:39.879: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Making request to http://---:---@192.168.43.61:12345/customers/_changes
06-25 18:01:39.899: V/View(11661): Re-indexing view: customersregistered/customers
06-25 18:01:39.899: I/CBLite(11661): Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@42174900 Begin transaction (level 1)
06-25 18:01:39.899: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: adding rev to inbox {c5efb9af-16f0-4388-99ba-fbb5f4e1fed8 #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: changeTrackerReceivedChange() incrementing changesCount by 1
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 0 by adding 1 -> 1
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() called, rev: {c5efb9af-16f0-4388-99ba-fbb5f4e1fed8 #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:39.909: V/View(11661): Finished re-indexing view: customersregistered/customers up to sequence 1 (deleted 0 added ?)
06-25 18:01:39.909: I/CBLite(11661): Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@42174900 Committing transaction (level 1)
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: queueObjects called with 1 objects.
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox size before adding objects: 0
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: delayToUse() delta: 1403715699919, delayToUse: 0, delay: 1403715699919
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: scheduleWithDelay called with delay: 0 ms
06-25 18:01:39.909: V/Sync(11661): not already scheduled
06-25 18:01:39.909: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: processNow() called
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() calling updateActive()
06-25 18:01:39.909: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: true batcherCount: 1, asyncTaskCount: 0
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: invoking processor with 1 items
06-25 18:01:39.909: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: BEGIN processInbox (1 sequences)
06-25 18:01:39.909: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Progress: set active = true asyncTaskCount: 0 batcherCount: 1
06-25 18:01:39.909: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.909: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: adding rev to inbox {0145943e-ebb6-4b79-b14a-07066cbc8d75 #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: changeTrackerReceivedChange() incrementing changesCount by 1
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 1 by adding 1 -> 2
06-25 18:01:39.909: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() called, rev: {0145943e-ebb6-4b79-b14a-07066cbc8d75 #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: queueObjects called with 1 objects.
06-25 18:01:39.909: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox size before adding objects: 0
06-25 18:01:39.919: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: delayToUse() delta: 1403715699926, delayToUse: 0, delay: 1403715699926
06-25 18:01:39.919: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: scheduleWithDelay called with delay: 0 ms
06-25 18:01:39.919: V/Sync(11661): not already scheduled
06-25 18:01:39.919: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:39.919: V/Listener(11661): Credentials:
06-25 18:01:39.919: V/Listener(11661): Authorized via basic auth
06-25 18:01:39.919: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() calling updateActive()
06-25 18:01:39.919: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: fetching 1 remote revisions...
06-25 18:01:39.919: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: pullRemoteRevision with rev: {c5efb9af-16f0-4388-99ba-fbb5f4e1fed8 #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:39.919: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: pullRemoteRevision() calling asyncTaskStarted()
06-25 18:01:39.919: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 0 -> 1
06-25 18:01:39.919: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted() calling updateActive()
06-25 18:01:39.929: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 1, asyncTaskCount: 1
06-25 18:01:39.939: D/dalvikvm(11661): GC_FOR_ALLOC freed 491K, 10% free 10019K/11024K, paused 19ms, total 19ms
06-25 18:01:39.949: V/View(11661): Query customersregistered/customers: SELECT key, value, docid, revs.sequence FROM maps, revs, docs WHERE maps.view_id=? AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key DESC LIMIT ? OFFSET ? | args: [1, 2147483647, 0]
06-25 18:01:39.949: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 1, asyncTaskCount: 1
06-25 18:01:39.949: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.949: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.949: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.949: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Starting new longpoll
06-25 18:01:39.949: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.949: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Making request to http://---:---@192.168.43.61:12345/customers/_changes
06-25 18:01:39.949: V/Sync(11661): com.couchbase.lite.support.RemoteMultipartDownloaderRequest@421f9fd0: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/c5efb9af-16f0-4388-99ba-fbb5f4e1fed8?rev=1-f697f6321b2f8440cc9856ea172f1e26&revs=true&attachments=true
06-25 18:01:39.949: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: END processInbox (lastSequence=null)
06-25 18:01:39.949: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42104be0: batcher calling updateActive()
06-25 18:01:39.949: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 1, asyncTaskCount: 1
06-25 18:01:39.959: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.959: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.959: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: processNow() called
06-25 18:01:39.959: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:39.959: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: invoking processor with 1 items
06-25 18:01:39.959: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: BEGIN processInbox (1 sequences)
06-25 18:01:39.959: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: fetching 1 remote revisions...
06-25 18:01:39.959: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: pullRemoteRevision with rev: {0145943e-ebb6-4b79-b14a-07066cbc8d75 #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:39.959: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: pullRemoteRevision() calling asyncTaskStarted()
06-25 18:01:39.959: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 1 -> 2
06-25 18:01:39.959: V/Sync(11661): com.couchbase.lite.support.RemoteMultipartDownloaderRequest@42284118: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/0145943e-ebb6-4b79-b14a-07066cbc8d75?rev=1-f697f6321b2f8440cc9856ea172f1e26&revs=true&attachments=true
06-25 18:01:39.969: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: END processInbox (lastSequence=null)
06-25 18:01:39.969: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42104be0: batcher calling updateActive()
06-25 18:01:39.969: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 0, asyncTaskCount: 2
06-25 18:01:39.969: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:39.969: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:39.999: E/RemoteRequest(11661): com.couchbase.lite.support.RemoteMultipartDownloaderRequest@42284118: executeRequest() finally
06-25 18:01:39.999: V/Sync(11661): com.couchbase.lite.replicator.Puller$3@421e43c0 | Thread[pool-2-thread-1,5,main]: pullRemoteRevision.sendAsyncMultipartDownloaderRequest() calling asyncTaskStarted()
06-25 18:01:39.999: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 2 -> 3
06-25 18:01:39.999: D/Sync(11661): com.couchbase.lite.replicator.Puller$3@421e43c0: pullRemoteRevision add rev: {0145943e-ebb6-4b79-b14a-07066cbc8d75 #1-f697f6321b2f8440cc9856ea172f1e26} to batcher
06-25 18:01:39.999: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: queueObjects called with 1 objects.
06-25 18:01:39.999: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: inbox size before adding objects: 0
06-25 18:01:39.999: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: delayToUse() delta: 1403715700016, delayToUse: 0, delay: 1403715700016
06-25 18:01:39.999: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: scheduleWithDelay called with delay: 0 ms
06-25 18:01:39.999: V/Sync(11661): not already scheduled
06-25 18:01:39.999: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:39.999: V/Sync(11661): com.couchbase.lite.replicator.Puller$3@421e43c0 | Thread[pool-2-thread-1,5,main]: pullRemoteRevision.sendAsyncMultipartDownloaderRequest() calling asyncTaskFinished()
06-25 18:01:40.009: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 3 -> 2
06-25 18:01:40.009: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: processNow() called
06-25 18:01:40.009: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:40.009: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: invoking processor with 1 items
06-25 18:01:40.009: I/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] inserting 1 revisions...
06-25 18:01:40.009: I/CBLite(11661): pool-2-thread-1 Begin transaction (level 1)
06-25 18:01:40.009: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: inserting 0145943e-ebb6-4b79-b14a-07066cbc8d75 [1-f697f6321b2f8440cc9856ea172f1e26]
06-25 18:01:40.019: I/CBLite(11661): pool-2-thread-1 Begin transaction (level 2)
06-25 18:01:40.029: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 318 : APP - dbChanged - done
06-25 18:01:40.029: I/chromium(11661): [INFO:CONSOLE(318)] "APP - dbChanged - done", source: file:///android_asset/www/js/index.js (318)
06-25 18:01:40.029: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : task
06-25 18:01:40.029: I/chromium(11661): [INFO:CONSOLE(1091)] "task", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:40.029: I/CBLite(11661): pool-2-thread-1 Committing transaction (level 2)
06-25 18:01:40.029: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: finished inserting 1 revisions
06-25 18:01:40.029: I/CBLite(11661): pool-2-thread-1 Committing transaction (level 1)
06-25 18:01:40.039: W/Router(11661): Router: Sending longpoll response
06-25 18:01:40.049: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: insertDownloads() calling asyncTaskFinished() with value: 1
06-25 18:01:40.049: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 2 -> 1
06-25 18:01:40.049: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: inserted 1 revs in 41 milliseconds
06-25 18:01:40.049: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] insertDownloads() updating completedChangesCount from 0 -> 1
06-25 18:01:40.049: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing completedChangesCount count from 0 by adding 1 -> 1
06-25 18:01:40.079: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 91 : APP - Get the changes from 1
06-25 18:01:40.079: I/chromium(11661): [INFO:CONSOLE(91)] "APP - Get the changes from 1", source: file:///android_asset/www/js/index.js (91)
06-25 18:01:40.099: D/dalvikvm(11661): GC_FOR_ALLOC freed 469K, 9% free 10061K/11024K, paused 17ms, total 17ms
06-25 18:01:40.099: W/Listener(11661): authHeader is null
06-25 18:01:40.099: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:40.099: E/RemoteRequest(11661): com.couchbase.lite.support.RemoteMultipartDownloaderRequest@421f9fd0: executeRequest() finally
06-25 18:01:40.099: V/Sync(11661): com.couchbase.lite.replicator.Puller$3@4211f100 | Thread[pool-2-thread-1,5,main]: pullRemoteRevision.sendAsyncMultipartDownloaderRequest() calling asyncTaskStarted()
06-25 18:01:40.099: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 1 -> 2
06-25 18:01:40.099: D/Sync(11661): com.couchbase.lite.replicator.Puller$3@4211f100: pullRemoteRevision add rev: {c5efb9af-16f0-4388-99ba-fbb5f4e1fed8 #1-f697f6321b2f8440cc9856ea172f1e26} to batcher
06-25 18:01:40.099: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: queueObjects called with 1 objects.
06-25 18:01:40.109: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: inbox size before adding objects: 0
06-25 18:01:40.109: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: delayToUse() delta: 54, delayToUse: 1000, delay: 54
06-25 18:01:40.109: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: scheduleWithDelay called with delay: 1000 ms
06-25 18:01:40.109: V/Sync(11661): not already scheduled
06-25 18:01:40.109: V/Sync(11661): workExecutor.schedule() with delay: 1000 ms
06-25 18:01:40.109: V/Sync(11661): com.couchbase.lite.replicator.Puller$3@4211f100 | Thread[pool-2-thread-1,5,main]: pullRemoteRevision.sendAsyncMultipartDownloaderRequest() calling asyncTaskFinished()
06-25 18:01:40.109: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 2 -> 1
06-25 18:01:40.109: V/Listener(11661): Credentials:
06-25 18:01:40.109: V/Listener(11661): Authorized via basic auth
06-25 18:01:40.109: W/Listener(11661): authHeader is null
06-25 18:01:40.109: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:40.129: D/dalvikvm(11661): GC_FOR_ALLOC freed 549K, 10% free 9998K/11024K, paused 19ms, total 19ms
06-25 18:01:40.149: V/Listener(11661): Credentials:
06-25 18:01:40.149: V/Listener(11661): Authorized via basic auth
06-25 18:01:40.189: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 128 : APP - GetNumberOfChanges - view.last_seq 2 lastCheck 1 numberOfChanges 1
06-25 18:01:40.189: I/chromium(11661): [INFO:CONSOLE(128)] "APP - GetNumberOfChanges - view.last_seq 2 lastCheck 1 numberOfChanges 1", source: file:///android_asset/www/js/index.js (128)
06-25 18:01:40.189: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : change
06-25 18:01:40.189: I/chromium(11661): [INFO:CONSOLE(1091)] "change", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:40.219: D/dalvikvm(11661): GC_FOR_ALLOC freed 302K, 9% free 10071K/11024K, paused 18ms, total 19ms
06-25 18:01:41.110: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: processNow() called
06-25 18:01:41.110: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:41.110: V/Sync(11661): com.couchbase.lite.support.Batcher@4228e210: invoking processor with 1 items
06-25 18:01:41.110: I/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] inserting 1 revisions...
06-25 18:01:41.110: I/CBLite(11661): pool-2-thread-1 Begin transaction (level 1)
06-25 18:01:41.110: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: inserting c5efb9af-16f0-4388-99ba-fbb5f4e1fed8 [1-f697f6321b2f8440cc9856ea172f1e26]
06-25 18:01:41.110: I/CBLite(11661): pool-2-thread-1 Begin transaction (level 2)
06-25 18:01:41.120: I/CBLite(11661): pool-2-thread-1 Committing transaction (level 2)
06-25 18:01:41.120: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: finished inserting 1 revisions
06-25 18:01:41.120: I/CBLite(11661): pool-2-thread-1 Committing transaction (level 1)
06-25 18:01:41.140: W/Router(11661): Router: Sending longpoll response
06-25 18:01:41.140: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: insertDownloads() calling asyncTaskFinished() with value: 1
06-25 18:01:41.170: D/dalvikvm(11661): GC_FOR_ALLOC freed 118K, 6% free 10463K/11024K, paused 28ms, total 28ms
06-25 18:01:41.170: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 1 -> 0
06-25 18:01:41.180: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished() calling updateActive()
06-25 18:01:41.180: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:41.180: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Progress: set active = false asyncTaskCount: 0 batcherCount: 0
06-25 18:01:41.180: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:41.180: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Setting lastSequence to 2 from(null)
06-25 18:01:41.180: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: inserted 1 revs in 71 milliseconds
06-25 18:01:41.180: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] insertDownloads() updating completedChangesCount from 1 -> 2
06-25 18:01:41.180: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing completedChangesCount count from 1 by adding 1 -> 2
06-25 18:01:41.360: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 298 : APP - dbChanged - Listing all the customers
06-25 18:01:41.360: I/chromium(11661): [INFO:CONSOLE(298)] "APP - dbChanged - Listing all the customers", source: file:///android_asset/www/js/index.js (298)
06-25 18:01:41.360: W/Listener(11661): authHeader is null
06-25 18:01:41.360: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:41.391: D/dalvikvm(11661): GC_FOR_ALLOC freed 247K, 6% free 10457K/11024K, paused 21ms, total 21ms
06-25 18:01:41.391: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 91 : APP - Get the changes from 2
06-25 18:01:41.391: I/chromium(11661): [INFO:CONSOLE(91)] "APP - Get the changes from 2", source: file:///android_asset/www/js/index.js (91)
06-25 18:01:41.401: W/Listener(11661): authHeader is null
06-25 18:01:41.401: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:41.421: D/dalvikvm(11661): GC_FOR_ALLOC freed 207K, 6% free 10453K/11024K, paused 18ms, total 18ms
06-25 18:01:41.441: D/dalvikvm(11661): GC_FOR_ALLOC freed 180K, 5% free 10481K/11024K, paused 20ms, total 20ms
06-25 18:01:41.441: V/Listener(11661): Credentials:
06-25 18:01:41.441: V/Listener(11661): Authorized via basic auth
06-25 18:01:41.461: D/dalvikvm(11661): GC_FOR_ALLOC freed 206K, 6% free 10450K/11024K, paused 19ms, total 19ms
06-25 18:01:41.471: V/View(11661): Re-indexing view: customersregistered/customers
06-25 18:01:41.471: I/CBLite(11661): Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20 Begin transaction (level 1)
06-25 18:01:41.471: V/Listener(11661): Credentials:
06-25 18:01:41.471: V/Listener(11661): Authorized via basic auth
06-25 18:01:41.471: W/Listener(11661): authHeader is null
06-25 18:01:41.471: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:41.491: D/dalvikvm(11661): GC_FOR_ALLOC freed 565K, 8% free 10147K/11024K, paused 19ms, total 19ms
06-25 18:01:41.491: W/Listener(11661): authHeader is null
06-25 18:01:41.491: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:41.501: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: saveLastSequence() called. lastSequence: 1
06-25 18:01:41.501: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: put remote _local document. checkpointID: bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:41.501: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:41.501: V/Listener(11661): Credentials:
06-25 18:01:41.501: V/Listener(11661): Authorized via basic auth
06-25 18:01:41.501: V/Listener(11661): Credentials:
06-25 18:01:41.501: V/Listener(11661): Authorized via basic auth
06-25 18:01:41.501: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:41.521: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:41.521: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest calling httpClient.execute
06-25 18:01:41.561: D/dalvikvm(11661): GC_FOR_ALLOC freed 646K, 10% free 10013K/11024K, paused 17ms, total 17ms
06-25 18:01:41.651: D/dalvikvm(11661): GC_FOR_ALLOC freed 496K, 10% free 10021K/11024K, paused 24ms, total 24ms
06-25 18:01:41.661: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest called httpClient.execute
06-25 18:01:41.661: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest calling respondWithResult. error: null
06-25 18:01:41.661: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421af620: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:41.661: V/CBLite(11661): com.couchbase.lite.Database[/data/data/com.amadeus.customerRegisterV2/files/customersregistered.cblite]: setLastSequence() called with lastSequence: 1 checkpointId: bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:41.731: D/dalvikvm(11661): GC_FOR_ALLOC freed 469K, 9% free 10063K/11024K, paused 20ms, total 20ms
06-25 18:01:41.761: V/View(11661): Finished re-indexing view: customersregistered/customers up to sequence 3 (deleted 0 added ?)
06-25 18:01:41.761: I/CBLite(11661): Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20 Committing transaction (level 1)
06-25 18:01:41.781: V/View(11661): Query customersregistered/customers: SELECT key, value, docid, revs.sequence FROM maps, revs, docs WHERE maps.view_id=? AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key DESC LIMIT ? OFFSET ? | args: [1, 2147483647, 0]
06-25 18:01:41.811: D/dalvikvm(11661): GC_FOR_ALLOC freed 438K, 9% free 10082K/11024K, paused 21ms, total 21ms
06-25 18:01:41.831: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 318 : APP - dbChanged - done
06-25 18:01:41.831: I/chromium(11661): [INFO:CONSOLE(318)] "APP - dbChanged - done", source: file:///android_asset/www/js/index.js (318)
06-25 18:01:41.851: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 128 : APP - GetNumberOfChanges - view.last_seq 3 lastCheck 2 numberOfChanges 1
06-25 18:01:41.851: I/chromium(11661): [INFO:CONSOLE(128)] "APP - GetNumberOfChanges - view.last_seq 3 lastCheck 2 numberOfChanges 1", source: file:///android_asset/www/js/index.js (128)
06-25 18:01:41.851: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : change
06-25 18:01:41.851: I/chromium(11661): [INFO:CONSOLE(1091)] "change", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:41.881: D/dalvikvm(11661): GC_FOR_ALLOC freed 174K, 9% free 10111K/11024K, paused 18ms, total 19ms
06-25 18:01:41.881: I/dalvikvm-heap(11661): Grow heap (frag case) to 10.171MB for 279056-byte allocation
06-25 18:01:41.901: D/dalvikvm(11661): GC_FOR_ALLOC freed 0K, 9% free 10384K/11300K, paused 19ms, total 19ms
06-25 18:01:43.182: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: saveLastSequence() called. lastSequence: 2
06-25 18:01:43.182: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: put remote _local document. checkpointID: b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:43.182: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:43.182: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:43.182: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:43.182: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest calling httpClient.execute
06-25 18:01:43.262: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest called httpClient.execute
06-25 18:01:43.262: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest calling respondWithResult. error: null
06-25 18:01:43.262: V/CBLite(11661): com.couchbase.lite.Database[/data/data/com.amadeus.customerRegisterV2/files/customersregistered.cblite]: setLastSequence() called with lastSequence: 2 checkpointId: b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:43.272: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421efb80: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:43.533: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 298 : APP - dbChanged - Listing all the customers
06-25 18:01:43.533: I/chromium(11661): [INFO:CONSOLE(298)] "APP - dbChanged - Listing all the customers", source: file:///android_asset/www/js/index.js (298)
06-25 18:01:43.533: W/Listener(11661): authHeader is null
06-25 18:01:43.533: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:43.563: D/dalvikvm(11661): GC_FOR_ALLOC freed 297K, 7% free 10592K/11300K, paused 22ms, total 22ms
06-25 18:01:43.563: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : task
06-25 18:01:43.563: I/chromium(11661): [INFO:CONSOLE(1091)] "task", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:43.573: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 726 : APP - RegistrationRequest - Registering the user if needed
06-25 18:01:43.573: I/chromium(11661): [INFO:CONSOLE(726)] "APP - RegistrationRequest - Registering the user if needed", source: file:///android_asset/www/js/index.js (726)
06-25 18:01:43.573: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 766 : APP - GetLocalUser - Make a get _local/user
06-25 18:01:43.573: I/chromium(11661): [INFO:CONSOLE(766)] "APP - GetLocalUser - Make a get _local/user", source: file:///android_asset/www/js/index.js (766)
06-25 18:01:43.573: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 784 : APP - GetUserSg - Looking for the registration view
06-25 18:01:43.573: I/chromium(11661): [INFO:CONSOLE(784)] "APP - GetUserSg - Looking for the registration view", source: file:///android_asset/www/js/index.js (784)
06-25 18:01:43.603: D/dalvikvm(11661): GC_FOR_ALLOC freed 931K, 11% free 10095K/11300K, paused 18ms, total 19ms
06-25 18:01:43.603: W/Listener(11661): authHeader is null
06-25 18:01:43.603: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:43.603: V/Listener(11661): Credentials:
06-25 18:01:43.603: V/Listener(11661): Authorized via basic auth
06-25 18:01:43.603: W/Listener(11661): authHeader is null
06-25 18:01:43.603: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:43.603: V/View(11661): Re-indexing view: customersregistered/customers
06-25 18:01:43.613: I/CBLite(11661): Acme.Utils.ThreadPool(3)-PooledThread: Acme.Serve.Serve$ServeConnection@42246588 Begin transaction (level 1)
06-25 18:01:43.613: V/View(11661): lastSequence (3) == dbMaxSequence (3), nothing to do
06-25 18:01:43.613: I/CBLite(11661): Acme.Utils.ThreadPool(3)-PooledThread: Acme.Serve.Serve$ServeConnection@42246588 Committing transaction (level 1)
06-25 18:01:43.613: V/View(11661): Query customersregistered/customers: SELECT key, value, docid, revs.sequence FROM maps, revs, docs WHERE maps.view_id=? AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key DESC LIMIT ? OFFSET ? | args: [1, 2147483647, 0]
06-25 18:01:43.613: W/Listener(11661): authHeader is null
06-25 18:01:43.613: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:43.633: D/dalvikvm(11661): GC_FOR_ALLOC freed 433K, 11% free 10163K/11300K, paused 20ms, total 20ms
06-25 18:01:43.643: V/Listener(11661): Credentials:
06-25 18:01:43.643: V/Listener(11661): Authorized via basic auth
06-25 18:01:43.643: V/Listener(11661): Credentials:
06-25 18:01:43.643: V/Listener(11661): Authorized via basic auth
06-25 18:01:43.643: V/Listener(11661): Credentials:
06-25 18:01:43.643: V/Listener(11661): Authorized via basic auth
06-25 18:01:43.673: D/dalvikvm(11661): GC_FOR_ALLOC freed 590K, 11% free 10082K/11300K, paused 15ms, total 15ms
06-25 18:01:43.673: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 318 : APP - dbChanged - done
06-25 18:01:43.673: I/chromium(11661): [INFO:CONSOLE(318)] "APP - dbChanged - done", source: file:///android_asset/www/js/index.js (318)
06-25 18:01:43.693: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 784 : APP - GetUserSg - Looking for the registration view
06-25 18:01:43.693: I/chromium(11661): [INFO:CONSOLE(784)] "APP - GetUserSg - Looking for the registration view", source: file:///android_asset/www/js/index.js (784)
06-25 18:01:43.693: W/Listener(11661): authHeader is null
06-25 18:01:43.693: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:43.713: D/dalvikvm(11661): GC_FOR_ALLOC freed 472K, 11% free 10109K/11300K, paused 16ms, total 16ms
06-25 18:01:43.723: V/View(11661): Re-indexing view: customersregistered/registration
06-25 18:01:43.723: W/Listener(11661): authHeader is null
06-25 18:01:43.723: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:43.723: I/CBLite(11661): Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20 Begin transaction (level 1)
06-25 18:01:43.723: V/Listener(11661): Credentials:
06-25 18:01:43.723: V/Listener(11661): Authorized via basic auth
06-25 18:01:43.783: D/dalvikvm(11661): GC_FOR_ALLOC freed 490K, 11% free 10129K/11300K, paused 19ms, total 19ms
06-25 18:01:43.783: V/Listener(11661): Credentials:
06-25 18:01:43.783: V/Listener(11661): Authorized via basic auth
06-25 18:01:43.853: D/dalvikvm(11661): GC_FOR_ALLOC freed 514K, 11% free 10126K/11300K, paused 20ms, total 20ms
06-25 18:01:43.933: D/dalvikvm(11661): GC_FOR_ALLOC freed 509K, 11% free 10129K/11300K, paused 20ms, total 20ms
06-25 18:01:43.963: V/View(11661): Finished re-indexing view: customersregistered/registration up to sequence 3 (deleted 0 added ?)
06-25 18:01:43.963: I/CBLite(11661): Acme.Utils.ThreadPool(0)-PooledThread: Acme.Serve.Serve$ServeConnection@421a8a20 Committing transaction (level 1)
06-25 18:01:43.983: V/View(11661): Query customersregistered/registration: SELECT key, value, docid, revs.sequence FROM maps, revs, docs WHERE maps.view_id=? AND revs.sequence = maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key DESC LIMIT ? OFFSET ? | args: [2, 2147483647, 0]
06-25 18:01:44.043: D/dalvikvm(11661): GC_FOR_ALLOC freed 517K, 11% free 10124K/11300K, paused 20ms, total 21ms
06-25 18:01:44.043: I/CBLite(11661): Acme.Utils.ThreadPool(4)-PooledThread: Acme.Serve.Serve$ServeConnection@42278968 Begin transaction (level 1)
06-25 18:01:44.053: I/CBLite(11661): Acme.Utils.ThreadPool(4)-PooledThread: Acme.Serve.Serve$ServeConnection@42278968 Committing transaction (level 1)
06-25 18:01:44.063: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: addToInbox() called, rev: {85988b5c-6e6e-4164-a4fe-a62d69b20bec #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: queueObjects called with 1 objects.
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: inbox size before adding objects: 0
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: delayToUse() delta: 4650, delayToUse: 0, delay: 4650
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: scheduleWithDelay called with delay: 0 ms
06-25 18:01:44.063: V/Sync(11661): not already scheduled
06-25 18:01:44.063: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: processNow() called
06-25 18:01:44.063: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: addToInbox() calling updateActive()
06-25 18:01:44.063: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: true batcherCount: 1, asyncTaskCount: 0
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:44.063: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: invoking processor with 1 items
06-25 18:01:44.063: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42132cc0: BEGIN processInbox (1 sequences)
06-25 18:01:44.063: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: posting to /_revs_diff
06-25 18:01:44.063: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: processInbox() calling asyncTaskStarted()
06-25 18:01:44.063: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 0 -> 1
06-25 18:01:44.063: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted() calling updateActive()
06-25 18:01:44.063: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Progress: set active = true asyncTaskCount: 1 batcherCount: 0
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.073: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.073: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42132cc0: END processInbox (lastSequence=1)
06-25 18:01:44.073: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42132cc0: batcher calling updateActive()
06-25 18:01:44.073: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Progress: set active = true asyncTaskCount: 0 batcherCount: 1
06-25 18:01:44.073: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.073: W/Router(11661): Router: Sending longpoll response
06-25 18:01:44.073: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.073: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest calling httpClient.execute
06-25 18:01:44.073: I/CBLite(11661): Acme.Utils.ThreadPool(3)-PooledThread: Acme.Serve.Serve$ServeConnection@42246588 Begin transaction (level 1)
06-25 18:01:44.083: I/CBLite(11661): Acme.Utils.ThreadPool(3)-PooledThread: Acme.Serve.Serve$ServeConnection@42246588 Committing transaction (level 1)
06-25 18:01:44.093: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 791 : APP - GetUserSg - The user has been found ? true
06-25 18:01:44.093: I/chromium(11661): [INFO:CONSOLE(791)] "APP - GetUserSg - The user has been found ? true", source: file:///android_asset/www/js/index.js (791)
06-25 18:01:44.093: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 791 : APP - GetUserSg - The user has been found ? true
06-25 18:01:44.093: I/chromium(11661): [INFO:CONSOLE(791)] "APP - GetUserSg - The user has been found ? true", source: file:///android_asset/www/js/index.js (791)
06-25 18:01:44.103: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: addToInbox() called, rev: {c6647aae-bb9d-4717-ad2e-8da5f1e5b7db #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:44.103: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: queueObjects called with 1 objects.
06-25 18:01:44.103: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: inbox size before adding objects: 0
06-25 18:01:44.103: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: delayToUse() delta: 28, delayToUse: 500, delay: 28
06-25 18:01:44.103: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: scheduleWithDelay called with delay: 500 ms
06-25 18:01:44.103: V/Sync(11661): not already scheduled
06-25 18:01:44.103: V/Sync(11661): workExecutor.schedule() with delay: 500 ms
06-25 18:01:44.103: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: addToInbox() calling updateActive()
06-25 18:01:44.103: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 1, asyncTaskCount: 1
06-25 18:01:44.103: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:44.103: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.113: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 91 : APP - Get the changes from 3
06-25 18:01:44.113: I/chromium(11661): [INFO:CONSOLE(91)] "APP - Get the changes from 3", source: file:///android_asset/www/js/index.js (91)
06-25 18:01:44.133: D/dalvikvm(11661): GC_FOR_ALLOC freed 521K, 11% free 10106K/11300K, paused 21ms, total 21ms
06-25 18:01:44.143: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 745 : APP - RegistrationRequest - POST - store user sync gateway db
06-25 18:01:44.143: I/chromium(11661): [INFO:CONSOLE(745)] "APP - RegistrationRequest - POST - store user sync gateway db", source: file:///android_asset/www/js/index.js (745)
06-25 18:01:44.143: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 746 : DB POST RESPONSE :
06-25 18:01:44.143: I/chromium(11661): [INFO:CONSOLE(746)] "DB POST RESPONSE : ", source: file:///android_asset/www/js/index.js (746)
06-25 18:01:44.143: W/Listener(11661): authHeader is null
06-25 18:01:44.143: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:44.143: W/Listener(11661): authHeader is null
06-25 18:01:44.143: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:44.153: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 745 : APP - RegistrationRequest - POST - store user sync gateway db
06-25 18:01:44.153: I/chromium(11661): [INFO:CONSOLE(745)] "APP - RegistrationRequest - POST - store user sync gateway db", source: file:///android_asset/www/js/index.js (745)
06-25 18:01:44.153: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 746 : DB POST RESPONSE :
06-25 18:01:44.153: I/chromium(11661): [INFO:CONSOLE(746)] "DB POST RESPONSE : ", source: file:///android_asset/www/js/index.js (746)
06-25 18:01:44.183: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 750 : null
06-25 18:01:44.183: I/chromium(11661): [INFO:CONSOLE(750)] "null", source: file:///android_asset/www/js/index.js (750)
06-25 18:01:44.203: D/dalvikvm(11661): GC_FOR_ALLOC freed 519K, 11% free 10098K/11300K, paused 20ms, total 20ms
06-25 18:01:44.203: W/Listener(11661): authHeader is null
06-25 18:01:44.203: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:44.213: V/Listener(11661): Credentials:
06-25 18:01:44.213: V/Listener(11661): Authorized via basic auth
06-25 18:01:44.213: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 751 : APP - RegistrationRequest - PUT - store user local db
06-25 18:01:44.213: I/chromium(11661): [INFO:CONSOLE(751)] "APP - RegistrationRequest - PUT - store user local db", source: file:///android_asset/www/js/index.js (751)
06-25 18:01:44.213: V/Listener(11661): Credentials:
06-25 18:01:44.213: V/Listener(11661): Authorized via basic auth
06-25 18:01:44.233: D/dalvikvm(11661): GC_FOR_ALLOC freed 476K, 11% free 10071K/11300K, paused 21ms, total 21ms
06-25 18:01:44.243: V/Listener(11661): Credentials:
06-25 18:01:44.243: V/Listener(11661): Authorized via basic auth
06-25 18:01:44.273: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 91 : APP - Get the changes from 3
06-25 18:01:44.273: I/chromium(11661): [INFO:CONSOLE(91)] "APP - Get the changes from 3", source: file:///android_asset/www/js/index.js (91)
06-25 18:01:44.303: D/dalvikvm(11661): GC_FOR_ALLOC freed 484K, 11% free 10092K/11300K, paused 20ms, total 24ms
06-25 18:01:44.303: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 750 : null
06-25 18:01:44.303: I/chromium(11661): [INFO:CONSOLE(750)] "null", source: file:///android_asset/www/js/index.js (750)
06-25 18:01:44.303: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 751 : APP - RegistrationRequest - PUT - store user local db
06-25 18:01:44.303: I/chromium(11661): [INFO:CONSOLE(751)] "APP - RegistrationRequest - PUT - store user local db", source: file:///android_asset/www/js/index.js (751)
06-25 18:01:44.303: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 128 : APP - GetNumberOfChanges - view.last_seq 5 lastCheck 3 numberOfChanges 2
06-25 18:01:44.303: I/chromium(11661): [INFO:CONSOLE(128)] "APP - GetNumberOfChanges - view.last_seq 5 lastCheck 3 numberOfChanges 2", source: file:///android_asset/www/js/index.js (128)
06-25 18:01:44.303: D/CordovaLog(11661): file:///android_asset/www/js/index.js: Line 1091 : change
06-25 18:01:44.303: I/chromium(11661): [INFO:CONSOLE(1091)] "change", source: file:///android_asset/www/js/index.js (1091)
06-25 18:01:44.303: W/Listener(11661): authHeader is null
06-25 18:01:44.303: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:44.333: D/dalvikvm(11661): GC_FOR_ALLOC freed 354K, 11% free 10141K/11300K, paused 21ms, total 21ms
06-25 18:01:44.333: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest called httpClient.execute
06-25 18:01:44.343: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest calling respondWithResult. error: null
06-25 18:01:44.343: V/Sync(11661): %s: got /_revs_diff response
06-25 18:01:44.343: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@421afc88: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.373: D/dalvikvm(11661): GC_FOR_ALLOC freed 148K, 8% free 10495K/11300K, paused 25ms, total 25ms
06-25 18:01:44.373: W/Listener(11661): authHeader is null
06-25 18:01:44.373: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:44.373: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: POSTing 1 revisions to _bulk_docs: [{_rev=1-f697f6321b2f8440cc9856ea172f1e26, pwd=amadeus, _id=85988b5c-6e6e-4164-a4fe-a62d69b20bec, _revisions={start=1, ids=[f697f6321b2f8440cc9856ea172f1e26]}, email=amelie@amadeus.com, name=Amelie, login=amel, type=crewUser}]
06-25 18:01:44.373: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 0 by adding 1 -> 1
06-25 18:01:44.373: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: uploadBulkDocs() calling asyncTaskStarted()
06-25 18:01:44.373: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 1 -> 2
06-25 18:01:44.383: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.383: V/Listener(11661): Credentials:
06-25 18:01:44.383: V/Listener(11661): Authorized via basic auth
06-25 18:01:44.383: V/Sync(11661): com.couchbase.lite.replicator.Pusher$2@421197e0 | Thread[pool-2-thread-1,5,main]: processInbox.sendAsyncRequest() calling asyncTaskFinished()
06-25 18:01:44.383: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 2 -> 1
06-25 18:01:44.383: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.393: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.393: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest calling httpClient.execute
06-25 18:01:44.433: D/dalvikvm(11661): GC_FOR_ALLOC freed 395K, 7% free 10605K/11300K, paused 22ms, total 24ms
06-25 18:01:44.433: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest called httpClient.execute
06-25 18:01:44.433: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest calling respondWithResult. error: null
06-25 18:01:44.433: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42246060: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.433: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Setting lastSequence to 4 from(1)
06-25 18:01:44.433: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: POSTed to _bulk_docs
06-25 18:01:44.433: W/Listener(11661): authHeader is null
06-25 18:01:44.443: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Incrementing completedChangesCount count from 0 by adding 1 -> 1
06-25 18:01:44.443: V/Sync(11661): com.couchbase.lite.replicator.Pusher$3@42171080 | Thread[pool-2-thread-1,5,main]: uploadBulkDocs.sendAsyncRequest() calling asyncTaskFinished()
06-25 18:01:44.443: V/Listener(11661): Credentials:
06-25 18:01:44.443: V/Listener(11661): Authorized via basic auth
06-25 18:01:44.443: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 1 -> 0
06-25 18:01:44.443: W/Listener(11661): Unauthorized -- requestCredentials not given or do not match allowed credentials
06-25 18:01:44.443: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished() calling updateActive()
06-25 18:01:44.443: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 1, asyncTaskCount: 0
06-25 18:01:44.443: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:44.443: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.504: D/dalvikvm(11661): GC_FOR_ALLOC freed 349K, 6% free 10651K/11300K, paused 21ms, total 22ms
06-25 18:01:44.504: V/Listener(11661): Credentials:
06-25 18:01:44.504: V/Listener(11661): Authorized via basic auth
06-25 18:01:44.604: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: processNow() called
06-25 18:01:44.604: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:44.604: V/Sync(11661): com.couchbase.lite.support.Batcher@421f1630: invoking processor with 1 items
06-25 18:01:44.604: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42132cc0: BEGIN processInbox (1 sequences)
06-25 18:01:44.604: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: posting to /_revs_diff
06-25 18:01:44.604: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: processInbox() calling asyncTaskStarted()
06-25 18:01:44.604: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 0 -> 1
06-25 18:01:44.604: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted() calling updateActive()
06-25 18:01:44.604: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:44.604: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:44.604: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.604: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.604: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42132cc0: END processInbox (lastSequence=4)
06-25 18:01:44.604: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.604: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42132cc0: batcher calling updateActive()
06-25 18:01:44.614: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: true batcherCount: 0, asyncTaskCount: 1
06-25 18:01:44.614: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:44.614: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.614: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.614: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest calling httpClient.execute
06-25 18:01:44.674: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: adding rev to inbox {85988b5c-6e6e-4164-a4fe-a62d69b20bec #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:44.674: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: changeTrackerReceivedChange() incrementing changesCount by 1
06-25 18:01:44.684: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 2 by adding 1 -> 3
06-25 18:01:44.684: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() called, rev: {85988b5c-6e6e-4164-a4fe-a62d69b20bec #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: queueObjects called with 1 objects.
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox size before adding objects: 0
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest called httpClient.execute
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: delayToUse() delta: 4709, delayToUse: 0, delay: 4709
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: scheduleWithDelay called with delay: 0 ms
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest calling respondWithResult. error: null
06-25 18:01:44.684: V/Sync(11661): not already scheduled
06-25 18:01:44.684: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:44.684: V/Sync(11661): %s: got /_revs_diff response
06-25 18:01:44.684: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() calling updateActive()
06-25 18:01:44.684: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: true batcherCount: 1, asyncTaskCount: 0
06-25 18:01:44.684: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Progress: set active = true asyncTaskCount: 0 batcherCount: 1
06-25 18:01:44.684: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.684: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Starting new longpoll
06-25 18:01:44.684: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Making request to http://---:---@192.168.43.61:12345/customers/_changes
06-25 18:01:44.684: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@420e2ab8: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_revs_diff
06-25 18:01:44.694: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: POSTing 1 revisions to _bulk_docs: [{_rev=1-f697f6321b2f8440cc9856ea172f1e26, pwd=amadeus, _id=c6647aae-bb9d-4717-ad2e-8da5f1e5b7db, _revisions={start=1, ids=[f697f6321b2f8440cc9856ea172f1e26]}, email=amelie@amadeus.com, name=Amelie, login=amel, type=crewUser}]
06-25 18:01:44.694: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 1 by adding 1 -> 2
06-25 18:01:44.694: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers] | Thread[pool-2-thread-1,5,main]: uploadBulkDocs() calling asyncTaskStarted()
06-25 18:01:44.694: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskStarted 1 -> 2
06-25 18:01:44.694: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.694: V/Sync(11661): com.couchbase.lite.replicator.Pusher$2@420eaee0 | Thread[pool-2-thread-1,5,main]: processInbox.sendAsyncRequest() calling asyncTaskFinished()
06-25 18:01:44.694: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.694: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 2 -> 1
06-25 18:01:44.694: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: processNow() called
06-25 18:01:44.694: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:44.694: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: invoking processor with 1 items
06-25 18:01:44.704: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: BEGIN processInbox (1 sequences)
06-25 18:01:44.704: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:44.704: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest calling httpClient.execute
06-25 18:01:44.704: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: processInbox() setting changesCount to: 2
06-25 18:01:44.704: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 3 by adding -1 -> 2
06-25 18:01:44.714: W/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] no new remote revisions to fetch
06-25 18:01:44.714: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Setting lastSequence to 3 from(2)
06-25 18:01:44.714: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: END processInbox (lastSequence=3)
06-25 18:01:44.714: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42104be0: batcher calling updateActive()
06-25 18:01:44.714: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:44.714: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Progress: set active = false asyncTaskCount: 0 batcherCount: 0
06-25 18:01:44.714: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.734: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest called httpClient.execute
06-25 18:01:44.754: D/dalvikvm(11661): GC_FOR_ALLOC freed 484K, 6% free 10725K/11300K, paused 18ms, total 18ms
06-25 18:01:44.754: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest calling respondWithResult. error: null
06-25 18:01:44.754: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Setting lastSequence to 5 from(4)
06-25 18:01:44.754: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: POSTed to _bulk_docs
06-25 18:01:44.754: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Incrementing completedChangesCount count from 1 by adding 1 -> 2
06-25 18:01:44.754: V/Sync(11661): com.couchbase.lite.replicator.Pusher$3@42264fb0 | Thread[pool-2-thread-1,5,main]: uploadBulkDocs.sendAsyncRequest() calling asyncTaskFinished()
06-25 18:01:44.754: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished 1 -> 0
06-25 18:01:44.754: V/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: asyncTaskFinished() calling updateActive()
06-25 18:01:44.754: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: true, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:44.754: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: Progress: set active = false asyncTaskCount: 0 batcherCount: 0
06-25 18:01:44.754: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:44.754: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@42265478: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_bulk_docs
06-25 18:01:45.685: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: adding rev to inbox {c6647aae-bb9d-4717-ad2e-8da5f1e5b7db #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:45.685: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: changeTrackerReceivedChange() incrementing changesCount by 1
06-25 18:01:45.685: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 2 by adding 1 -> 3
06-25 18:01:45.685: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() called, rev: {c6647aae-bb9d-4717-ad2e-8da5f1e5b7db #1-f697f6321b2f8440cc9856ea172f1e26}
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: queueObjects called with 1 objects.
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox size before adding objects: 0
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: delayToUse() delta: 966, delayToUse: 0, delay: 966
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: scheduleWithDelay called with delay: 0 ms
06-25 18:01:45.685: V/Sync(11661): not already scheduled
06-25 18:01:45.685: V/Sync(11661): workExecutor.schedule() with delay: 0 ms
06-25 18:01:45.685: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: addToInbox() calling updateActive()
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: processNow() called
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: inbox.size() <= capacity, adding 1 items from inbox -> toProcess
06-25 18:01:45.685: V/Sync(11661): com.couchbase.lite.support.Batcher@42187cb0: invoking processor with 1 items
06-25 18:01:45.685: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: BEGIN processInbox (1 sequences)
06-25 18:01:45.685: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:45.695: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: processInbox() setting changesCount to: 2
06-25 18:01:45.695: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:45.695: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:45.695: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Incrementing changesCount count from 3 by adding -1 -> 2
06-25 18:01:45.695: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Starting new longpoll
06-25 18:01:45.695: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Making request to http://---:---@192.168.43.61:12345/customers/_changes
06-25 18:01:45.695: W/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers] no new remote revisions to fetch
06-25 18:01:45.705: V/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: Setting lastSequence to 4 from(3)
06-25 18:01:45.705: V/Sync(11661): *** com.couchbase.lite.replicator.Replication$1@42104be0: END processInbox (lastSequence=4)
06-25 18:01:45.705: V/Sync(11661): com.couchbase.lite.replicator.Replication$1@42104be0: batcher calling updateActive()
06-25 18:01:45.705: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: updateActive() called. active: false, newActive: false batcherCount: 0, asyncTaskCount: 0
06-25 18:01:45.705: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: active == newActive.
06-25 18:01:45.705: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: exit updateActive()
06-25 18:01:46.435: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: saveLastSequence() called. lastSequence: 5
06-25 18:01:46.435: D/Sync(11661): Pusher@421f0938[http://---:---@192.168.43.61:12345/customers]: put remote _local document. checkpointID: bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:46.445: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:46.445: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:46.445: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:46.445: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest calling httpClient.execute
06-25 18:01:46.465: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest called httpClient.execute
06-25 18:01:46.465: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest calling respondWithResult. error: null
06-25 18:01:46.465: V/CBLite(11661): com.couchbase.lite.Database[/data/data/com.amadeus.customerRegisterV2/files/customersregistered.cblite]: setLastSequence() called with lastSequence: 5 checkpointId: bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:46.465: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@4224eac0: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/bb0bec8b376f82a9302879616f1a3646737de093
06-25 18:01:46.716: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: saveLastSequence() called. lastSequence: 4
06-25 18:01:46.716: D/Sync(11661): Puller@4217e568[http://---:---@192.168.43.61:12345/customers]: put remote _local document. checkpointID: b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:46.716: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest created, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:46.726: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest run() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:46.726: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest executeRequest() called, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:46.726: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest calling httpClient.execute
06-25 18:01:46.986: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest called httpClient.execute
06-25 18:01:46.986: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest calling respondWithResult. error: null
06-25 18:01:46.986: V/CBLite(11661): com.couchbase.lite.Database[/data/data/com.amadeus.customerRegisterV2/files/customersregistered.cblite]: setLastSequence() called with lastSequence: 4 checkpointId: b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:01:46.986: V/Sync(11661): com.couchbase.lite.support.RemoteRequest@422597b0: RemoteRequest run() finished, url: http://amel:amadeus@192.168.43.61:12345/customers/_local/b02da4d0a87a312da7d44be274151534d3da1f66
06-25 18:02:45.723: E/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Exception in change tracker
06-25 18:02:45.723: E/ChangeTracker(11661): java.net.SocketTimeoutException
06-25 18:02:45.723: E/ChangeTracker(11661): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491)
06-25 18:02:45.723: E/ChangeTracker(11661): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
06-25 18:02:45.723: E/ChangeTracker(11661): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:220)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:183)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:155)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:159)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.impl.Utf8StreamParser.loadMore(Utf8StreamParser.java:172)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.impl.Utf8StreamParser._skipWSOrEnd(Utf8StreamParser.java:2304)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:438)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.deser.std.UntypedObjectDeserializer.mapArray(UntypedObjectDeserializer.java:157)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.deser.std.UntypedObjectDeserializer.deserialize(UntypedObjectDeserializer.java:51)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:319)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723)
06-25 18:02:45.723: E/ChangeTracker(11661): at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)
06-25 18:02:45.723: E/ChangeTracker(11661): at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:319)
06-25 18:02:45.723: E/ChangeTracker(11661): at java.lang.Thread.run(Thread.java:841)
06-25 18:02:45.733: V/ChangeTracker(11661): com.couchbase.lite.replicator.ChangeTracker@42247aa0: Making request to http://---:---@192.168.43.61:12345/customers/_changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment