I have I guess unfixable issue with Nacl bouild project and Amazon S3 storage.
I build a demo app and build it as NaCl, and decided to test it according to Technique 3 from https://developers.google.com/native-client/devguide/devcycle/running . I modified manifest.json, put it on my local webserver, and it works. Yeah!
But when I upload all the files to Amazon S3 (published via CloudFront), modified manifest.json accordingly to location, webplayer starts loading, but after some time (regular DL ~45 MB), result is “Nexe crashed.” Using inspector in Chrome I found that it won’t load “libstdc++.so” with “AccessDenied” error.
After some checking, testing and digging around, according to Amazon S3 documentation, I found out that S3 requires URL Encoded requests for all characters except “a-z”, “0-9”, “.”, “-”, “_”.(dot, dash, underscore).
“libstdc++.so” should be requested in encoded form as “libstdc%2B%2B.so”
Request for somedomain.com.
should be somedomain.com
I tested that manually in browser, and 1st link returns AccessDenied, while 2nd link returns requested file.
Since loading of NaCl support files is not something I can tamper with, there is a need for some kind of fix or workaround (guessing I’m not only one using NaCl and S3)
Regards, jurigo