GithubHelp home page GithubHelp logo

Timeouts upon uploading attachments about trombi HOT 5 CLOSED

inoi avatar inoi commented on August 14, 2024
Timeouts upon uploading attachments

from trombi.

Comments (5)

truemped avatar truemped commented on August 14, 2024

A little update: I think I have narrowed down the problem to the filesize. I am not able to upload anything with more than 1000000 bytes. I am almost sure that this is a problem of the AsyncHTTPClient/pycurl interface.

So my main question for the time being remains: has anyone been able to upload an attachment with more than 1 MB?

from trombi.

nailor avatar nailor commented on August 14, 2024

I haven't hit limits with CouchDBs attachment uploading. What CouchDB do you use?

And apparently there's a bug in Document.attach, it does not handle any errors properly. I've added #11 to separate it from here, as they might be separate issues.

from trombi.

truemped avatar truemped commented on August 14, 2024

I am using CouchDB 1.0.2 built from source using couch(io/one/base)'s build-couchdb script.

If I upload the attachment via Futon everything works, which is why I don't think it is a CouchDB problem...

from trombi.

nailor avatar nailor commented on August 14, 2024

I created a small script to test the problem: https://gist.github.com/834928

I tried with 1M and 2M files, both working ok. Can you tell more about your setup? Does your app involve uploading files to a tornado instance and sending them to trombi?

from trombi.

truemped avatar truemped commented on August 14, 2024

Yes, thanks for all the effort. The script just works on my side, so the problem must come from some other part of my code (unfortunately :)).

Closing this and thank you again for your help!
Daniel

from trombi.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.