Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion

I keep on getting this error while connecting to amfphp. Any idea what might be the problem?
Code:
private function init(e:Event = null):void
            responder = new Responder(onResult, onFault);
            connection = new NetConnection;
            connection.connect(gateway);
            sendData_btn.addEventListener(MouseEvent.CLICK, getData);
        private function getData(event:MouseEvent):void
            connection.call("UserVO.getUserData", responder);
        private function onResult(result:Object):void
            trace("Result");
        private function onFault(fault:Object):void
            trace("Fault");

I am testing the HelloWorld AMFPHP example from AMFPHP's website. There's a strange problem though. If i run the application from within the Flash IDE, I get this error:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at Main()
But if I publish the application and run it in browser, it runs fine. What might be the problem?

Similar Messages

  • Error #2044: Unhandled StatusEvent:. level=error, code=

    Hi all,
         I am using LocalConnection method to communicate between SWFs. But sometime flash player throws this error "Error #2044: Unhandled StatusEvent:. level=error, code=".
    I put the code in try-catch block. I have added listeners for (STATUS, ASYNC_ERROR, SECURITY_ERROR). But still i am getting the above error. This is not happen always.
    Any ideas?

    it always happens in Mac OS - firefox browser.

  • AIR3.5 for iOS & f4v & iPad, Error #2044: Unhandled NetStatusEvent

    Hello,
    Now, I have to try to play the video on iPad2.
    The video file is f4v.
    But this error occurs
    Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound
    This is my environment
    Flash CS6
    AIR3.5
    iPad2 iOS6
    Use StageVideo
    RenderMode - Direct
    I was able to play flv and mp4 with the same code.
    Only when using the f4v, that error occurs.
    My question is
    Can I play f4v on AIr for iOS ?
    Where is documentation for it?

    thanks random.
    I tryed to change extension. so I was able to play.
    but...
    I had to embed the video cuepoint. the event does not occur at the cue point.
    can't use cuepoint ?

  • Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

    I get this error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Here is my code:
    import fl.transitions.*;
    import fl.transitions.easing.*;
    //Assign CLICK listeners for each menu button
    Home.addEventListener (MouseEvent.CLICK, buttonClicked);
    Big_Square_Baling.addEventListener (MouseEvent.CLICK, buttonClicked);
    Wrapping.addEventListener (MouseEvent.CLICK, buttonClicked);
    Chopping.addEventListener (MouseEvent.CLICK, buttonClicked);
    Tillage.addEventListener (MouseEvent.CLICK, buttonClicked);
    Raking.addEventListener (MouseEvent.CLICK, buttonClicked);
    //Make the buttons look like buttons
    Home.buttonMode = true;
    Big_Square_Baling.buttonMode = true;
    Wrapping.buttonMode = true;
    Chopping.buttonMode = true;
    Tillage.buttonMode = true;
    Raking.buttonMode = true;
    //This loader is used to load the external swf files
    var loader:Loader;
    //URLRequest stores the path to the file to be loaded
    var urlRequest:URLRequest;
    //This array holds all the tweens, so they
    //don't get garbage collected
    var tweens:Array = new Array();
    //Stores the current page we are displaying
    var currentPage:MovieClip = null;
    //Stores the next page that we are going to display
    var nextPage:MovieClip = null;
    //This function is called when a menu button is clicked
    function buttonClicked (e:Event):void {
    //Create a new loader instance
    loader = new Loader();
    //If we clicked the first button, we load the the Home page
    if (e.target == Home) {
    urlRequest = new URLRequest("Home.swf");
    loader.load (urlRequest);
    //If we clicked the second button, we load the Big Square Baling page
    else if (e.target == Big_Square_Baling) {
    urlRequest = new URLRequest("Big_Square_Baling.swf");
    loader.load (urlRequest);
    //We load the Big Square Bale Wrapping page since we know that the home page or the Big Square Baling page
    //is not clicked
    else if (e.target == Wrapping) {
    urlRequest = new URLRequest("Wrapping.swf");
    loader.load (urlRequest);
    //We load the Chopping page since we know that the home page, the Big Square Baling page, or the
    //Big Square Bale Wrapping page is not clicked
    else if (e.target == Chopping) {
    urlRequest = new URLRequest("Chopping.swf");
    loader.load (urlRequest);
    //We load the Tillage page since we know that that the home page, the Big Square Baling page, the
    //Big Square Bale Wrapping page, and the Chopping page is not clicked
    else if (e.target == Tillage) {
    urlRequest = new URLRequest("Tillage.swf");
    loader.load (urlRequest);
    //We load the Raking page since we know that the home page, the Big Square Baling page, the
    //Big Square Bale Wrapping page the Chopping page, and the Tillage page is not clicked
    else {
      urlRequest = new URLRequest("Raking.swf");
      loader.load (urlRequest);
    //We want to know when the next page is finished loading
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, fileLoaded);
    //This function is called, when we have finished loading a content page
    function fileLoaded(e:Event):void {
    //The loader contains the page we are going to display.
    nextPage = e.target.content;
    //Let's animate the current page away from the stage.
    //First, we need to make sure there is a current page on the stage.
    if(currentPage != null) {
      //Tween the current page from left to the right
      var tweenX:Tween = new Tween(currentPage, "x", Regular.easeOut,
          currentPage.x, 500, 1, true);
      //Decrease the alpha to zero
      var tweenAlpha:Tween = new Tween(currentPage, "alpha", Regular.easeOut,
          1, 0, 1, true);
      //Push the tweens into an array
      tweens.push(tweenX);
      tweens.push(tweenAlpha);
      //currentPageGone will be called when the tween is finished
      tweenX.addEventListener(TweenEvent.MOTION_FINISH, currentPageGone);
    //There is no current page, so we can animate the next
    //page to the stage. The animation is done in
    //the showNextPage function.
    else {
      showNextPage();
    //This function animates and displayes the next page
    function showNextPage():void {
      //Tween the next page from left to the center
      var tweenX:Tween = new Tween(nextPage, "x", Regular.easeOut,
          -200, 0, 1, true);
      //Tween the alpha to from 0 to 1
      var tweenAlpha:Tween = new Tween(nextPage, "alpha", Regular.easeOut,
          0, 1, 1, true);
      //Push the tweens into an array
      tweens.push(tweenX);
      tweens.push(tweenAlpha);
      //Add the next page to the stage
      addChild(nextPage);
      //Next page is now our current page
      currentPage = nextPage;
    //This function is called when the current page has been animated away
    function currentPageGone(e:Event):void {
    //Remove the current page completely
    removeChild(currentPage);
    //Let's show the next page
    showNextPage();

    To help figure out what's wrong, you can use an absolute path to your SWF files. (Such as "C:/Program Files/My Project/MySWF.swf") If the error goes away, then the filename is correct and there is simply some confusion as to where the local path is. Remember that the parent project (your main.swf) should be in the exact same directory as the SWFs being loaded)
    ~Plystire

  • Help with this ! Error #2044: Unhandled ioError:. text=Error #2035:

    Okay,
    I'm green and new to Flash and making a website so this may not be a huge issue to some.
    I'm trying to make a simple image gallery  with the UI Loader.( 9 thumbnail images with main image above it)
    I'm following a Lynda.com CS3 video tutorial if that helps. It seems straightforward enough.
    I have everything properly assigned (buttons, the loader) and this is the basic actionscript code to get the first two images to appear:
    btn1.addEventListener(MouseEvent.CLICK, ldr1)
    function ldr1(e:Event){
        ldr.source = "Images01.jpg";
    btn2.addEventListener(MouseEvent.CLICK,ldr2)
    function ldr2(e:Event){
        ldr.source = "Images02.jpg";
    When I test the movie I get this error :
    Error #2044: Unhandled ioError:. text=Error #2035: URL Not Found.
    I have the flash file and the swf file saved in the same folder as the images (as the video instructs) but it seems Flash cannot read or find my external hard drive. I also remade the file and resaved everything on my computers main hard drive and it still cannot find my folder.
    Please help. I know this is probably an easy issue but again, I'm new and any help would be great.
    Thanks,
    Mike

    I'm not familiar with the way you're loading images (what class is "ldr" an instance of?), but the error is straightforward. You somehow misspelled the image name (caps, maybe in the extension?) or you're referring to a folder that doesn't contain that image.
    I usually debug these kind of errors with Tamper Data, an addon for Firefox. Run it, then run your sfw (in a browser) and see what the location is of the called images. That should give you an idea on what's going wrong.
    Oh and btw, e is not an Event but a MouseEvent. Though I don't think that produced the error in this case.

  • Need help with Error #2044: Unhandled securityError:.

    Hi,
    I am developing an AIR+AJAX app and I am using sockets to connect to the ftp server and just checking whether the app is able to connect to the ftp server successfully, check the user name and password and return with a message.
    It connects and displays the following error after 15 seconds or so:
    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: app:/index.html cannot load data from www.mydomain.in:21.
    at flash.html::HTMLLoader/nativeOnMouseUp()
    at flash.html::HTMLLoader/invokeMouseUpImpl()
    at flash.html::HTMLLoader/onLeftMouseUp()
    How can I take care of this? The app needs to connect to the ftp server often. This error is shown when I am in preview mode.
    This is absolutely essential for me to take care of this because the app will check any number of domains and connect using sockets. Is there anyway to suppress these errors. I have heard of air.Security but how exactly should I use in this regard.
    Please help.
    Gaurav

    Hi Gaurav,
    I'm not sure exactly what kind of documentation you are looking for.
    The live docs language reference pages have sections for Events and Error for each API. You can see there what events or errors a class or any given function may dispatch, and treat them accordingly.
    (http://help.adobe.com/en_US/AS3LCR/Flash_10.0/index.html)
    Here is a resource on error events for ActionScript:
    http://livedocs.adobe.com/flex/3/html/help.html?content=11_Handling_errors_10.html
    I don't know if you're aware of this, but even if an AS3 API does not have an alias in AIRAliases, it can still be accessed via the runtime property:
    runtime.<package-name>.<class/function> (ex. runtime.flash.events.ErrorEvent)
    You might want to also have a look at this book:
    http://onair.adobe.com/files/AIRforJSDevPocketGuide.pdf
    See the Troubleshooting AIR Applications section (and the "Missing event listeners for error events" subsection)
    Regarding the file upload.
    I think the FileStream is the API you are looking for.
    The live docs for FileStream should have pretty good examples on reading from a file. I think the 'readBytes' function is the one you should be looking at.
    The above book contains a File API section - you can look at "Asynchronously Read Text from a File" for a streamlined file reading process.
    You will probably want to read binary files, but the process is similar. Subsitute the 'readMultiByte' function, which returns a string, with the 'readBytes' function, which reads binary data into a ByteArray.
    You will then write the data read into the byte array to the socket.
    Also, there is a sample on Adobe Labs called KeePIPE, demonstrating the use of new networking APIs in AIR 2. It might be too complicated, and not map exactly to what you're looking for, but you can have a look at:
    js/SendChannel.js : App.SendChannel.prototype.sendFile function.
    Source Code: http://download.macromedia.com/pub/labs/air/2/b2/samples/keepipe.zip
    Samples Page: http://labs.wip3.adobe.com/technologies/air2/samples/
    Hope this helps.
    Horia

  • Error #2044 Unhandled IO ErrorEvent

    Hello. I have am getting the error:
    Error #2044: Unhandled IOErorEvent:. textError #2035: URL Not Found.
    option images/1a.jpg
    I can't for the life of me figure out why I am getting this error because in the same programming I have the same picture loaded in a different place and it comes up fine. And I don't know what it means by "option".
    Here is the code the error is comming from:
    rawImage = xd.subject[subNum].imgURL;
    imageHolder = new MovieClip;
    imageLoader = new Loader;
    imageLoader.load(new URLRequest(rawImage));
    imageHolder.addChild(imageLoader);
    imageHolder.x = 128;
    imageHolder.y = 165;
    addChild(imageHolder);
    As I said earlier, I have the same picture loading later in the programming. But I am loading it differently because in this case it loads when a button is clicked. In the code I typed above I was using it to load the picture withough any button click.
    I am using XML for all of the pictures.
    Do you see something wrong? Or do you have any ideas on what I could check to further investigate the situation?
    Thanks for any help you have to offer!

    Tks.
    This is what it says in the output panel:
    <imgURL>images/1a.jpg</imgURL>
    <imgURL>images/1b.jpg</imgURL>
    <imgURL>images/1c.jpg</imgURL>
    <imgURL>images/1d.jpg</imgURL>
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035L URL Not Found.
    I have no other traces going at this time.
    So it seems that maybe my problem is that I have all images 1a, 1b, 1c, 1d under the same parent (or however it is called) in the xml. So under the code for rawImage how do I refer to just the first child of the "subject" in the xml?

  • Anyone else seen this while loading a plugin: "Error #2044: Unhandled IOErrorEvent:"

    Hello All,
    I'm curious if anyone else has seen this error while loading an OSMF plugin dynamically:
    "Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type."
    You will only see this with the debug version of the Flash Player. The plugin loads fine, but the RTE appears. I've submitted a bug for this (http://bugs.adobe.com/jira/browse/FM-1104) but apparently no one at Adobe can reproduce it while everyone on our team can easily reproduce it at will. Some use Windows, some use Macs.
    I've written a very simple player and a very simple plugin, you can simply refresh your browser to try to reproduce the error. You won't see anything on the page, just hit refresh a few times until you see it. You'll need the debug version of the Flash Player to see the RTE. One guy on our team (uses Windows) claims he sees it after he clears his browser cache. I can make it happen on Safari for Mac by simply hitting Cmd-R a few times.
    http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    I also see this on cnn.com. I've attached a screen shot.
    Go to cnn.com and watch any video. I get the RTE every time on the first try. We are seeing this repeatedly on OSMF built players that load OSMF plugins dynamically.
    Reply if you see the error. This will greatly help in determining that I've not completely lost my mind
    In the mean time, I'll be working locally on a work around and hopefully submit that to the OSMF trunk.
    Thanks,
    - charles

    Hi Charles,
    Re:  CNN.com > Yes I am seeing the error (with each video twice in fact, 1st on start of preroll, 2nd on start of main video)
    Re:  http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    This link is not loading.
    Both cases using both:
    Windows XP > IE 6.0.2900 > Flash Player 10,1,85,3 installed
    Windows XP > Firefox 2.0.0.18 > Flash Player 10,1,85,3 installed
    hth,
    g

  • Safari Error #2044: Unhandled IOErrorEvent.........

    WHen I open up Safari and go to ebay (mostly) I get this error message. Sometimes it will list like 5 different ones. But they all start with Error #2044.....
    And then freezes and safari crashes. I restart safari and everything is fine.
    Does anyone know what is causing this? I'm on safari 3.2.1.

    This is what the last one said.
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

  • NetConnection.Call.BadVersion - Channel disconnected

    I am facing NetConnection.Call.BadVersion error when I run flex based application with BlazeDS on S64 with Weblogic application server.
    At application start up, it makes 4 calls to server and get appropriate data. However once the application is up and hence forth I make any calls cause the error. I observed that the mid-tier java code (Remote Object) is not invoked by later flex calls. The faultDetails of FaultEvent says that “Channel disconnected before an acknowledgement was received”.
    I am not using HTTPS secured protocal.
    Has anybody face this kind of issues? Any input, suggestion or solution would be greatly appreciated.
    Other details are
    OS  : S64
    BlazdDS : Community Edition: 4.0.0.10620
    App. Server        : Weblogic 10.3.3
    The snippet of flashlog
    [DEBUG] mx.messaging.Channel 'my-amf' channel got status. (Object)#0
      code = "NetConnection.Call.BadVersion"
      description = ""
      details = ""
      level = "error"
    FaultEvent.faultString :- Channel disconnected
    FaultEvent.faultDetail :- Channel disconnected before an acknowledgement was received
    Thanks
    --sachin

    I don't know what "S64" is, but it seems like someone is messing with the bytes of the AMF response so that the AMF deserializer in the Flash Player doesn't like the version header.  I assume you are running the latest player.  Probably need to check any network infrastructure and/or servlet filters.

  • After publishing an adobe captivate 8 file that has a video I got this message when the video slide starts, I'd appreciate if you have any useful suggestions.   Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=

    After publishing an adobe captivate 8 file that has a video I got this message when the video slide starts. I'm using Adobe media encoder and it outputs the file as f4v formate and when inserted into the adobe captivate 8 project, I found that I'm still getting the same error message after publishing the project. I'd appreciate if you have any useful suggestions.
    Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: file://C:\Users\User\AppData\Local\Temp\Rar$DIa0.291\haloSkin1_as3_progressive.swf"]
    Thanks in advance
    Warm Reagrds

    After publishing an adobe captivate 8 file that has a video I got this message when the video slide starts. I'm using Adobe media encoder and it outputs the file as f4v formate and when inserted into the adobe captivate 8 project, I found that I'm still getting the same error message after publishing the project. I'd appreciate if you have any useful suggestions.
    Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed. URL: file://C:\Users\User\AppData\Local\Temp\Rar$DIa0.291\haloSkin1_as3_progressive.swf"]
    Thanks in advance
    Warm Reagrds

  • Error #2044: Unhandled skinError:. - works on some computers though?

    I'm getting this error when I preview my flash file online:  Error #2044: Unhandled skinError:. text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2036: Load Never Completed.
    The issue is, i tested it on my computer with IE8 and firefox and I get this error.  When I test on another users computer with IE8, they do not get an error?
    Why would only my computer throw and adobe flash player error?
    Once I hit continue, the flash file plays fine, but I would like to get rid of the error....

    the computer that doesn't show the error does not have a debug version of the flash player installed?
    to remedy the problem, upload the skin.swf to your server.

  • NetConnection.Call.BadVersion :( :( :(

    Hey guys,
         I recently upgraded my development CF from 8 to 9, buy my production CF is still 8. Now I keep getting
              Channel.Connect.Failed error NetConnection.Call.BadVersion
         every time i launch my flex app on production server.  I assume this is becuase while compileing and building flex app my -services points to CF-9 services-config.xml.
             I tried to copy wwwroot/WEB-INF/flex folder into my flex application so that I have flex-cf8 and flex-cf9 folder in my flex app, and when I copy my build to production server. I change -services to flex-cf8/services-config.xml instead of flex-cf9/services-config.xml.  But this has not helped.
         My development server is a MacBook pro, while my development servers are MacPro and a linux system.  So the location of CF-HOME/wwwroot/WEB-INF/flex is different for both of my production servers.
         So my question is, is there a way to keep just one copy of services-config.xml in such a place where it will work for all my servers no matter what CF version is?  Will I need to make my own servies-config.xml file or can I just use the default one?  Does anyone have an example of custom services-config.xml (if I can't  use the default one).
    Thanks
    Jay

    After a bit more googling it turns out that NetConnection.Call.BadVersion might be a generic error, when flex can't communicate with/connect to flex2gateway.  Took a closer look at my code and turns out that I had forgotten about an update made that no longer accessed generic html file created by flex builder, but a modified version of it with some CF code.  Still not working hundered 100% but, this time I know whats and where things are wrong.
    Thanks
    Jay

  • NetConnection.Call.BadVersion amfsecure timeout??

    Hi.<br /><br />We are using a secure channel like this:<br /><br />    <channels><br />        <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br />            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br />            <properties><br />                <add-no-cache-headers>false</add-no-cache-headers><br />            </properties><br />        </channel-definition><br />    </channels><br /><br />And we expose a remote service like this:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><service id="remoting-service" class="flex.messaging.services.RemotingService"><br />    <adapters><br />        <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/><br />    </adapters><br />     <br />    <default-channels><br />        <channel ref="my-secure-amf"/><br />    </default-channels><br /><br />    <destination id="WebFlow"><br />        <properties><br />            <source>xxxxxxxxxxx.flex.FlexAdapter</source><br />        </properties><br />    </destination><br /></service><br /><br />Then, we create a RemoteObject like this:<br /><br />flowController = new RemoteObject("WebFlow");<br /><br />var channelSet: ChannelSet = new ChannelSet();<br />var channel: Channel = new AMFChannel("my-secure-amf", "https://localhost:443/example/messagebroker/amfsecure");<br />               <br />channelSet.addChannel(channel);<br />flowController.channelSet = channelSet;<br /><br />flowController.showBusyCursor = true;<br /><br />flowController.launch.addEventListener('result', onLaunch);<br /><br />It works well, but if we wait one minute (idle), when we try to invoke the method launch again it appears the following error:<br /><br />[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://localhost:443/example/messagebroker/amfsecure'"]<br />     at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev \3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:216]<br />     at mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]<br />     at mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]<br />     at mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\ messaging\ChannelSet.as:1399]<br />     at mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:935]<br />     at flash.events::EventDispatcher/dispatchEventFunction()<br />     at flash.events::EventDispatcher/dispatchEvent()<br />     at mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Channel.as:997]<br />     at mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\messaging\channels\PollingChannel.as:354]<br />     at mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\AMFChannel.as:369]<br /><br />Is there any one minute idle timeout?<br /><br />We have tried:<br /><br />     <flex-client><br />          <timeout-minutes>0</timeout-minutes><br />     </flex-client><br /><br />But it doesn't fix the problem.<br /><br />Any help would be appreciated.<br /><br />Thanks a lot.

    <DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>Hi Paco, </FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2></FONT></SPAN> </DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>In the error message, it says </FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2></FONT></SPAN> </DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2><FONT face="Times New Roman" color=#000000 size=3>[RPC <br />Fault faultString="Send failed" faultCode="Client.Error.MessageSend" <br />faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: <br />'http://localhost:443/example/messagebroker/amfsecure'"] <br /></FONT><BR></FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>You are connecting to http destination instead of <br />https.   Could this be a configuration error?</FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2></FONT></SPAN> </DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>-John</DIV></FONT></SPAN><BR><br /><DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><br /><HR tabIndex=-1><br /><FONT face=Tahoma size=2><B>From:</B> paco [mailto:[email protected]] <br /><BR><B>Sent:</B> Tuesday, April 01, 2008 4:27 AM<BR><B>To:</B> <br />[email protected]<BR><B>Subject:</B> NetConnection.Call.BadVersion <br />amfsecure timeout??<BR></FONT><BR></DIV><br /><DIV></DIV>A new discussion was started by paco in <BR><BR><B>General <br />Discussion</B> --<BR>  NetConnection.Call.BadVersion amfsecure <br />timeout??<BR><BR>Hi. <BR><BR>We are using a secure channel like this: <br /><BR><BR>&lt;channels&gt; <br /><BR>        &lt;channel-definition <br />id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"&gt; <br /><BR>            &lt;endpoint <br />url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" <br />class="flex.messaging.endpoints.SecureAMFEndpoint"/&gt; <br /><BR>            &lt;properties&gt; <br /><BR>                &lt;add-no-cache-headers&gt;false&lt;/add-no-cache-headers&gt; <br /><BR>            &lt;/properties&gt; <br /><BR>        &lt;/channel-definition&gt; <br /><BR>    &lt;/channels&gt; <BR><BR>And we expose a remote <br />service like this: <BR><BR>&lt;?xml version="1.0" encoding="UTF-8"?&gt; <br /><BR>&lt;service id="remoting-service" <br />class="flex.messaging.services.RemotingService"&gt; <br /><BR>    &lt;adapters&gt; <br /><BR>        &lt;adapter-definition <br />id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" <br />default="true"/&gt; <BR>    &lt;/adapters&gt; <br /><BR><BR>&lt;default-channels&gt; <br /><BR>        &lt;channel <br />ref="my-secure-amf"/&gt; <BR>    &lt;/default-channels&gt; <br /><BR><BR>&lt;destination id="WebFlow"&gt; <br /><BR>        &lt;properties&gt; <br /><BR>            &lt;source&gt;xxxxxxxxxxx.flex.FlexAdapter&lt;/source&gt; <br /><BR>        &lt;/properties&gt; <br /><BR>    &lt;/destination&gt; <BR>&lt;/service&gt; <br /><BR><BR>Then, we create a RemoteObject like this: <BR><BR>flowController = new <br />RemoteObject("WebFlow"); <BR><BR>var channelSet: ChannelSet = new ChannelSet(); <br /><BR>var channel: Channel = new AMFChannel("my-secure-amf", <br />"https://localhost:443/example/messagebroker/amfsecure"); <br /><BR><BR>channelSet.addChannel(channel); <BR>flowController.channelSet = <br />channelSet; <BR><BR>flowController.showBusyCursor = true; <br /><BR><BR>flowController.launch.addEventListener('result', onLaunch); <BR><BR>It <br />works well, but if we wait one minute (idle), when we try to invoke the method <br />launch again it appears the following error: <BR><BR>[RPC Fault <br />faultString="Send failed" faultCode="Client.Error.MessageSend" <br />faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: <br />'http://localhost:443/example/messagebroker/amfsecure'"] <BR>at <br />mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\d ev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:216] <br /><BR>at <br />mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as: 49] <br /><BR>at <br />mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncReque st.as:103] <br /><BR>at <br />mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:1399] <br /><BR>at <br />mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src \mx\messaging\ChannelSet.as:935] <br /><BR>at flash.events::EventDispatcher/dispatchEventFunction() <BR>at <br />flash.events::EventDispatcher/dispatchEvent() <BR>at <br />mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messa ging\Channel.as:997] <br /><BR>at <br />mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\ rpc\src\mx\messaging\channels\PollingChannel.as:354] <br /><BR>at <br />mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\ src\mx\messaging\channels\AMFChannel.as:369] <br /><BR><BR>Is there any one minute idle timeout? <BR><BR>We have tried: <br /><BR><BR>&lt;flex-client&gt; <BR>&lt;timeout-minutes&gt;0&lt;/timeout-minutes&gt; <br /><BR>&lt;/flex-client&gt; <BR><BR>But it doesn't fix the problem. <BR><BR>Any <br />help would be appreciated. <BR><BR>Thanks a lot. <BR><BR><br /><HR align=left width=200><br />View/reply at <A <br />href="http://www.adobeforums.com/webx?13@@.59b4dc44">NetConnection.Call.BadVersion <br />amfsecure timeout??</A><BR>Replies by email are OK.<BR>Use the <A <br />href="http://www.adobeforums.com/webx?280@@.59b4dc44!folder=.3c061a83">unsubscribe</A> <br />form to cancel your email subscription.<BR><BR>

  • Localconnection intermittent error #2044

    localconnection intermittent error #2044
    Hi,
    Im getting the above error intermittently when I send data via a local connection.
    More often than not the first few packages send then it starts to fail.
    If I don't have a StatusEvent listener active I get the error #2044
    If I start listening for it with statusEvent I stop getting the error appearing but then the connection is still dead.
    I thought It could be something to do with the amount of data I'm sending in one send... I think the max is 40kb or something.
    But now I've stripped it right back to just "triggering" a method in my reciever swf and im still getting the 2044 error.
    Both swfs are sat on a local machine. They will be standalone, not in a browser.
    Both swfs have lots of stuff to do. Their always rendering stuff to screen, downloading graphics ect...
    I wondered if its the amount of other processors that are going on? Maybe it caunt cope.
    sender...
    [CODE]
    LCSend = new LocalConnection();
    LCSend.allowDomain('*');
    //LCSend.addEventListener(StatusEvent.STATUS, statusHandler);
    LCSend.send("testData", "testReciever");
    [/CODE]
    Receiver....
    [CODE]
    imgReciever = new LocalConnection();
    imgReciever.client = this;
    imgReciever.connect("testData");
                        public function testReciever() {
                                  var txt:TextField = troot.debugger;
                                  txt.appendText("trigger");
    [/CODE]
    Any Ideas?
    Thanks
    Aidan

    HI,
    No browser involved just two standalone swf files.
    so if I comment out my statusevent listener I get this error pop up...
    Error #2044: Unhandled StatusEvent:. level=error, code=
    As a test Im currently  triggering....
    LCSend.send("testData", "testReciever");
    ... On a button press.
    I consistintently pressed it for 10 minutes this morning without getting the error. I then restart the two swfs and I start gettting the error.
    Both swfs have many tasks on the go, constantly rendering content to the screen.
    Ive noticed that any animations start to juter and slow down when I press the test button to send the trigger for testReciever.
    Thanks
      Aidan

Maybe you are looking for