OK so...
I changed the password to use only lowercase letters. No difference.
I shortened the password to 10 characters and numbers all lower case characters. No difference.
All scripts work on Android and Windows. All but the error log upload script works on iOS.
I'm not sure how the iPhone 5s user got it to work and the 4s folks are having an issue.
The AppGameKit code works fine. The script works fine.
If I take off password protection then the error log uploader works fine in the iOS simulator.
Server logs don't seem to help, just show a 401 access denied to the script.
It's definitely some where between iOS and the password protection.
This will make testing a little more annoying, but I can set it up so that there is a script for iOS testers that calls to a non protected directory for sending the error logs. I do not want that to stay that way for production though, so I might have to shut off the feature for iOS until a fix is done by the folks at AGK.
Would you mind testing this out on your server with iOS?
You should be able to see the async requests working just fine, but the send file requests not working.
What's also interesting is if I take the output from xcode the:
http://<username>:<password>@www.wordspionagedb.com/ws/910_senderrorreport.php
and I just plug it in to a browser then I connect to the file just fine, the script fails appropriately, but I connect.
So what is iOS doing to that URL that is preventing the transfer?
I know that when I call OpenBrowser with "mailto:support@wordspionage.com" that I had to change it for iOS to "mailto:
//support@wordspionage.com" otherwise it would open the mail setup and not a new mail message.
So I wonder if iOS is stripping everything after the colon sometimes...Or before it? Or encoding the colon , but we don't see that happening in xcode's output window?
I've no clue, but it might be a good guess...