Hi,

So my customers have been informed that Cloudant is moving their shared 
cluster to a new IBM Cloud system. They want all my customers that are 
using the old Cloudant to transfer over to new IBM Cloud Cloudant service. 

The problem I'm facing now in relation to Couchbase Lite 1.4.x is that they 
have reduced the document request size from 64 MB down to only 1 MB.

This is causing a problem with attachments on my CBLDocuments.

If I attach a file that's more than 1 MB, I get a "request entity too 
large" error.

I used Charles Proxy to look at the request and it seems that Couchbase 
Lite is sending both the attachment and request body in one request. The 
attachment in the request is bounded.

But I though the Multipart Uploader was supposed to send attachments in a 
 separate request? I'm not seeing that in my testing with Charles.

What's interesting is when I look in Charles Proxy, I get this for the 
request in the top part of the screen:

PUT ... size = 192.58KB Status = Failed

But if I look at the request headers, I see this:

Content-Type multipart/related; 
boundary="18B75887-6450-4167-97C0-F2C47D37D700" 
Accept-Encoding br, gzip, deflate 
Connection keep-alive 
Accept */* 
User-Agent CouchbaseLite/1.3 (Mac OS X 1.4.1) 
Content-Length 1585013 
So the content length is more like 1.58 MB.

Is there a way to enable attachment uploads as separate requests in 
Couchbase Lite 1.4.1?

I'm using macOS High Sierra 10.13.1 and iOS 11.1.2

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/b0c5afaa-fbfe-45e6-944a-92981536d39f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to