Giter Club home page Giter Club logo

Comments (6)

bdittmer avatar bdittmer commented on July 21, 2024

This is something I'm running into as well...but only on 3G.

from afamazons3manager.

stevemckenzie avatar stevemckenzie commented on July 21, 2024

Did you resolve this?

I'm getting something similar but I do not see ANY upload progress and after about a minute, it just times out.

Error Domain=NSURLErrorDomain Code=-1001 "The request timed out."

from afamazons3manager.

aaronvegh avatar aaronvegh commented on July 21, 2024

I can corroborate this problem as well. http://stackoverflow.com/questions/10508848/uploading-to-amazon-s3-via-afnetworking

I'd sure love to see some help with this...

from afamazons3manager.

aaronvegh avatar aaronvegh commented on July 21, 2024

I wonder if a test project would assist. I put together this super-simple app that tries to upload a large-ish file to an S3 bucket. It hangs at the 1-3% range. You'll need to supply your own AWS credentials in the app delegate as indicated.

https://dl.dropbox.com/u/2798577/AFAmazonTest.zip

from afamazons3manager.

drunkhacker avatar drunkhacker commented on July 21, 2024

I have a same problem. And it seems that there's a problem with NSURLConnection's callback connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:.

When I issue a S3 PUT request only using NSURLConnection, progress goes up to around 240KB, and stalled. So completion callback never called, and after that timeout callback is called.

But, funny thing is that when the request is sent by synchronous way (using sendSynchronousRequest), it works well.

from afamazons3manager.

mattt avatar mattt commented on July 21, 2024

There was an issue in AFNetworking with requests over 3G timing out or failing with "exhausted upload stream". This has since been fixed with AFNetworking 1.0. Details about how to deal with this are documented here: AFStreamingMultipartFormData -throttleBandwidthWithPacketSize:delay:

from afamazons3manager.

Related Issues (20)

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.