Forgot to mention we're using CBL for iOS version 1.0.4.
On Thursday, April 14, 2016 at 1:53:05 PM UTC-7, David Quon wrote:
>
> Our replication has recently changed to a named replication by document ID
> similar to this.
>
> *self*.pullReplication.documentIDs = JSON;
>
> [*self*.pullReplication start];
>
>
> Where JSON is 1356 document ID's. Once we start the pull replication
> request we get the following error.
>
>
> 17:54:03.260‖ WARNING: CBLSocketChangeTracker[0x7af42800
> database_name_here]: Can't connect, giving up: Error Domain=CBLHTTP
> Code=414 "414 requested URL too long" UserInfo={LOTS OF DOC ID's HERE
> NSLocalizedFailureReason=requested URL too long, NSLocalizedDescription=414
> requested URL too long}
>
>
> While the reason for the error is obvious is there anything we can do to
> configure CBL to handle numerous document ID's or have CBL do the
> replication above in batches? If CBL cannot be configured to handle this
> many named document replication items is our best solution to make a
> batching system for requesting the named replication or are there any
> better solutions?
>
> Thanks for the help as always.
>
--
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/86fb6148-49bb-46e7-b1ad-b30b605d2735%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.