{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/933","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/933/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/933/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/933","id":109465247,"number":933,"title":"Manage NSPOSIXErrorDomain while replicate","user":{"login":"desarrollospyro","id":3349914,"avatar_url":"https://avatars.githubusercontent.com/u/3349914?v=3","gravatar_id":"","url":"https://api.github.com/users/desarrollospyro","html_url":"https://github.com/desarrollospyro","followers_url":"https://api.github.com/users/desarrollospyro/followers","following_url":"https://api.github.com/users/desarrollospyro/following{/other_user}","gists_url":"https://api.github.com/users/desarrollospyro/gists{/gist_id}","starred_url":"https://api.github.com/users/desarrollospyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desarrollospyro/subscriptions","organizations_url":"https://api.github.com/users/desarrollospyro/orgs","repos_url":"https://api.github.com/users/desarrollospyro/repos","events_url":"https://api.github.com/users/desarrollospyro/events{/privacy}","received_events_url":"https://api.github.com/users/desarrollospyro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/needsmoreinfo","name":"needsmoreinfo","color":"0052cc"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/reproduce/investigate","name":"reproduce/investigate","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-02T10:09:04Z","updated_at":"2015-10-13T06:50:52Z","closed_at":null,"body":"We are using CouchbaseLite 1.1.1 feature and CouchDB 1.6.1. We have the next error log several times, not always, when we replicate a database. \r\n```\r\n[1714:1631035] WARNING: CBLSocketChangeTracker[0x146640850 db_name]: Can't connect, giving up: Error Domain=NSPOSIXErrorDomain Code=54 \"Connection reset by peer\"\r\n[1714:1631035] Replication: CBL_Puller[http://db_url/db_name] took 225.045 sec; error=Error Domain=NSPOSIXErrorDomain Code=54 \"Connection reset by peer\"\r\n```\r\nThe app continue running but not CouchbaseLite and we can not do nothing. We want to manage this error or let to CouchbaseLite manage it and let the replication run.\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/comments/147623586","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/933#issuecomment-147623586","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/933","id":147623586,"user":{"login":"desarrollospyro","id":3349914,"avatar_url":"https://avatars.githubusercontent.com/u/3349914?v=3","gravatar_id":"","url":"https://api.github.com/users/desarrollospyro","html_url":"https://github.com/desarrollospyro","followers_url":"https://api.github.com/users/desarrollospyro/followers","following_url":"https://api.github.com/users/desarrollospyro/following{/other_user}","gists_url":"https://api.github.com/users/desarrollospyro/gists{/gist_id}","starred_url":"https://api.github.com/users/desarrollospyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desarrollospyro/subscriptions","organizations_url":"https://api.github.com/users/desarrollospyro/orgs","repos_url":"https://api.github.com/users/desarrollospyro/repos","events_url":"https://api.github.com/users/desarrollospyro/events{/privacy}","received_events_url":"https://api.github.com/users/desarrollospyro/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T06:50:52Z","updated_at":"2015-10-13T06:50:52Z","body":"We are using one-shot replication. Some errors stop the replication but another ones don't. When we have more traces we post here.\r\nThanks."}}