Do not know if it helps, but your crossdomain.xml is not correctly
formed... check this line:
<cross-domain-policy
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLoca
<allow-access-from domain="*" secure=""false/>
false should be inside the quotes, now i do not have a clue if this is
your problem :-) , but fix this first (which is possibly a problem
with strict/correct parsers ie possibly AIR?)
Fotis
--- In [email protected], vaidotas P <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I know, this error is very generic. I have read huge amount of
posts, comments about this, but still I don't have a solution.
>
> I start our AIR application, enter login and username trying to
login to https://192.168.3.38/flex.cgi. I get two security alerts
about untrusted issuer and not matching to name of website, but flex
lets to continue.
>
> I get error after issue of request:
> Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
https://192.168.3.38/flex.cgi" errorID=2032]. URL:
https://192.168.3.38/flex.cgi
>
> On server, in root dir I have crossdomain.xml file:
>
> <?xml version="1.0"?>
>
> <!DOCTYPE cross-domain-policy SYSTEM
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
>
> <cross-domain-policy
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLoca
> <allow-access-from domain="*" secure=""false/>
> <site-control permitted-cross-domain-policies="all"/>
> <allow-http-request-headers-from domain="*"
headers="*" secure="false"/>
> </cross-domain-policy>
>
>
> My https request looks like this:
> {
> var params:Object = new Object();
> params.username = "username";
> params.password = "password";
>
> var http:HTTPService = new HTTPService();
> http.url = "https://192.168.3.38";
> http.contentType = "application/xml";
> http.method = "POST";
> http.addEventListener(ResultEvent.RESULT, handleRes);
> http.addEventListener(FaultEvent.FAULT, handleFault);
> http.send(params);
> }
>
> This login request works fine on IE and FF (win vista). But not on
the AIR.
> On XP I dont have such issue, login on AIR works fine.
>
> May somebody has an idea, what is wrong with my code/configuration?
>
> thanks in advice,
> vaidotas
>