As well as the previous post, you can do the following, it seems nearer to your case (from asdoc - online):
check the protocol line in the following spec: <mx:HTTPService concurrency="multiple|single|last" contentType="application/x-www-form-urlencoded|application/xml" fault="No default." id="No default." method="GET|POST" <b> protocol="http|https"</b> result="No default." resultFormat="object|xml|flashvars|text" serviceName="No default." showBusyCursor="false|true" url="No default." useProxy="true|false" xmlEncode="No default." xmlDecode="No default." /> --- 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 > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >

