{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/2087","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/2087/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/2087/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/2087/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/2087","id":302106763,"number":2087,"title":"Swift DB22 and SG2.0: Failed to receive completed message","user":{"login":"jayzhanghs","id":18294900,"avatar_url":"https://avatars1.githubusercontent.com/u/18294900?v=4","gravatar_id":"","url":"https://api.github.com/users/jayzhanghs","html_url":"https://github.com/jayzhanghs","followers_url":"https://api.github.com/users/jayzhanghs/followers","following_url":"https://api.github.com/users/jayzhanghs/following{/other_user}","gists_url":"https://api.github.com/users/jayzhanghs/gists{/gist_id}","starred_url":"https://api.github.com/users/jayzhanghs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayzhanghs/subscriptions","organizations_url":"https://api.github.com/users/jayzhanghs/orgs","repos_url":"https://api.github.com/users/jayzhanghs/repos","events_url":"https://api.github.com/users/jayzhanghs/events{/privacy}","received_events_url":"https://api.github.com/users/jayzhanghs/received_events","type":"User","site_admin":false},"labels":[{"id":80440876,"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/P1:%20high","name":"P1: high","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"pasin","id":801454,"avatar_url":"https://avatars1.githubusercontent.com/u/801454?v=4","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false},"assignees":[{"login":"pasin","id":801454,"avatar_url":"https://avatars1.githubusercontent.com/u/801454?v=4","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/milestones/22","html_url":"https://github.com/couchbase/couchbase-lite-ios/milestone/22","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/milestones/22/labels","id":2252283,"number":22,"title":"2.0.0","description":"All-new all-singing all-dancing.\r\nNew API.\r\nNew implementation based on couchbase-lite-core (LiteCore).\r\n\r\nDUE DATE IS A PLACEHOLDER","creator":{"login":"snej","id":43241,"avatar_url":"https://avatars2.githubusercontent.com/u/43241?v=4","gravatar_id":"","url":"https://api.github.com/users/snej","html_url":"https://github.com/snej","followers_url":"https://api.github.com/users/snej/followers","following_url":"https://api.github.com/users/snej/following{/other_user}","gists_url":"https://api.github.com/users/snej/gists{/gist_id}","starred_url":"https://api.github.com/users/snej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snej/subscriptions","organizations_url":"https://api.github.com/users/snej/orgs","repos_url":"https://api.github.com/users/snej/repos","events_url":"https://api.github.com/users/snej/events{/privacy}","received_events_url":"https://api.github.com/users/snej/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":131,"state":"open","created_at":"2017-01-15T01:09:37Z","updated_at":"2018-03-09T21:54:50Z","due_on":"2018-02-28T08:00:00Z","closed_at":null},"comments":27,"created_at":"2018-03-04T18:04:27Z","updated_at":"2018-03-13T17:55:10Z","closed_at":"2018-03-09T21:54:50Z","author_association":"NONE","body":"I upgraded the CBL from DB21 to DB22 two days ago, and upgraded the sync gateway to 2.0. But now my sync always got stuck and cannot move ahead when the Replication is about to finish. It appears all documents have been downloaded but I just never got the replication completed message. \r\n\r\nDB21/SG1.5 works just fine though.\r\n\r\n{code}\r\n2018-03-04 13:00:05.871505-0500 companyNameHD[92330:21258031] CouchbaseLite default log level is Verbose and above\r\n2018-03-04 13:00:05.883991-0500 companyNameHD[92330:21258031] CouchbaseLite SQL Info: DROP INDEX IF EXISTS \"convertedTypeIndex\"\r\n2018-03-04 13:00:05.884439-0500 companyNameHD[92330:21258031] CouchbaseLite SQL Info: DROP TABLE IF EXISTS \"kv_default::convertedTypeIndex\"\r\n2018-03-04 13:00:05.884607-0500 companyNameHD[92330:21258031] CouchbaseLite SQL Info: CREATE INDEX \"convertedTypeIndex\" ON kv_default (fl_value(body, 'converted'), fl_value(body, 'entityType'))\r\n2018-03-04 13:00:05.888568-0500 companyNameHD[92330:21258380] INFO    couchbase sync server: sync-staging.companyName.com\r\n2018-03-04 13:00:05.889384-0500 companyNameHD[92330:21258031] CouchbaseLite BLIP Info: {Connection#1}==> litecore::blip::Connection ->wss:sync-staging.companyName.com:4984/db/_blipsync\r\n2018-03-04 13:00:05.889492-0500 companyNameHD[92330:21258031] CouchbaseLite BLIP Info: {Connection#1} Opening connection...\r\n2018-03-04 13:00:05.890473-0500 companyNameHD[92330:21257999] INFO    couchbase replicator: 0/0, error: nil, activity = connecting (#0, in-progress 0.0s)\r\n2018-03-04 13:00:06.397502-0500 companyNameHD[92330:21257999] CouchbaseLite BLIP Info: {Connection#1} Connected!\r\n2018-03-04 13:00:13.926294-0500 companyNameHD[92330:21258028] INFO    couchbase replicator: 0/2, error: nil, activity = busy (#2, in-progress 8.0s)\r\n2018-03-04 13:03:44.672140-0500 companyNameHD[92330:21262334] TIC Read Status [10:0x0]: 1:57\r\n2018-03-04 13:03:44.672268-0500 companyNameHD[92330:21262334] TIC Read Status [10:0x0]: 1:57\r\n\r\n[Then got stuck here for ever]\r\n{code}\r\n\r\n--------\r\n* Version:   2.0\r\n* Client OS: iOS 11\r\n* Server:    SG 2.0\r\n"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/comments/372759377","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/2087#issuecomment-372759377","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/2087","id":372759377,"user":{"login":"snej","id":43241,"avatar_url":"https://avatars2.githubusercontent.com/u/43241?v=4","gravatar_id":"","url":"https://api.github.com/users/snej","html_url":"https://github.com/snej","followers_url":"https://api.github.com/users/snej/followers","following_url":"https://api.github.com/users/snej/following{/other_user}","gists_url":"https://api.github.com/users/snej/gists{/gist_id}","starred_url":"https://api.github.com/users/snej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snej/subscriptions","organizations_url":"https://api.github.com/users/snej/orgs","repos_url":"https://api.github.com/users/snej/repos","events_url":"https://api.github.com/users/snej/events{/privacy}","received_events_url":"https://api.github.com/users/snej/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T17:55:10Z","updated_at":"2018-03-13T17:55:10Z","author_association":"MEMBER","body":"Did you remember to update submodules (recursively)?"}}
{"actor":{"display_login":"snej"}}