Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

putObjectWithFile: returns NSURLErrorDomain -1012 with AFNetworking 2.5.3 + AFAmazonS3Manager 3.2.1 #90

Open
fitch opened this issue May 13, 2015 · 4 comments

Comments

@fitch
Copy link

fitch commented May 13, 2015

I started getting NSURLErrorDomain -1012 on every putObjectWithFile: call (Xcode 6.3.1 + Swift + iOS 8.3 on iPhone 6) when I upgraded AFNetworking to 2.5.3.

File upload failed with error: Error Domain=NSURLErrorDomain Code=-1012
"The operation couldn’t be completed. (NSURLErrorDomain error -1012.)

With AFNetworking 2.5.2 it works fine. I'm using AFAmazonS3Manager and AFNetworking with CocoaPods 0.36.3 along with these pods:

Using AFAmazonS3Manager (3.2.1)
Using AFNetworking (2.5.2)
Using Firebase (2.2.2)
Using SDWebImage (3.7.2)
Using SVProgressHUD (1.1.3)
Using UIAlertController+Blocks (0.9)
@fitch fitch mentioned this issue May 13, 2015
@skylinezum
Copy link

Any update on this? My code was working up until when 2.5.3 came out and now I get this same error.

@orangewise
Copy link

I have the same problem. It works fine with AFNetworking 2.5.2.

@maxmeyers
Copy link

Still seeing this issue with AFNetworking 2.6.0.

@allenzyq
Copy link

Still seeing this issue with AFNetworking 3.0.4.
cocopod tips me AFnet ~>2.4 ??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants