Comments (15)
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.
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.
Any luck with this? Getting the exact same behaviour. Thanks!
from afamazons3manager.
Any progress? Mine is stopping at 7.8%?
from afamazons3manager.
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.
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.
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.
Any luck Chris?
from afamazons3manager.
I ended up writing wrapper for Amazon's library: https://github.com/OpenWatch/OWS3Client
from afamazons3manager.
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.
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.
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.
I'm having exact same error here. Anybody managed to find out how to fix it? Either through Amazons configuration or...?
from afamazons3manager.
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.
Also having this issue. Nobody has found a workaround yet?
from afamazons3manager.
Related Issues (20)
- Can't connect with Using SSE-C HOT 1
- OSX 10.10 upload image to s3 'method not allowed' HOT 1
- Request failed: forbidden (403) while using putObjectWithFile HOT 2
- Invalid Image URL (Not Opening as Web URL)
- Updates for AFNetworking 3 HOT 9
- PUT doesn't set a proper mimetype
- Move import of AFAmazonS3ResponseSerializer.h to AFAmazonS3Manager.h
- uploading problem
- All requests return 403 when the device time is off by more than 15 minutes
- EUWest2 not supported
- Complier Warning: "Auto property synthesis will not synthesize property" HOT 1
- Can't upload HOT 4
- Upload stops when phone goes to sleep and not resuming
- `putObjectWithFile:` returns NSURLErrorDomain -1012 with AFNetworking 2.5.3 + AFAmazonS3Manager 3.2.1 HOT 4
- Can't change content type of PUT file from octet/stream to image/jpeg HOT 4
- percent encoding in URL
- How to cancel AFAmazonS3Manager uploading process HOT 1
- XCode7/iOS9 download issues kCFStreamErrorDomainSSL
- XCode7/iOS9 download issues kCFStreamErrorDomainSSL HOT 1
- For some reason getObjectWithPath method from AFAmazonS3Manager is not working properly. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afamazons3manager.