Created
June 24, 2014 10:21
-
-
Save arribbar/5b32cca2c3d256dd6a6a to your computer and use it in GitHub Desktop.
No push from device to SG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
06-24 11:06:01.885: I/chromium(20564): [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-24 11:06:01.885: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 1034 : RIGHT HERE RIGHT HERE | |
06-24 11:06:01.885: I/chromium(20564): [INFO:CONSOLE(1034)] "RIGHT HERE RIGHT HERE", source: file:///android_asset/www/js/index.js (1034) | |
06-24 11:06:01.895: W/Listener(20564): authHeader is null | |
06-24 11:06:01.895: W/Listener(20564): Unauthorized -- requestCredentials not given or do not match allowed credentials | |
06-24 11:06:01.895: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 863 : APP - setupViews - PUT done | |
06-24 11:06:01.895: I/chromium(20564): [INFO:CONSOLE(863)] "APP - setupViews - PUT done", source: file:///android_asset/www/js/index.js (863) | |
06-24 11:06:01.915: V/Listener(20564): Authorized via basic auth | |
06-24 11:06:01.915: W/Listener(20564): authHeader is null | |
06-24 11:06:01.915: W/Listener(20564): Unauthorized -- requestCredentials not given or do not match allowed credentials | |
06-24 11:06:01.935: V/Listener(20564): Authorized via basic auth | |
06-24 11:06:02.065: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 91 : APP - Get the changes from 0 | |
06-24 11:06:02.065: I/chromium(20564): [INFO:CONSOLE(91)] "APP - Get the changes from 0", source: file:///android_asset/www/js/index.js (91) | |
06-24 11:06:02.085: D/dalvikvm(20564): GC_FOR_ALLOC freed 311K, 6% free 10149K/10708K, paused 18ms, total 18ms | |
06-24 11:06:02.095: W/Listener(20564): authHeader is null | |
06-24 11:06:02.095: W/Listener(20564): Unauthorized -- requestCredentials not given or do not match allowed credentials | |
06-24 11:06:02.095: W/Listener(20564): authHeader is null | |
06-24 11:06:02.095: W/Listener(20564): Unauthorized -- requestCredentials not given or do not match allowed credentials | |
06-24 11:06:02.115: V/Listener(20564): Authorized via basic auth | |
06-24 11:06:02.155: V/Listener(20564): Authorized via basic auth | |
06-24 11:06:02.375: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 1004 : continuous sync callBack | |
06-24 11:06:02.375: I/chromium(20564): [INFO:CONSOLE(1004)] "continuous sync callBack", source: file:///android_asset/www/js/index.js (1004) | |
06-24 11:06:02.375: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 1005 : [object Object] | |
06-24 11:06:02.375: I/chromium(20564): [INFO:CONSOLE(1005)] "[object Object]", source: file:///android_asset/www/js/index.js (1005) | |
06-24 11:06:02.385: W/Listener(20564): authHeader is null | |
06-24 11:06:02.385: W/Listener(20564): Unauthorized -- requestCredentials not given or do not match allowed credentials | |
06-24 11:06:02.405: D/dalvikvm(20564): GC_FOR_ALLOC freed 259K, 6% free 10351K/10948K, paused 17ms, total 17ms | |
06-24 11:06:02.425: V/Listener(20564): Authorized via basic auth | |
06-24 11:06:02.445: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 128 : APP - GetNumberOfChanges - view.last_seq 1 lastCheck 0 numberOfChanges 1 | |
06-24 11:06:02.445: I/chromium(20564): [INFO:CONSOLE(128)] "APP - GetNumberOfChanges - view.last_seq 1 lastCheck 0 numberOfChanges 1", source: file:///android_asset/www/js/index.js (128) | |
06-24 11:06:02.445: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 1091 : change | |
06-24 11:06:02.445: I/chromium(20564): [INFO:CONSOLE(1091)] "change", source: file:///android_asset/www/js/index.js (1091) | |
06-24 11:06:02.495: D/dalvikvm(20564): GC_FOR_ALLOC freed 405K, 5% free 10458K/10948K, paused 19ms, total 19ms | |
06-24 11:06:02.516: W/Sync(20564): com.couchbase.lite.replicator.Replication$8@42271ad0: error getting remote checkpoint | |
06-24 11:06:02.516: E/Sync(20564): Pusher@421a54b8[http://---:---@192.168.43.61:12345/customers]: Progress: set error = java.lang.Exception: com.couchbase.lite.support.RemoteRequest@422722a8: Request org.apache.http.client.methods.HttpGet@42272368 has been aborted | |
06-24 11:06:03.296: D/CordovaLog(20564): file:///android_asset/www/js/index.js: Line 298 : APP - dbChanged - Listing all the customers | |
06-24 11:06:03.296: I/chromium(20564): [INFO:CONSOLE(298)] "APP - dbChanged - Listing all the customers", source: file:///android_asset/www/js/index.js (298) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:02:44.493515 Enabling logging: [CRUD Cache Changes] | |
11:02:44.493607 ==== Couchbase Sync Gateway/1.00 (1.0.0-23; commit 46d2fdaf) ==== | |
11:02:44.493618 Configured Go to use all 4 CPUs; setenv GOMAXPROCS to override this | |
11:02:44.493628 Configured MaxFileDescriptors (RLIMIT_NOFILE) to 5000 | |
11:02:44.493643 Opening db /customers as bucket "customers", pool "default", server <http://localhost:8091> | |
11:02:44.493715 Opening Couchbase database customers on <http://localhost:8091> | |
11:02:44.544675 Cache: Initialized changeCache with nextSequence=#1 | |
11:02:44.547293 Reset guest user to config | |
11:02:44.547324 Starting admin server on 127.0.0.1:4985 | |
11:02:44.549639 Starting server on :12345 ... | |
11:02:48.818105 HTTP: #001: PUT /customers/_user/amel (ADMIN) | |
11:03:21.706897 HTTP: #002: GET /customers/_local/6c9561399e9e01e3b7f3ffc731070b7aabee30d2 (as amel) | |
11:03:21.707121 HTTP: #002: --> 404 missing (0.0 ms) | |
11:03:26.023442 HTTP: #003: GET /customers/_local/5a89ac8a3161d52654afb71937be97edc51f25b2 (as amel) | |
11:03:26.023775 HTTP: #003: --> 404 missing (0.0 ms) | |
11:03:26.229707 HTTP: #004: POST /customers/_changes (as amel) | |
11:03:26.229875 Changes: MultiChangesFeed({*}, {Since:0 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc210130720}) ... | |
11:03:27.618848 HTTP: #005: POST /customers/_revs_diff (as amel) | |
11:03:27.853822 HTTP: #006: POST /customers/_bulk_docs (as amel) | |
11:03:27.950023 CRUD: Doc "d0509f01-1165-4418-ae94-1b75e0f93a5d" in channels "{registration}" | |
11:03:27.950243 Cache: SAVING #1 | |
11:03:27.956600 CRUD: Stored doc "d0509f01-1165-4418-ae94-1b75e0f93a5d" / "1-f697f6321b2f8440cc9856ea172f1e26" | |
11:03:27.957313 CRUD: Doc "bcbce54e-d4ff-444f-8c90-509b7699c0fc" in channels "{registration}" | |
11:03:27.957389 Cache: SAVING #2 | |
11:03:27.963594 CRUD: Stored doc "bcbce54e-d4ff-444f-8c90-509b7699c0fc" / "1-f697f6321b2f8440cc9856ea172f1e26" | |
11:03:28.594599 Cache: Received #1 after 644ms ("d0509f01-1165-4418-ae94-1b75e0f93a5d" / "1-f697f6321b2f8440cc9856ea172f1e26") | |
11:03:28.594697 Cache: #1 ==> channel "registration" | |
11:03:28.594735 Cache: #1 ==> channel "*" | |
11:03:28.594752 Cache: Received #2 after 637ms ("bcbce54e-d4ff-444f-8c90-509b7699c0fc" / "1-f697f6321b2f8440cc9856ea172f1e26") | |
11:03:28.594805 Cache: #2 ==> channel "registration" | |
11:03:28.594842 Cache: #2 ==> channel "*" | |
11:03:28.616170 Cache: getCachedChanges("registration", 0) --> 2 changes valid from #1 | |
11:03:28.616212 Changes: MultiChangesFeed done | |
11:03:28.949594 HTTP: #007: POST /customers/_changes (as amel) | |
11:03:28.949788 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc21015ce40}) ... | |
11:03:31.519030 HTTP: #008: PUT /customers/_local/5a89ac8a3161d52654afb71937be97edc51f25b2 (as amel) | |
11:04:29.462748 HTTP: #009: POST /customers/_changes (as amel) | |
11:04:29.462845 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc210262840}) ... | |
11:05:30.493694 HTTP: #010: POST /customers/_changes (as amel) | |
11:05:30.493777 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc210264c60}) ... | |
11:06:31.535244 HTTP: #011: POST /customers/_changes (as amel) | |
11:06:31.535370 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc2102f1c00}) ... | |
11:06:32.184555 HTTP: #012: GET /customers/_local/e9d0ce133a1f57ad954374473100be9e06a62a5e (as amel) | |
11:06:32.184920 HTTP: #012: --> 404 missing (0.0 ms) | |
11:06:32.237210 HTTP: #013: POST /customers/_changes (as amel) | |
11:06:32.237284 Changes: MultiChangesFeed({*}, {Since:0 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc21015c780}) ... | |
11:06:32.237370 Cache: getCachedChanges("registration", 0) --> 2 changes valid from #1 | |
11:06:32.237402 Changes: MultiChangesFeed done | |
11:06:32.255067 HTTP: #014: POST /customers/_changes (as amel) | |
11:06:32.255191 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc21015cd20}) ... | |
11:06:32.342819 HTTP: #015: POST /customers/_bulk_get?revs=true&attachments=true (as amel) | |
11:06:34.831897 HTTP: #016: PUT /customers/_local/e9d0ce133a1f57ad954374473100be9e06a62a5e (as amel) | |
11:07:32.209941 HTTP: #017: POST /customers/_changes (as amel) | |
11:07:32.210034 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc2105c7cc0}) ... | |
11:07:33.363418 HTTP: #018: POST /customers/_changes (as amel) | |
11:07:33.363577 Changes: MultiChangesFeed({*}, {Since:2 Limit:50 Conflicts:true IncludeDocs:false Wait:true Continuous:false Terminator:0xc2105c7ea0}) ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ngrep -W byline port 12345 | |
interface: en0 (192.168.43.0/255.255.255.0) | |
filter: (ip or ip6) and ( port 12345 ) | |
###### | |
T 192.168.43.82:41308 -> 192.168.43.61:12345 [AP] | |
POST /customers/_changes HTTP/1.1. | |
Content-Type: application/json. | |
Content-Length: 78. | |
Host: 192.168.43.61:12345. | |
Connection: Keep-Alive. | |
Authorization: Basic YW1lbDphbWFkZXVz. | |
. | |
{"limit":50,"feed":"longpoll","since":2,"style":"all_docs","heartbeat":300000} | |
## | |
T 192.168.43.61:12345 -> 192.168.43.82:41308 [AP] | |
HTTP/1.1 200 OK. | |
Content-Type: application/json. | |
Server: Couchbase Sync Gateway/1.00. | |
Date: Tue, 24 Jun 2014 10:06:31 GMT. | |
Transfer-Encoding: chunked. | |
. | |
e. | |
{"results":[. | |
. | |
##### | |
T 192.168.43.1:53133 -> 192.168.43.61:12345 [AP] | |
GET /customers/_local/e9d0ce133a1f57ad954374473100be9e06a62a5e HTTP/1.1. | |
Accept: multipart/related, application/json. | |
Host: 192.168.43.61:12345. | |
Connection: Keep-Alive. | |
Authorization: Basic YW1lbDphbWFkZXVz. | |
. | |
## | |
T 192.168.43.61:12345 -> 192.168.43.1:53133 [AP] | |
HTTP/1.1 404 Not Found. | |
Content-Type: application/json. | |
Server: Couchbase Sync Gateway/1.00. | |
Date: Tue, 24 Jun 2014 10:06:32 GMT. | |
Content-Length: 40. | |
. | |
{"error":"not_found","reason":"missing"} | |
##### | |
T 192.168.43.1:41493 -> 192.168.43.61:12345 [AP] | |
POST /customers/_changes HTTP/1.1. | |
Content-Type: application/json. | |
Content-Length: 68. | |
Host: 192.168.43.61:12345. | |
Connection: Keep-Alive. | |
Authorization: Basic YW1lbDphbWFkZXVz. | |
. | |
{"limit":50,"style":"all_docs","heartbeat":300000,"feed":"longpoll"} | |
## | |
T 192.168.43.61:12345 -> 192.168.43.1:41493 [AP] | |
HTTP/1.1 200 OK. | |
Content-Type: application/json. | |
Server: Couchbase Sync Gateway/1.00. | |
Date: Tue, 24 Jun 2014 10:06:32 GMT. | |
Transfer-Encoding: chunked. | |
. | |
e. | |
{"results":[. | |
. | |
# | |
T 192.168.43.61:12345 -> 192.168.43.1:41493 [AP] | |
f0. | |
{"seq":1,"id":"d0509f01-1165-4418-ae94-1b75e0f93a5d","changes":[{"rev":"1-f697f6321b2f8440cc9856ea172f1e26"}]} | |
,{"seq":2,"id":"bcbce54e-d4ff-444f-8c90-509b7699c0fc","changes":[{"rev":"1-f697f6321b2f8440cc9856ea172f1e26"}]} | |
], | |
"last_seq":2} | |
. | |
0. | |
. | |
### | |
T 192.168.43.1:41493 -> 192.168.43.61:12345 [AP] | |
POST /customers/_changes HTTP/1.1. | |
Content-Type: application/json. | |
Content-Length: 78. | |
Host: 192.168.43.61:12345. | |
Connection: Keep-Alive. | |
Authorization: Basic YW1lbDphbWFkZXVz. | |
. | |
{"limit":50,"feed":"longpoll","since":2,"style":"all_docs","heartbeat":300000} | |
## | |
T 192.168.43.61:12345 -> 192.168.43.1:41493 [AP] | |
HTTP/1.1 200 OK. | |
Content-Type: application/json. | |
Server: Couchbase Sync Gateway/1.00. | |
Date: Tue, 24 Jun 2014 10:06:32 GMT. | |
Transfer-Encoding: chunked. | |
. | |
e. | |
{"results":[. | |
. | |
######### | |
T 192.168.43.1:59168 -> 192.168.43.61:12345 [AP] | |
POST /customers/_bulk_get?revs=true&attachments=true HTTP/1.1. | |
Content-Type: application/json. | |
Accept: multipart/related. | |
Content-Length: 224. | |
Host: 192.168.43.61:12345. | |
Connection: Keep-Alive. | |
Authorization: Basic YW1lbDphbWFkZXVz. | |
. | |
{"docs":[{"atts_since":null,"id":"d0509f01-1165-4418-ae94-1b75e0f93a5d","rev":"1-f697f6321b2f8440cc9856ea172f1e26"},{"atts_since":null,"id":"bcbce54e-d4ff-444f-8c90-509b7699c0fc","rev":"1-f697f6321b2f8440cc9856ea172f1e26"}]} | |
## | |
T 192.168.43.61:12345 -> 192.168.43.1:59168 [AP] | |
HTTP/1.1 200 OK. | |
Content-Type: multipart/mixed; boundary="fd37594b535df93307eda09cf5d74ea60bf04fb15ee5057a96a9af9c2bc8". | |
Server: Couchbase Sync Gateway/1.00. | |
Date: Tue, 24 Jun 2014 10:06:32 GMT. | |
Content-Length: 770. | |
. | |
--fd37594b535df93307eda09cf5d74ea60bf04fb15ee5057a96a9af9c2bc8. | |
Content-Type: application/json. | |
. | |
{"_id":"d0509f01-1165-4418-ae94-1b75e0f93a5d","_rev":"1-f697f6321b2f8440cc9856ea172f1e26","_revisions":{"ids":["f697f6321b2f8440cc9856ea172f1e26"],"start":1},"email":"amelie@amadeus.com","login":"amel","name":"Amelie","pwd":"amadeus","type":"crewUser"}. | |
--fd37594b535df93307eda09cf5d74ea60bf04fb15ee5057a96a9af9c2bc8. | |
Content-Type: application/json. | |
. | |
{"_id":"bcbce54e-d4ff-444f-8c90-509b7699c0fc","_rev":"1-f697f6321b2f8440cc9856ea172f1e26","_revisions":{"ids":["f697f6321b2f8440cc9856ea172f1e26"],"start":1},"email":"amelie@amadeus.com","login":"amel","name":"Amelie","pwd":"amadeus","type":"crewUser"}. | |
--fd37594b535df93307eda09cf5d74ea60bf04fb15ee5057a96a9af9c2bc8--. | |
######### | |
T 192.168.43.1:56379 -> 192.168.43.61:12345 [AP] | |
PUT /customers/_local/e9d0ce133a1f57ad954374473100be9e06a62a5e HTTP/1.1. | |
Accept: multipart/related, application/json. | |
Content-Length: 20. | |
Content-Type: application/json. | |
Host: 192.168.43.61:12345. | |
Connection: Keep-Alive. | |
Authorization: Basic YW1lbDphbWFkZXVz. | |
. | |
{"lastSequence":"2"} | |
## | |
T 192.168.43.61:12345 -> 192.168.43.1:56379 [AP] | |
HTTP/1.1 201 Created. | |
Content-Length: 78. | |
Content-Type: application/json. | |
Server: Couchbase Sync Gateway/1.00. | |
Date: Tue, 24 Jun 2014 10:06:34 GMT. | |
. | |
{"id":"_local/e9d0ce133a1f57ad954374473100be9e06a62a5e","ok":true,"rev":"0-1"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment