I’ve tested my credentials and security settings, I can successfully upload a file using the access key I provided in a third-party tool, so I’ve ruled that out as a possibility.
This is what I get in the console:
MainFrameActions: Packaging (HTML5): HTML5Platform.UploadToS3Worker: Could not connect to S3, incorrect S3 Keys? System.Net.WebException: The remote server returned an error: (400) Bad Request.
MainFrameActions: Packaging (HTML5): at System.Net.HttpWebRequest.GetResponse()
MainFrameActions: Packaging (HTML5): at HTML5Platform.UploadToS3Worker(FileInfo Info, String KeyId, String AccessKey, String BucketName, String FolderName)
I thought that maybe because my bucket was called “my.bucket” that the ‘.’ could be causing some kind of formatting issue, so I created a second bucket called “mybucket”. Setup the security for it and now I get a different error when trying to upload:
MainFrameActions: Packaging (HTML5): HTML5Platform.UploadToS3Worker: Could not connect to S3, incorrect S3 Keys? System.Net.WebException: The remote server returned an error: (403) Forbidden.
MainFrameActions: Packaging (HTML5): at System.Net.HttpWebRequest.GetResponse()
MainFrameActions: Packaging (HTML5): at HTML5Platform.UploadToS3Worker(FileInfo Info, String KeyId, String AccessKey, String BucketName, String FolderName)
So now its a 403, changing over to the other bucket goes back to a 400. No clue…
Any ideas?