-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No errors but fails to upload #1
Comments
Am getting this error in the callback: Error Domain=ASIHTTPRequestErrorDomain Code=1 "A connection failure occurred" UserInfo=0x1024c70 {NSUnderlyingError=0x1023a20 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1005.)", NSLocalizedDescription=A connection failure occurred} |
Right then, managed to successfully upload on the simulator (not tried on device yet) but I had to allow everyone upload permissions - which seems daft to me as I set the keys. Any help much appreciated. |
Hi Ian. Your bucket needs a bucket policy to control read/write access. You could either create a "grantee" of "Everyone" and add a upload/delete policy. Or you can create a bucket policy object. I'm using a policy on mine, and deleted the grantee. Here's what my object looks like for my public bucket:
The only action needed is You can create policies using the policy generator. This article is helpful: Try that and tell me if it works. If not, I'll try to debug further. |
Hi, [EDIT: Both environments are the same, 2.1.0 latest titanium etc, same XCODE etc] I am at a complete loss! |
if anyone on this thread is still interested in this module, pull down the latest version and try it again. It works now well on iOS and Android :-) |
Hi, just installed this, got it working no problems except that it will start the upload I get a progress in the console but then nothing, sometimes the one progress notice I get will be 0.00001 etc and sometimes a -0.000468928483 I'm guessing I should be seeing multiple progress notices? There is no other debug messages. I'm running this on 2.1 SDK iOS 5.1
The text was updated successfully, but these errors were encountered: