1 2 3 Previous Next 82 Replies Latest reply on May 3, 2016 8:39 AM by Aktet-by Go to original post
      • 40. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
        chris.campbell Adobe Employee

        For those running into this error, could you please add a new bug to bugbase.adobe.com and post back with a link so that others can cast their votes?  In the bug, please include sample source code and a full description, including a link to this thread.

         

        Thanks,

        Chris

        • 42. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
          jamesfin

          I had a similar issue for iOS and determined that our web server certificate wasn't valid.  After updating the certificate, the 2032 no longer happens.

          • 43. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
            ertr2

            Um....The point of My Question is 'Not working URLLoader in Local Network'...

            For Example, When url is http://ertr2.mireene.com, URLLoader is good working in AIR 2.5,

            but when url is http://192.168.0.10 , URLLoader is not working in this platform...

            important point, this problem is appeared in IOS and Android development.

            Finally I had solved this problem, not used local network(http://192.168......)  and using external network(exist server).

             

            URLLoader is not working in localhost or internal network!!

            • 44. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
              chris_emerson

              Help! 

               

               

              I have a traditional URLLoader/URLRequest setup that loads an external XML file.

               

              It works flawlessly in the AIR Launcher ... but when I try on my device it fails... giving me this message over the remote debug session:

              "...text=Error #2032: Stream Error. URL: app:/assets/xml/projects.xml"

               

              I've even tried changing my code to use the File.applicationDirectory approach. But once again,... it only works in the AIR Launcher... not on the device!

               

              What am I missing? Anyone have a clue?  Thanks in advance for anyone who can help or hint!

              • 45. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                chris.campbell Adobe Employee

                Hi Chris,

                If you're still having an issue with this, could you post your code so I can take a look and try it out?

                 

                Thanks,

                Chris

                • 46. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                  chrispeck303

                  Hi

                   

                  Another Chris to add to the mix.

                   

                  I'm getting the same error. Im trying to convert a rather large web project to an Air for Mobile project in Flash Builder 4.5.

                   

                  I have Air SDK 3.0 and Flex 4.5.1 and whilst my URL request work fine running via the desk top, it encounters IOError 2032 when running on the device.

                   

                  Does anyone have a fix?

                   

                  All the best

                   

                  ChrisP.

                  • 47. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                    chris.campbell Adobe Employee

                    Chris,

                    Is this happening on iOS or Android?

                     

                    Chris

                    • 48. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                      chrispeck303 Level 1

                      Hi Chris

                       

                      I'm using a Galaxy S2 running Android 2.3.3 for device debugging.

                       

                      As far as the code is concerned there isn't much to it when it finally sends the request.

                       

                      public function send (params:URLVariables, method:String="GET") : void

                      {

                          var req:URLRequest = new URLRequest(url);

                          req.method = method;

                          req.data = params;

                          addToQueue(req);

                      }

                       

                      then when dequeued

                       

                      urlLoader.load(req);

                       

                      My current theory is that it encounters an invalid SSL Certificate, though I would have thought android would spit out a warning. My system's guys are investigating that avenue. Otherwise, I'm a bit stuck.

                       

                      Any advice would be appreciated.

                       

                      All the best

                       

                      Chris.

                      • 49. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                        chrispeck303 Level 1

                        Hi Chris

                         

                        Don't worry about this one. My bad. There was a firewall issue blocking requests to our dev servers from the phone.

                         

                        Thanks for your time all the same.

                         

                        ChrisP.

                        • 50. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                          chris.campbell Adobe Employee

                          Hi Chris,

                          Np, and thanks for the update.  Glad you got it working.

                           

                          Chris

                          • 51. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                            tolga_erdogus

                            Chris Campbell,

                             

                            from my post at http://forums.adobe.com/thread/943234, here is the code that reproduces this bug with Flash Builder 4.6/Air 3.1 (essentially if you load any valid https url in to UrlLoader in Flash Builder it works, however in the Android Emulator (I don't have a physical device) it gives an IOError 2032) - I see a certificate error in adb logcat but not sure if it is the cause:

                             

                            <?xml version="1.0" encoding="utf-8"?>

                            <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

                                                xmlns:s="library://ns.adobe.com/flex/spark"

                                                xmlns:mx="library://ns.adobe.com/flex/mx"

                                                xmlns:ns1="*"

                                                xmlns:local="*"

                                                creationComplete="windowedapplication1_creationCompleteHandler(event)"

                                                actionBarVisible="true" tabBarVisible="true">

                                      <fx:Script>

                                                <![CDATA[

                                                          import mx.events.FlexEvent;

                             

                                                          protected var requestTokenUrl:String = "https://www.google.com";

                             

                                                          protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void

                                                          {

                             

                                                                    var loader:URLLoader = new URLLoader();

                             

                                                                    loader.addEventListener(ErrorEvent.ERROR, onError);

                                                                    loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);

                                                                    loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

                                                                    loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);

                                                                    loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

                             

                                                                    var urlRequest:URLRequest = new URLRequest(requestTokenUrl);

                             

                             

                                                                    loader.load(urlRequest);

                                                          }

                             

                                                          protected function requestTokenHandler(event:Event):void

                                                          {

                                                          }

                             

                                                          protected function httpResponse(event:HTTPStatusEvent):void

                                                          {

                                                                    label.text += event.status;

                                                                    // TODO Auto-generated method stub

                                                          }

                             

                             

                             

                                                          private function completeHandler(event:Event):void {

                                                                    label.text += event.toString();

                                                                    trace("completeHandler data: " + event.currentTarget.data);

                                                          }

                             

                                                          private function openHandler(event:Event):void {

                                                                    label.text +=  event.toString();

                                                                    trace("openHandler: " + event);

                                                          }

                             

                                                          private function onError(event:ErrorEvent):void {

                                                                    label.text +=  event.toString();

                                                                    trace("onError: " + event.type);

                                                          }

                             

                                                          private function onAsyncError(event:AsyncErrorEvent):void {

                                                                    label.text += event.toString();

                                                                    trace("onAsyncError: " + event);

                                                          }

                             

                                                          private function onNetStatus(event:NetStatusEvent):void {

                                                                    label.text += event.toString();

                                                                    trace("onNetStatus: " + event);

                                                          }

                             

                                                          private function progressHandler(event:ProgressEvent):void {

                                                                    label.text += event.toString();

                                                                    trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);

                                                          }

                             

                                                          private function securityErrorHandler(event:SecurityErrorEvent):void {

                                                                    label.text +=  event.toString();

                                                                    trace("securityErrorHandler: " + event);

                                                          }

                             

                                                          private function httpStatusHandler(event:HTTPStatusEvent):void {

                                                                    label.text += event.toString();

                                                                    //label.text += event.responseHeaders.toString();

                                                                    trace("httpStatusHandler: " + event);

                                                          }

                                                          private function httpResponseStatusHandler(event:HTTPStatusEvent):void {

                                                                    label.text +=  event.toString();

                                                                    trace("httpStatusHandler: " + event);

                                                          }

                                                          private function ioErrorHandler(event:IOErrorEvent):void {

                                                                    label.text +=  event.toString();

                                                                    label.text += event.text;

                                                                    trace("ioErrorHandler: " + event);

                                                          }

                             

                             

                                                ]]>

                                      </fx:Script>

                             

                             

                                      <fx:Declarations>

                                                <!-- Place non-visual elements (e.g., services, value objects) here -->

                                      </fx:Declarations>

                                      <s:Label id="label" y="185" width="100%" color="#0A0909" horizontalCenter="0" text=""/>

                            </s:View>

                            • 52. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                              Murtaza_Ghodawala Level 1

                              Hi Chris Campbell,

                               

                              I am using Flash Builder 4.6/AIR 3.1.0. I am using RESTful web service to get XML results and to display on my mobile application. I am getting the same below error when accessing the webservice from mobile app (Android - Galaxy Tab 7 inch).

                               

                              Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error # 2032"] URL: http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-context-root/jersey/re stlabEmployeeDetails-context-root/jersey/restlab

                               

                              The same code is working in Flash Builder 4.6 Android emulator. I have checked Network Monitor to "Disabled" before deploying to mobile. What am i doing wrong here? I am pasting my code below-

                               

                               

                              <?xml version="1.0" encoding="utf-8"?>
                              <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:dao="dao.*"
                                xmlns:mx="library://ns.adobe.com/flex/mx">

                              <fx:Script>
                                <![CDATA[
                                 import mx.collections.ArrayCollection;
                                 import mx.collections.IList;
                                 import mx.collections.XMLListCollection;
                                 import mx.events.FlexEvent;
                                 import mx.rpc.events.FaultEvent;
                                 import mx.rpc.events.ResultEvent;
                                 import mx.rpc.xml.SimpleXMLDecoder;
                                 import mx.utils.ArrayUtil;
                                
                                 import valueObjects.EmployeeDetail;
                                 [Bindable]
                                 private var myXml:XML;
                                
                                 [Bindable]
                                 public var resultCollection:IList;
                                 public function handleXml(event:ResultEvent):void
                                 {
                                  var xmlListCollection:XMLListCollection = new XMLListCollection(event.result.children());
                                  var xmlListCollectionValues:XMLListCollection = new XMLListCollection(event.result.emp.children());
                                  var resultArray:Array = xmlListCollection.toArray();
                                  var resultArrayValues:Array = xmlListCollectionValues.toArray();
                                 
                                 
                                  var objEmployeeDetails:EmployeeDetail;
                                  var resultCollection:ArrayCollection = new ArrayCollection();
                                 
                                  var j:int = 0;
                                  for(var i:int=0;i<resultArray.length;i++){
                                  
                                   objEmployeeDetails = new EmployeeDetail();
                                   objEmployeeDetails.brand = resultArrayValues[j];
                                   objEmployeeDetails.division = resultArrayValues[j+1];
                                   objEmployeeDetails.email = resultArrayValues[j+2];
                                   objEmployeeDetails.employee_name = resultArrayValues[j+3];
                                   objEmployeeDetails.employee_number = resultArrayValues[j+4];
                                   objEmployeeDetails.grade = resultArrayValues[j+5];
                                   objEmployeeDetails.mobile = resultArrayValues[j+6];
                                   objEmployeeDetails.position = resultArrayValues[j+7];
                                  
                                   j = j + 8;
                                   resultCollection.addItem(objEmployeeDetails);
                                  
                                  }
                                  list.dataProvider = resultCollection;
                                  //return resultCollection;
                                 }
                                
                                 public function handleFault(event:FaultEvent):void
                                 {
                                  //Alert.show(event.fault.faultDetail, "Error");             
                                 }
                                
                                 protected function sesrchEmployee():void
                                 {
                                  xmlRpc.send();
                                 }

                                
                                ]]>
                              </fx:Script>


                              <fx:Declarations>
                                <dao:EmployeeDAO id="srv"/>
                               
                                <mx:HTTPService id="xmlRpc"
                                    url="http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-context-root/jersey/re stlab"
                                    result="handleXml(event)"
                                    fault="handleFault(event)"
                                    resultFormat="e4x" showBusyCursor="true">
                                 <mx:request xmlns="">
                                  <data>{key.text}</data>
                                  <data>{key1.text}</data>
                                 </mx:request>
                                </mx:HTTPService>
                               
                               
                              </fx:Declarations>

                              <s:navigationContent/>

                              <s:titleContent>
                                <s:VGroup width="100%">
                                <s:HGroup width="100%">
                                 <s:Label top="40" paddingTop="10" paddingRight="13" height="29" text="Employee Name:"/>
                                 <s:TextInput id="key" width="559"/>
                                </s:HGroup>
                                <s:HGroup width="100%">
                                 <s:Label height="30" paddingTop="10" text="Employee Number:"/>
                                 <s:TextInput id="key1" width="100%"/>
                                </s:HGroup>
                               
                                </s:VGroup>
                              </s:titleContent>

                              <s:actionContent>
                                <s:Button icon="@Embed('assets/search.png')" click="sesrchEmployee()"/> 
                              </s:actionContent>

                              <s:List id="list" top="0" bottom="0" left="0" right="0" 
                                 change="navigator.pushView(EmployeeDetails, list.selectedItem)">
                                <s:itemRenderer>
                                 <fx:Component>
                                  <s:IconItemRenderer label="{data.employee_name}"
                                       messageField="position">
                                  </s:IconItemRenderer>
                                 </fx:Component>
                                </s:itemRenderer>
                              </s:List>

                              </s:View>

                               

                              Appreciate your quick response in this regard.

                               

                              Thanks,

                               

                              Murtaza Ghodawala

                              Mobile: +965 97180549

                              murtaza.ghodawala@alshaya.com

                              • 53. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                chris.campbell Adobe Employee

                                Hi Murtaza and tolga,

                                Could you both create new bugs (and please include the sample code you've added here) over at bugbase.adobe.com?  Please post back with the bug URL's once they've been created.  I encourage anyone else running into these problems to please visit the bug and vote/comment as appropriate.

                                 

                                Thanks,

                                Chris

                                • 54. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                  Murtaza_Ghodawala Level 1

                                  Hi Chris,

                                   

                                  Please find the below bug URL -

                                   

                                  https://bugbase.adobe.com/index.cfm?event=bug&id=3083203

                                   

                                  Appreciate your quick response in fixing this issue as soon as possible. Thanks.

                                   

                                  Thanks,

                                   

                                  Murtaza Ghodawala

                                  Mobile: +965 97180549

                                  murtaza_ghoda82@hotmail.com

                                  • 55. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                    tolga_erdogus Level 1

                                    Chris - I had already created one: https://bugbase.adobe.com/index.cfm?event=bug&id=3082218

                                     

                                    Though - i must say that this is a type of error that seems to be happening with a lot of people (on and off with some potential fixes and regressions since 2.X) and is in the URLLoader network stack.  It basically is in the critical path of any internet based Air app.

                                     

                                    Call me crazy, but I would say this bug is critical enough to just skip a democratized vote process and fix ASAP.  And in all honesty, there isn't enough Adobe activity in the forums for people to keep the faith and come back to vote for bugs.  From the outside, just by looking at the Adobe employee activity in forums, there seems to be a "pause" of Adobe Air right now.  It is sad because it is by far the coolest and most productive cross platform/device development environment. I am barely hanging on to the idea of building an Air app even though it is so poweful. I made a tremendous amount of progress in the first 3 days of starting to build my app and it has been on hold for 2 weeks after that.

                                    • 56. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                      blogtom Level 1

                                      You may need to add an "anti cache" var like this:

                                       

                                      requestServer = new URLRequest("http://www.example.com/yourfile.xml?nocache=" + new Date().getTime());

                                       

                                      Hope this helps.

                                      • 57. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                        banzai76_

                                        I'd been getting similar https and urlloader-related #2032 errors, but they seem fixed when I compile with AIR 3.3 from the Adobe Labs site (in conjunction with Flex 4.6).

                                        • 58. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                          Suat Korkmaz

                                          I too get this error on FB 4.6 + AIR 3.5. Trying to get this working on iPad 5.1. Also tested on iOS 6.0 device. No luck.

                                           

                                          My code is simple:

                                           

                                          var loader:URLLoader = new URLLoader();

                                           

                                          loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);

                                          loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

                                          loader.addEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler, false, 0, true);

                                           

                                          var request:URLRequest = new URLRequest("https://somedomain/loginUser.jsp");

                                          request.manageCookies = true;

                                           

                                          var vars:URLVariables = new URLVariables("userName=" + usn + "&pword=" + pwd + "&LOGIN=LOGIN&operation=CPLOGIN");

                                           

                                          request.data = vars;

                                          loader.load(request);

                                           

                                           

                                          This code works on iPad emulator but not on iPad itself.

                                           

                                          Any help will be appreciated.

                                          My Best,

                                          Suat

                                           

                                           

                                          EDIT: I am also getting:

                                          IDS_CONSOLE_SANDBOX

                                          IDS_CONSOLE_NOT_PERMITTED

                                          • 59. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                            banzai76_ Level 2

                                            Do you have a valid security certificate for the domain of the URL you are calling? If you don't, it will fail. This is a known AIR for iOS bug.

                                             

                                            If you can use the same code to successfully download a file from that domain using http (not https), then this would likely be the explanation.

                                            • 60. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                              Suat Korkmaz Level 1

                                              Thank you for your reply.

                                               

                                              I added an image file to the root of the domain and downloaded it. No problems.

                                               

                                              We debug'ed the backend side. The loginUser.jsp file clearly returns 302 status with a redirection url but I receive this as an ioError. This is totally strange.

                                               

                                              AFAIK the cert I use is valid. A few developers are using it with no problems but of course this dows not mean that it is valid. I'll check it.

                                               

                                              I don't know what to do next.

                                              Any further help will be appreciated too.

                                               

                                              My Best,

                                              Suat

                                              • 61. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                banzai76_ Level 2

                                                I would suggest as next steps:

                                                 

                                                1. Download that image file again, this time using https. If that works then you know that there are no security problems.

                                                2. If possible, submit the login details directly to whatever URL you are trying to redirect to, and see if that works?

                                                • 62. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                  Suat Korkmaz Level 1

                                                  1. I downloaded the file with https with success. No problems at all.

                                                  2. I tried this. Result is the same. ioError.

                                                   

                                                  Thanks again.

                                                  • 63. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                    Suat Korkmaz Level 1

                                                    The last post says that https calls are not allowed in Adobe Air. Tell me that it is not true.

                                                     

                                                    http://stackoverflow.com/questions/10249793/problems-with-https-on-ipad-from-air-app

                                                    • 64. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                      banzai76_ Level 2

                                                      That isn't true.

                                                       

                                                      HTTPS is supported in AIR, including on iOS. I'm using it in development right now with exactly the same code as you. There are live apps in the itunes app store that use it, but there also a lot of posts around like this one where people are having trouble.

                                                       

                                                      In the test where you submitted data directly to the redirected url, can you see what the server log says it is returning? i.e. does it it receive the request and respond correctly?

                                                       

                                                      I'm out of ideas really. Maybe you could it on an android phone and try it from a swf hosted on the website? Just to see if the code works in those situations?

                                                      • 65. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                        Suat Korkmaz Level 1

                                                        I didin't like it but i soved the issue another way. I created a StageWebView and moved it outside the stage. Made the https call with it and thats all. Cookie created. All other services are now accessible.

                                                         

                                                        Thanks for your help banzai. I'm appreciated.

                                                        • 66. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                          Fathah Noor Level 1

                                                          My previous problem was similar like what you've had, and finally today the problem is solved!

                                                           

                                                          I simply replace File.documentsDirectory.resolvePath("blablabla").nativePath into File.documentsDirectory.resolvePath("blablabla").url

                                                          • 67. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                            Suat Korkmaz Level 1

                                                            Can you please post the whole code?

                                                            • 68. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                              Fathah Noor Level 1

                                                              I think our problem is somewhat different? CMIIW

                                                              I was responding to comments from chris_emerson particularly on this section:

                                                              "I've even tried changing my code to use the File.applicationDirectory approach. But once again,... it only works in the AIR Launcher... not on the device!"

                                                              • 69. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                Fatche

                                                                I know it's quite a late reply but I'll just add the following for future reference.

                                                                I was having a very similar problem but with a desktop app, one specific request I'd used for a long time stopped working and I would always get the generic 2032 error.

                                                                This was with a standalone Air app, using 3.1. After going through tons of posts and trying to figure out what was going on I finally solved it by simply cleaning all caches from my browsers (chrome, safari and firefox). It might seem silly since it's a standalone app but it did work.

                                                                Hope it may help someone with this problem.

                                                                • 70. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                  72Pantera Level 1

                                                                  Vote? for a bug fix? How about just fix it?  Still present in 3.9.

                                                                   

                                                                  Air is dead. The pace of bug fixes and features has slowed to a crawl.

                                                                  • 71. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                    sherif.elshazli

                                                                    We're still experiencing this bug occasionally.


                                                                    We are using URLLoader to communicate with a php server. This happens under AIR 15 beta downloaded from adobe labs, on iOS, during the login call.

                                                                    We can see in the server's logs that the response has been dispatched OK but it just doesn't reach the app. After a while, around 1 min, the IOError StreeamError comes with status 0.

                                                                    This never happened on the first app install. It reproduces more often when closing the app during the login call, and restarting.

                                                                    The php server is hosted with Amazon and we'd never experienced any problems with them.

                                                                    The call is http not https.

                                                                    • 72. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                      chris.campbell Adobe Employee

                                                                      Sherif.elshazli,

                                                                      Can we start a new thread?  This one is 4 years old and has conflicting information.  When adding the new forum post, please feel free to reference this thread and please include a link to your bug report.

                                                                       

                                                                      Thanks,

                                                                      Chris

                                                                      • 73. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                        Yozef0 Level 1

                                                                        Sounds like this thread is still open. I wonder how active the community still is..

                                                                         

                                                                        I will narrow down the Issue. AIR 3.4 Flex 3.6.

                                                                        var loader:URLLoader = new URLLoader();

                                                                          loader.addEventListener(Event.COMPLETE, resultUpdatedNotificationsEvent);

                                                                          loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); // <-- This gets fired with a IOError id 2032

                                                                          loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler); // <-- then this gets status : 0

                                                                          loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

                                                                         

                                                                        var request:URLRequest = new URLRequest('https://

                                                                         

                                                                        loader.load(request);

                                                                         

                                                                        On Mac - All Ok... runs well.

                                                                        On Window - I get the IOErrorEvent.IO_ERROR event. How come?

                                                                        • 74. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                          chris.campbell Adobe Employee

                                                                          Hi Yozef0,

                                                                          Can you try this out with AIR 19?  If it still happens, please open a bug report at https://bugbase.adobe.com and attach a sample project.  Once added, please let me know the bug number and I'll have someone take a look.

                                                                           

                                                                          Thanks,

                                                                          Chris

                                                                          • 75. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                            Yozef0 Level 1

                                                                            Good day Chris, I've updated Flash Builder and installed AIR 19.0 SDK.

                                                                            The issue still persists. I have attached an .fxp project which describes the issue with Bug #: 4069486

                                                                             

                                                                            The API calls work on Macintosh, however not on Windows machines.

                                                                            • 76. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                              ivanp2689695 Level 1

                                                                              Also doesn't work on iPad 2,1 ios 9.0.2 with Air  SDK 19.0.0.190

                                                                               

                                                                              _request = new URLRequest( url );
                                                                              _request.method = URLRequestMethod.GET;

                                                                              variables.receipt = InAppBilling.service.applicationReceipt.getAppReceipt();
                                                                              _request.data = variables;
                                                                              _loader.addEventListener( HTTPStatusEvent.HTTP_STATUS , httpStatusHandler );
                                                                              _loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                                                                              _loader.addEventListener( IOErrorEvent.IO_ERROR , onLoader_IOError );
                                                                              _loader.dataFormat = URLLoaderDataFormat.TEXT;
                                                                              _loader.load( _request );

                                                                              • 77. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                                ivanp2689695 Level 1

                                                                                Problem is with apps compiled for iOS 9 requesting comms via unsecure links.

                                                                                 

                                                                                Fix

                                                                                <!--
                                                                                Fixing IOError #2032 caused by ATS in iOS9 for Adobe AIR applications.
                                                                                More: http://htmlspank.tumblr.com/post/130674234457/ioerror-2032-ios9-adobe-air-and-ats
                                                                                //-->
                                                                                <InfoAdditions>
                                                                                <![CDATA[
                                                                                <key>NSAppTransportSecurity</key>
                                                                                <dict>
                                                                                <key>NSExceptionDomains</key>
                                                                                <dict>
                                                                                <key>yourapiurl.com</key>
                                                                                <dict>
                                                                                <key>NSIncludesSubdomains</key>
                                                                                <true/>
                                                                                <key>NSExceptionAllowsInsecureHTTPLoads</key>
                                                                                <true/>
                                                                                </dict>
                                                                                </dict>
                                                                                </dict>
                                                                                ]]>
                                                                                </InfoAdditions>

                                                                                 

                                                                                More here

                                                                                spank/ — IOError #2032, iOS9, Adobe Air and ATS

                                                                                • 78. Re: URLLoader doesn't work(IOError #2032) in AIR SDK version 2.5
                                                                                  Samita1990

                                                                                  Please let me know as soon as possible for this because i am way behind with my timeline.

                                                                                   

                                                                                  Regards,

                                                                                  Sam