Giter Club home page Giter Club logo

Comments (15)

nrj avatar nrj commented on August 23, 2024

I am having the same issue. Uploading a file that is around 800KB and it hangs around 65-75% failing with the same timeout error.

from afamazons3manager.

vovodev avatar vovodev commented on August 23, 2024

same here

2013-07-23 11:37:08.629 Clutter[10401:907] 4.957713% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:08.631 Clutter[10401:907] 9.915425% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:08.633 Clutter[10401:907] 14.873137% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:08.634 Clutter[10401:907] 19.830851% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:08.921 Clutter[10401:907] 20.537710% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.126 Clutter[10401:907] 21.638247% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.334 Clutter[10401:907] 23.472578% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.338 Clutter[10401:907] 24.389441% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.548 Clutter[10401:907] 24.788561% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.552 Clutter[10401:907] 27.507982% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.561 Clutter[10401:907] 29.158333% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.751 Clutter[10401:907] 29.746273% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.765 Clutter[10401:907] 34.138439% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.775 Clutter[10401:907] 34.703987% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:37:09.779 Clutter[10401:907] 37.622513% Uploaded for img C7626E9B-D4DA-4B16-9772-8894A4EDF355.jpg
2013-07-23 11:38:09.777 Clutter[10401:907] Error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1cde2b30 {NSErrorFailingURLStringKey=http://myapp.s3.amazonaws.com/img, NSErrorFailingURLKey=http://myapp.s3.amazonaws.com/img, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x1cdd4070 "The request timed out."}

from afamazons3manager.

skwashua avatar skwashua commented on August 23, 2024

Any luck with this? Getting the exact same behaviour. Thanks!

from afamazons3manager.

brandontreb avatar brandontreb commented on August 23, 2024

Any progress? Mine is stopping at 7.8%?

from afamazons3manager.

chrisballinger avatar chrisballinger commented on August 23, 2024

I have the same problem 100% of the time. It gets to about 75% or so on each file (~600-700kb) and then craps out in the same way. :(

I was trying to avoid including aws-ios-sdk in my project but it looks like I might have to unless I can track down why it's failing here.

from afamazons3manager.

skwashua avatar skwashua commented on August 23, 2024

No luck on my end. I tried using the AWS SDK and am having the same result. So I don't expect it to be the library but possibly AWS configuration.

Are you using the security token? (or needing to?)

from afamazons3manager.

chrisballinger avatar chrisballinger commented on August 23, 2024

Ah... I am using a test IAM user who is provisioned to only have access to the bucket I am using. I'll try some stuff out and report back

from afamazons3manager.

skwashua avatar skwashua commented on August 23, 2024

Any luck Chris?

from afamazons3manager.

chrisballinger avatar chrisballinger commented on August 23, 2024

I ended up writing wrapper for Amazon's library: https://github.com/OpenWatch/OWS3Client

from afamazons3manager.

komocode avatar komocode commented on August 23, 2024

I started using the official SDK instead http://aws.amazon.com/sdkforios/
It worked for a while, then suddenly the same problem found on this project started happening on the official SDK.

from afamazons3manager.

mattt avatar mattt commented on August 23, 2024

As far as I can tell, this is an issue with AWS configuration (or maybe even NSURLConnection), rather than anything AFNetworking-specific.

If anyone can reproduce and has an idea on how to fix, I'd be interested to see that pull request.

Closing.

from afamazons3manager.

alexanderedge avatar alexanderedge commented on August 23, 2024

I'm not sure if anyone is interested, but I've managed to get uploading working using NSInputStream by setting the "Content-Length" header.

From http://docs.aws.amazon.com/AWSiOSSDK/latest/Classes/S3PutObjectRequest.html#//api/name/stream:

The stream from which to read the object to be uploaded. To use the stream you must explicitly set the content length.

from afamazons3manager.

holgersindbaek avatar holgersindbaek commented on August 23, 2024

I'm having exact same error here. Anybody managed to find out how to fix it? Either through Amazons configuration or...?

from afamazons3manager.

chrisballinger avatar chrisballinger commented on August 23, 2024

I've found Amazon's own SDK to be the most reliable, although their code is
full of Java/Enterprise coding patterns.

On Fri, Feb 6, 2015 at 10:53 AM, holgersindbaek [email protected]
wrote:

I'm having exact same error here. Anybody managed to find out how to fix
it? Either through Amazons configuration or...?


Reply to this email directly or view it on GitHub
#21 (comment)
.

from afamazons3manager.

elsurudo avatar elsurudo commented on August 23, 2024

Also having this issue. Nobody has found a workaround yet?

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.