Hi, I'm using Cloudant (porter server in London, which is CouchDB 2.0) and I'm trying to sync a document which has multiple attachments. One of the attachments is 300 MB big.
But I'm getting timeout errors during the sync: *16:13:33.489*‖* Sync: CBLRestPusher[https://myaccount.cloudant.com/db-757c0197a63d47e48a9d98e2ca7c2042]: postProgressChanged (18/19, active=1 (batch=0, net=1), lastSeq=24441, online=1, error=(null))* *16:13:33.489*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Queuing CBLMultipartUploader[PUT https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false] (multipart, 294046kb)* *16:13:33.489*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Starting CBLMultipartUploader[PUT https://**myaccount.cloudant.com* */db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false]* *16:13:33.490| Sync: CBLReplication[to https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: active, progress = 18 / 19, err: (null)* *16:16:34.035*‖* CBLMultipartUploader[PUT https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false]: Got error NSURLError[-1001, "The request timed out.", <https://* *myaccount.cloudant.com* */db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false>]<--CFCFNetworkError[-1001]* Does the multi-part uploader stream the uploads? Or maybe it has a too small timeout value for lunch a large attachment? Eventually it fails and tries again: *2016-07-22 16:22:48.942 Tap Forms 5[50460:1656131] Error pushing: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x6180000499f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false, NSErrorFailingURLKey=https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}* *16:23:48.968*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042] RETRYING, to transfer missed revisions...* *16:23:48.968*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042] Progress: set error = (null)* *16:23:48.968*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: postProgressChanged (19/19, active=0 (batch=0, net=0), lastSeq=24441, online=1, error=(null))* *16:23:48.968*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042] Progress: set active = 1* *16:23:48.968*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: postProgressChanged (19/19, active=1 (batch=0, net=1), lastSeq=24441, online=1, error=(null))* *16:23:48.968*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Successfully logged in!* *16:23:48.969*‖* Sync: <CBLRemoteSession: 0x6100000896f0>: GET /db-757c0197a63d47e48a9d98e2ca7c2042/_local/cedcc5f683575f3f19dcfa63bd370d7866b59d46* *16:23:48.969*‖* DEALLOC CBLRemoteLogin[https://**myaccount.cloudant.com* */db-757c0197a63d47e48a9d98e2ca7c2042]* *16:23:48.969| Sync: CBLReplication[to https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: active, progress = 19 / 19, err: (null)* *16:23:49.726*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Replicating from lastSequence=24441* *16:23:49.734*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Received 1 revs* *16:23:49.734*‖* Sync: *** CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: BEGIN processInbox (1 sequences)* *16:23:49.734*‖* Sync: <CBLRemoteSession: 0x6100000896f0>: POST /db-757c0197a63d47e48a9d98e2ca7c2042/_revs_diff* *16:23:49.734*‖* Sync: *** CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: END processInbox (lastSequence=24441)* *16:23:49.903*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: postProgressChanged (19/20, active=1 (batch=0, net=1), lastSeq=24441, online=1, error=(null))* *16:23:49.903*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Queuing CBLMultipartUploader[PUT https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false] (multipart, 294046kb)* *16:23:49.903*‖* Sync: CBLRestPusher[https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: Starting CBLMultipartUploader[PUT https://**myaccount.cloudant.com* */db-757c0197a63d47e48a9d98e2ca7c2042/rec-369c3e967cef48e69c7ccf9acde51299?new_edits=false]* *16:23:49.903| Sync: CBLReplication[to https://**myaccount.cloudant.com**/db-757c0197a63d47e48a9d98e2ca7c2042]: active, progress = 19 / 20, err: (null)* I'm hoping that eventually it will work and the file will be synced. Thanks, Brendan -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/899f6500-f939-4396-a791-a0b4cf07bfc7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
