https://github.com/couchbase/couchbase-lite-java-core/issues/126

On Wednesday, March 26, 2014 2:58:33 PM UTC+1, Traun Leyden wrote:
>
>
> Can you file a github issue and give instructions / code samples on how to 
> reproduce the issue?
>
> On Mar 26, 2014, at 5:24 AM, bpolan <bojan....@gmail.com <javascript:>> 
> wrote:
>
> I switched recently from TouchDb to couchbase lite. TouchDb handled larger 
> images ok while in current commit of couchbase-lite-android and 
> couhbase-lite-java-core it seems to be failing.
> Tested this on this version of java-core : 
> https://github.com/couchbase/couchbase-lite-java-core/commit/ca8af5286e344cd817f7be029d09f1a6c71bf975
>
> On touchDB images of size 200kb or more pass with no problem.
>
> When I try to upload an image (attachment) of size bigger than 10kb i get :
>
> 03-26 13:05:48.713: E/Database(3416): Got error 400
> 03-26 13:05:48.713: E/Database(3416): Request was for: 
> org.apache.http.client.methods.HttpPut@41611c38
> 03-26 13:05:48.713: E/Database(3416): Status reason: Bad Request
> 03-26 13:05:48.713: E/Database(3416): Exception uploading multipart request
> 03-26 13:05:48.713: E/Database(3416): 
> org.apache.http.client.HttpResponseException: Bad Request
> 03-26 13:05:48.713: E/Database(3416): at 
> com.couchbase.lite.support.RemoteRequest.executeRequest(RemoteRequest.java:152)
> 03-26 13:05:48.713: E/Database(3416): at 
> com.couchbase.lite.support.RemoteMultipartRequest.run(RemoteMultipartRequest.java:47)
> 03-26 13:05:48.713: E/Database(3416): at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
> 03-26 13:05:48.713: E/Database(3416): at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
> 03-26 13:05:48.713: E/Database(3416): at 
> java.lang.Thread.run(Thread.java:856)
> 03-26 13:05:48.713: E/Database(3416): Pusher@417fe6e8[http://xxx:xxx/xx] 
> Progress: set error = org.apache.http.client.HttpResponseException: Bad 
> Request
>
>  -- 
> 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 mobile-couchba...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mobile-couchbase/b9f3cacd-a2c8-4195-acd5-2f183bb8ed97%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/b9f3cacd-a2c8-4195-acd5-2f183bb8ed97%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/3983ca3c-407d-4c88-819f-71396a673120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to