Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): Mac
Affected OS(s): Mac OS 10.6
Browser: Safari
Language Found: English
Description
Tested on OSX 10.6.6
AIR 2.5.1.17750
Flash 10,2,152,33
Flex SDK 4.1
I created a small test AIR application to show the issue (see attachment). The test app is able to upload multiple files to our DAM solution (elvis). The sample works very simple:
1. Click the "Select files to upload button"
2. Select a few dummy files on your system to upload
3. All files will upload fine, no issue at all.
Now I changed the OSX network configuration to use a an automatic proxy (AIR uses OSX proxy settings). I used a squid proxy to test this, but you can use just any. In my case the proxy server runs on ip 192.168.72.87, port 6666, the PAC file is very simple:
// Proxy.pac
function FindProxyForURL(url, host) {
return "PROXY 192.168.72.87:6666";
}
Now I perform the same steps as described before and almost all files fail to upload (8 or 9 out of 10 files fail with: "Error #2038: File I/O Error").
Now comes the strange part, it is not at all releated to the proxy itself... it still fails when I don't use my proxy at all in the PAC file, i.e. when it looks like this:
// NoProxy.pac
function FindProxyForURL(url, host) {
return "DIRECT"'
}
It works correctly in other cases:
1. When I don't use a PAC file but specify the proxy directly via: Web Proxy (HTTP).
2. When running a slightly different version of this test app as Flex app in Safari (Safari also uses OSX proxy settings).
3. On Windows (with or without PAC files).
So that leads me to the conclusion that FileReference upload combined with a PAC proxy network configuration is failing on OSX. But maybe I'm missing something here, please advise...