Skip to content

Instantly share code, notes, and snippets.

@npomfret
Created May 21, 2016 08:24
Show Gist options
  • Save npomfret/a28a7cff51639feca2e96a06700af030 to your computer and use it in GitHub Desktop.
Save npomfret/a28a7cff51639feca2e96a06700af030 to your computer and use it in GitHub Desktop.
2016-05-21 09:19:52.332 pomochat[23997:2794934] Launching Couchbase Lite...
09:19:52.335‖ Logging ChangeTracker, RemoteRequest, Sync, SyncVerbose, TDRouter, View to TTY
09:19:52.335‖ ### Couchbase Lite 1.2.1 (unofficial) ###
2016-05-21 09:19:52.344 pomochat[23997:2794934] Couchbase Lite url = http://macbookpro.home:5984/
headers:
{ Accept: 'application/json',
'Content-Type': 'application/json',
Authorization: 'Basic YWRtaW46cGFzcw==' } }, { type: 'default',
status: 412,
ok: false,
statusText: undefined,
headers:
{ map:
{ 'accept-ranges': [ 'bytes' ],
server: [ 'CouchbaseLite 1.2.1 (unofficial)' ],
'transfer-encoding': [ 'Identity' ],
'content-type': [ 'application/json' ],
date: [ 'Sat, 21 May 2016 08:19:52 GMT' ] } },
url: 'http://admin:pass@localhost:5984/pomochat_local',
_bodyInit: '{"status":412,"error":"file_exists"}',
_bodyText: '{"status":412,"error":"file_exists"}' }
09:19:52.377‖ Couchbase Lite using SQLite version 3.8.10.2 (2015-05-20 18:17:19 2ef4f3a5b1d1d0c4338f8243d40a2452cc1f7fe4)
09:19:52.473‖ SyncVerbose: CBLMultipartDocumentReader[_id="(null)"]: Finished loading (0 attachments)
password: '19c92d74-13e7-4c37-bc8a-20587a400e48',
sessionCookie: undefined }
headers:
{ Accept: 'application/json',
'Content-Type': 'application/json',
Authorization: 'Basic YWRtaW46cGFzcw==' } }, { type: 'default',
status: 412,
ok: false,
statusText: undefined,
headers:
{ map:
{ 'accept-ranges': [ 'bytes' ],
'content-length': [ '36' ],
server: [ 'CouchbaseLite 1.2.1 (unofficial)' ],
'content-type': [ 'application/json' ],
date: [ 'Sat, 21 May 2016 08:19:52 GMT' ] } },
url: 'http://admin:pass@localhost:5984/pomochat_c4ed2a23-a70e-4acb-8912-b22aa6751bf1',
_bodyInit: '{"status":412,"error":"file_exists"}',
_bodyText: '{"status":412,"error":"file_exists"}' }
09:19:52.511‖ View: dd_14/current_location: Attempting to compile javascript from design doc
09:19:52.525‖ View: dd_14/accounts_by_userid_view: Attempting to compile javascript from design doc
09:19:52.532‖ View: dd_14/all: Attempting to compile javascript from design doc
09:19:52.535‖ View: dd_14/public_profile_by_accountid_view: Attempting to compile javascript from design doc
09:19:52.549‖ View: dd_14/conflicts: Attempting to compile javascript from design doc
09:19:52.568‖ View: dd_14/latest_messages: Attempting to compile javascript from design doc
09:19:52.579‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] STARTING ...
09:19:52.585‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Reachability state = <139.59.180.64>:reachable (02), suspended=0
09:19:52.585‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Going online
09:19:52.585‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] Progress: set active = 1
09:19:52.585‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1)
09:19:52.585‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: GET _local/ade219568b027d46bb05927a1485379cae5a016a
09:19:52.586‖ RemoteRequest: CBLRemoteJSONRequest[GET http://139.59.180.64:4984/sync_gateway/_local/ade219568b027d46bb05927a1485379cae5a016a]: Starting...
09:19:52.586‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1)
09:19:52.587‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway] STARTING ...
09:19:52.591‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Reachability state = <139.59.180.64>:reachable (02), suspended=0
09:19:52.592‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Going online
09:19:52.592‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway] Progress: set active = 1
09:19:52.592‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1)
09:19:52.592‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: GET _local/b6cec4b5a72a39fe84174d9b93514b77406f26d7
09:19:52.593‖ RemoteRequest: CBLRemoteJSONRequest[GET http://139.59.180.64:4984/sync_gateway/_local/b6cec4b5a72a39fe84174d9b93514b77406f26d7]: Starting...
09:19:52.593‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1)
09:19:52.593‖ View: dd_14/chat_groups_view: Attempting to compile javascript from design doc
09:19:52.598‖ View: dd_14/attachments: Attempting to compile javascript from design doc
09:19:52.618‖ View: dd_14/public_profile_by_owner_view: Attempting to compile javascript from design doc
09:19:52.621‖ View: dd_14/chat_messages: Attempting to compile javascript from design doc
09:19:52.637‖ RemoteRequest: CBLRemoteJSONRequest[GET http://139.59.180.64:4984/sync_gateway/_local/b6cec4b5a72a39fe84174d9b93514b77406f26d7]: Got response, status 200
09:19:52.642‖ RemoteRequest: CBLRemoteJSONRequest[GET http://139.59.180.64:4984/sync_gateway/_local/b6cec4b5a72a39fe84174d9b93514b77406f26d7]: Finished loading
09:19:52.642‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Server is Couchbase Sync Gateway/1.2.1
09:19:52.642‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Replicating from lastSequence=1112
09:19:52.644‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Received 2 revs
09:19:52.644‖ SyncVerbose: *** CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: BEGIN processInbox (2 sequences)
09:19:52.644‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: POST _revs_diff
09:19:52.645‖ RemoteRequest: CBLRemoteJSONRequest[POST http://139.59.180.64:4984/sync_gateway/_revs_diff]: Starting...
09:19:52.645‖ SyncVerbose: *** CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: END processInbox (lastSequence=1112)
09:19:52.646‖ RemoteRequest: CBLRemoteJSONRequest[GET http://139.59.180.64:4984/sync_gateway/_local/ade219568b027d46bb05927a1485379cae5a016a]: Got response, status 200
09:19:52.646‖ RemoteRequest: CBLRemoteJSONRequest[GET http://139.59.180.64:4984/sync_gateway/_local/ade219568b027d46bb05927a1485379cae5a016a]: Finished loading
09:19:52.646‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Server is Couchbase Sync Gateway/1.2.1
09:19:52.647‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Replicating from lastSequence=3414
09:19:52.649‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] starting ChangeTracker: mode=3, since=3414
09:19:52.650‖ ChangeTracker: CBLWebSocketChangeTracker[0x7b1ac5e0 sync_gateway]: Starting...
09:19:52.651‖ SyncVerbose: CBLWebSocketChangeTracker[0x7b1ac5e0 sync_gateway]: GET //139.59.180.64:4984/sync_gateway/_changes?feed=websocket
09:19:52.652‖ ChangeTracker: CBLWebSocketChangeTracker[0x7b1ac5e0 sync_gateway]: Started... <http://139.59.180.64:4984/sync_gateway/_changes?feed=websocket>
09:19:52.677‖ RemoteRequest: CBLRemoteJSONRequest[POST http://139.59.180.64:4984/sync_gateway/_revs_diff]: Got response, status 200
09:19:52.677‖ RemoteRequest: CBLRemoteJSONRequest[POST http://139.59.180.64:4984/sync_gateway/_revs_diff]: Finished loading
09:19:52.677‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Setting lastSequence to 1113 (from 1112)
09:19:52.677‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: Setting lastSequence to 1114 (from 1113)
09:19:52.677‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway] Progress: set active = 0
09:19:52.677‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/0, active=0 (batch=0, net=0), online=1)
09:19:52.733‖ View: dd_14/live_chats_view: Attempting to compile javascript from design doc
accountId: '8cc7f7091a99515d1e4549a5e78948f5',
verifiedContactMethod: 'testaccount@snowmonkey.co.uk' }
09:19:52.755‖ View: dd_14/unread_receipt_view: Attempting to compile javascript from design doc
09:19:52.769‖ View: dd_14/read_receipts_by_chat_message_id: Attempting to compile javascript from design doc
09:19:52.772‖ ChangeTracker: CBLWebSocketChangeTracker[0x7b1ac5e0 sync_gateway]: caught up!
09:19:52.772‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Caught up with changes!
09:19:52.772‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] Progress: set active = 0
09:19:52.772‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/0, active=0 (batch=0, net=0), online=1)
09:19:52.827‖ View: dd_14/delivery_receipts_by_chat_message_id: Attempting to compile javascript from design doc
09:19:52.845‖ View: dd_14/read_receipts_count_view: Attempting to compile javascript from design doc
09:19:52.853‖ View: dd_14/delivery_receipts_count_view: Attempting to compile javascript from design doc
09:19:52.874‖ View: dd_14/undelivered_receipt_view: Attempting to compile javascript from design doc
09:19:57.681‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway] checkpointing sequence=1114
09:19:57.681‖ SyncVerbose: CBLRestPusher[http://139.59.180.64:4984/sync_gateway]: PUT _local/b6cec4b5a72a39fe84174d9b93514b77406f26d7
09:19:57.681‖ RemoteRequest: CBLRemoteJSONRequest[PUT http://139.59.180.64:4984/sync_gateway/_local/b6cec4b5a72a39fe84174d9b93514b77406f26d7]: Starting...
09:19:57.703‖ RemoteRequest: CBLRemoteJSONRequest[PUT http://139.59.180.64:4984/sync_gateway/_local/b6cec4b5a72a39fe84174d9b93514b77406f26d7]: Got response, status 201
09:19:57.703‖ RemoteRequest: CBLRemoteJSONRequest[PUT http://139.59.180.64:4984/sync_gateway/_local/b6cec4b5a72a39fe84174d9b93514b77406f26d7]: Finished loading
09:19:57.703‖ Sync: CBLRestPusher[http://139.59.180.64:4984/sync_gateway] saved remote checkpoint '1114' (_rev=0-3)
count: 5,
high: 47,
average: 21.4,
total: 107 }
count: 1,
high: 62,
average: 62,
total: 62 }
09:21:26.089‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/1, active=0 (batch=0, net=0), online=1)
09:21:26.089‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Received #3416 {-UMsXteZxlr5xRn8vHIEYjc #2-fd0bbf0c1c7b778800b036ef079235b0 DEL}
09:21:26.089‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] Progress: set active = 1
09:21:26.089‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/1, active=1 (batch=1, net=0), online=1)
09:21:26.090‖ SyncVerbose: *** CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: BEGIN processInbox (1 sequences)
09:21:26.090‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Looking up (
"{-UMsXteZxlr5xRn8vHIEYjc #2-fd0bbf0c1c7b778800b036ef079235b0 DEL}"
)
09:21:26.090‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] queuing remote revisions (
"{-UMsXteZxlr5xRn8vHIEYjc #2-fd0bbf0c1c7b778800b036ef079235b0 DEL}"
)
09:21:26.090‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] queued 1 remote revisions from seq=3416 (1 in bulk, 0 individually)
09:21:26.091‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: GET -UMsXteZxlr5xRn8vHIEYjc?rev=2-fd0bbf0c1c7b778800b036ef079235b0&revs=true&attachments=true
09:21:26.091‖ RemoteRequest: CBLMultipartDownloader[/sync_gateway/-UMsXteZxlr5xRn8vHIEYjc]: Starting...
09:21:26.091‖ SyncVerbose: *** CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: END processInbox (lastSequence=3414)
09:21:26.091‖ ChangeTracker: CBLWebSocketChangeTracker[0x7b1ac5e0 sync_gateway]: RESUME WebSocket
09:21:26.136‖ RemoteRequest: CBLMultipartDownloader[/sync_gateway/-UMsXteZxlr5xRn8vHIEYjc]: Got response, status 200
09:21:26.136‖ SyncVerbose: CBLMultipartDownloader[/sync_gateway/-UMsXteZxlr5xRn8vHIEYjc]: Finished loading (0 attachments)
09:21:26.136‖ SyncVerbose: CBLMultipartDocumentReader[_id="(null)"]: Finished loading (0 attachments)
09:21:26.137‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] inserting 1 revisions...
09:21:26.137‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] inserting -UMsXteZxlr5xRn8vHIEYjc ["2-fd0bbf0c1c7b778800b036ef079235b0", "1-794327aefc02a71ed268f3eeedd51ae3"]
09:21:26.138‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] finished inserting 1 revisions
09:21:26.138‖ CBL_Router: Sending longpoll response
09:21:26.138‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: Setting lastSequence to 3416 (from 3414)
09:21:26.139‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] inserted 1 revs in 0.002 sec (524.1/sec)
09:21:26.139‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] Progress: set active = 0
09:21:26.139‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (0/1, active=0 (batch=0, net=0), online=1)
09:21:26.139‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] Progress: 1 / 1
09:21:26.139‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: postProgressChanged (1/1, active=0 (batch=0, net=0), online=1)
_id: '-UMsXteZxlr5xRn8vHIEYjc',
_rev: '2-fd0bbf0c1c7b778800b036ef079235b0',
_revisions:
{ ids:
[ 'fd0bbf0c1c7b778800b036ef079235b0',
'794327aefc02a71ed268f3eeedd51ae3' ],
start: 2 } }
[ { seq: 1115,
id: '-UMsXteZxlr5xRn8vHIEYjc',
deleted: true,
doc:
{ _deleted: true,
_id: '-UMsXteZxlr5xRn8vHIEYjc',
_rev: '2-fd0bbf0c1c7b778800b036ef079235b0',
_revisions:
{ ids:
[ 'fd0bbf0c1c7b778800b036ef079235b0',
'794327aefc02a71ed268f3eeedd51ae3' ],
start: 2 } },
changes: [ { rev: '2-fd0bbf0c1c7b778800b036ef079235b0' } ] } ],
last_seq: 1115 }
09:21:31.142‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] checkpointing sequence=3416
09:21:31.142‖ SyncVerbose: CBLRestPuller[http://139.59.180.64:4984/sync_gateway]: PUT _local/ade219568b027d46bb05927a1485379cae5a016a
09:21:31.142‖ RemoteRequest: CBLRemoteJSONRequest[PUT http://139.59.180.64:4984/sync_gateway/_local/ade219568b027d46bb05927a1485379cae5a016a]: Starting...
09:21:31.167‖ RemoteRequest: CBLRemoteJSONRequest[PUT http://139.59.180.64:4984/sync_gateway/_local/ade219568b027d46bb05927a1485379cae5a016a]: Got response, status 201
09:21:31.167‖ RemoteRequest: CBLRemoteJSONRequest[PUT http://139.59.180.64:4984/sync_gateway/_local/ade219568b027d46bb05927a1485379cae5a016a]: Finished loading
09:21:31.168‖ Sync: CBLRestPuller[http://139.59.180.64:4984/sync_gateway] saved remote checkpoint '3416' (_rev=0-3)
count: 2,
high: 9,
average: 8.5,
total: 17 }
count: 2,
high: 9,
average: 8.5,
total: 17 }
09:21:52.630‖ View: Checking indexes of (dd_14/accounts_by_userid_view, dd_14/all, dd_14/attachments, dd_14/chat_groups_view, dd_14/chat_messages, dd_14/conflicts, dd_14/current_location, dd_14/delivery_receipts_by_chat_message_id, dd_14/delivery_receipts_count_view, dd_14/latest_messages, dd_14/live_chats_view, dd_14/public_profile_by_accountid_view, dd_14/public_profile_by_owner_view, dd_14/read_receipts_by_chat_message_id, dd_14/read_receipts_count_view, dd_14/undelivered_receipt_view, dd_14/unread_receipt_view) for dd_14/conflicts
09:21:52.632‖ View: Updating indexes of (dd_14/accounts_by_userid_view, dd_14/all, dd_14/attachments, dd_14/chat_groups_view, dd_14/chat_messages, dd_14/conflicts, dd_14/current_location, dd_14/delivery_receipts_by_chat_message_id, dd_14/delivery_receipts_count_view, dd_14/latest_messages, dd_14/live_chats_view, dd_14/public_profile_by_accountid_view, dd_14/public_profile_by_owner_view, dd_14/read_receipts_by_chat_message_id, dd_14/read_receipts_count_view, dd_14/undelivered_receipt_view, dd_14/unread_receipt_view) from #1114 to #1115 ...
09:21:52.633‖ View: ...Finished re-indexing (dd_14/accounts_by_userid_view, dd_14/all, dd_14/attachments, dd_14/chat_groups_view, dd_14/chat_messages, dd_14/conflicts, dd_14/current_location, dd_14/delivery_receipts_by_chat_message_id, dd_14/delivery_receipts_count_view, dd_14/latest_messages, dd_14/live_chats_view, dd_14/public_profile_by_accountid_view, dd_14/public_profile_by_owner_view, dd_14/read_receipts_by_chat_message_id, dd_14/read_receipts_count_view, dd_14/undelivered_receipt_view, dd_14/unread_receipt_view) to #1115 (deleted 3, added 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment