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>

Similar Messages

  • 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.

  • 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?

  • 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

  • Flex4 Zend AMF error - NetConnection.Call.Failed: HTTP

    Hi,
    I'm working with FLEX 4 (developing in flash builder 4 plugins for eclipse) and PHP Zend Framework v 1.9.
    When I run the application from the flash builder the AMF comunication work fine, but when I try to run directly from URL in a browser I got the following error: 
    Send failed
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/Project-debug/gateway.php'
    I think that I get this error since I have update my flash builder plugin.... previos version of my .swf project didn't give my this issue.
    Somebody can help me? I don't realy have any idea how to solve this problem.
    P.S.
    I don't have services-config.xml file in my project cause the amf zend samples that I followed don't say to create it, somebody knows why flex 4 doesn't need it?
    Thanks

    The MessageBroker servlet is not installed properly. The context-root of the two Tomcat LC DS installs must be different. Test hitting the context-root Flex_App on both machines (http://hostIP:8080/Flex_App). If the context-root is valid you will hit the index.html page of the valid context-root which looks like this...
    Welcome to Adobe LiveCycle Data Services ES2 Version  3!
    This is an empty LiveCycle Data Services ES application that serves as a  template for creating your custom application.
    Visit the product page for documentation and further information.
    Steve

  • Pass Class Object To FMS Using NetConnection.call Method

    Hello All,
    I have a custom class that defines several methods on itself
    to retrieve its data. This class object is then sent to FMS via the
    NetConnection.call method. Once received by FMS, FMS calls the
    remote method to dispaly the class object on connected clients
    (minus the originator).
    Now, standard properties are displayed correctly, but when I
    call the class method to retrieve the class data, no data is
    retrieved.
    My question is, can FMS handle class objects as parameters in
    a NetConnection call. If not, is there a better practice of
    applying methods to retrieve the class data? Example below...
    class com.QuizItem
    var numOfAnswers;
    var getAnswer;
    function QuizItem(question)
    this.numOfAnswers = 0;//<-- Returns correct number of
    answers
    this.getAnswer = function(answerNumberToGet)//<-- Does
    not return any data when called by client side script
    return this.answers[answerNumberToGet];//Already populated
    array
    Regards,
    Shack

    First, I know JAVA does not working "pass by
    reference". It's only working pass by value. (or call
    by value)But obviously you don't fully understand what it means.
    Isn't main_a and method_a alias?
    if there is not alias, why? please explain to me.No. They're two independent references coincidentally pointing to the same object. In your swap method, you move method_a to point to something else. This does not affect main_a.
    and why main_a.hashcode() is main_a's value?why not? What else should it be?
    I think It's mean copy object. but main_a and
    method_a, they have same object id! @_@;;;It means "copy reference", same object.

  • Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500

    I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
    createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
      body = (Object)#1
      clientId = (null)
      correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
      destination = ""
      extendedData = (null)
      faultCode = "Client.Error.MessageSend"
      faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
      faultString = "Send failed"
      headers = (Object)#2
      messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
      rootCause = (mx.messaging.events::ChannelFaultEvent)#3
        bubbles = false
        cancelable = false
        channel = (mx.messaging.channels::AMFChannel)#4
          authenticated = false
          channelSets = (Array)#5
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          failoverURIs = (Array)#6
          id = (null)
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#7
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            maxPeerConnections = 8
            objectEncoding = 3
            proxyType = "none"
            uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
          recordMessageSizes = false
          recordMessageTimes = false
          requestTimeout = -1
          uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          useSmallMessages = false
        channelId = (null)
        connected = false
        currentTarget = (mx.messaging.channels::AMFChannel)#4
        eventPhase = 2
        faultCode = "Channel.Connect.Failed"
        faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
        faultString = "error"
        reconnecting = false
        rejected = false
        rootCause = (Object)#8
          code = "NetConnection.Call.Failed"
          description = "HTTP: Status 500"
          details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          level = "error"
        target = (mx.messaging.channels::AMFChannel)#4
        type = "channelFault"
      timestamp = 0
      timeToLive = 0

    halodev:
    I made a CF/Flex site based on the Flexstore sample app,
    using a database instead of XML as the data source; in case you
    want to see it:
    http://www.timos.com/dg/flex/DilemmaGames.html
    At first I had troubles similar to what you describe;
    initially, part of the problem was that my hosting company had not
    yet upgraded to CF 7.02. One other thing I had to correct: when you
    upload to your server, upload the entire ‘bin’ (or
    whatever your output folder is) minus the debug SWF.
    If it would help with other issues, contact me and I will be
    glad to make my project code available to you. Good luck.
    Carlos
    [email protected]

  • Channel.Call.Failed NetConnection.Call.Failed: HTTP: Status 500 with amfphp php and mysql

    I have been scripting a simple database connection to check login credentials and am comming accross these errors:
    Channel.Call.Failed
    NetConnection.Call.Failed:
    HTTP: Status 500
    Any PHP code I run that is not connecting to MYSQL runs fine. But if I try to connect to the database thats what I get.
    Here is my mxml:
    <s:RemoteObject id="LogInService"
                                 source="Novus.NovusUser.getLogIn"
                                 destination="AMFPHP"
                                                                fault="faultHandler(event)"
                                 showBusyCursor="true">
                                  <s:method name="getLogIn" result="onResult(event)" fault="faultHandler(event)"/>
    </s:RemoteObject>
    Which calls this actionscript:
    private function btn(event:Event):void
                                                 switch(event.target.id)
                                                           case "LogInSubmit":
                                                                          LogInService.getLogIn(UserName.text, PW.text)
                  break;
                                  private function onResult(result:ResultEvent):void
                                                 Alert.show("Result " + result.token.result);
                                                 if(result.token.result == true)
                                                                currentState = "Main";
                                                 else
                                                           Alert.show(String(result.token.result));
                                  private function faultHandler(fault:FaultEvent):void
                                                 CursorManager.removeBusyCursor();
            var errorMessage:String = "code:\n" + fault.fault.faultCode + "\n\nMessage:\n" + fault.fault.faultString + "\n\nDetail:\n" + fault.fault.faultDetail;
                                                 Alert.show(errorMessage);
    and calls this PHP:
    If I comment out the database connection it returns a false value to me just fine but with it there it throws an error
    <?php
    class GetLogIn
                   private $_db;
                   public function getLogIn($U, $P)
                             //Connect To Database
                             $hostname='127.0.0.1';
                             $username='root';
                             $password='*********';    //not realy ***** blocked it out
                             $dbname='mydatabase';
                             try
                                            mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');
                                            mysql_select_db($dbname);
                                            $sql = "Select * FROM empusr WHERE UserName = '$U' and Password = '$P'";
                                            mysql_close();
                                            if ($sql)
                                                           return true;
                                            else
                                                           return false;
                             catch
                                            return 'Unable to connect to database! Please try again later.';
    ?>
    I have a crossdomain.xml but I am unsure if I have it placed right.
    I also have a services.conf but am unsure if that also needs to be altered to adjust for MySQL.
    Any help would be appreciated. 

    Found the problum
    The connection string had to be placed in the public _constructor function of the class.
    <?php
    class EmployeeService
              public function __construct()
                        $hostname='127.0.0.1';
                        $username='root';
                        $password='*********';
                        $dbname='myDatabase';
                        mysql_connect($hostname,$username, $password);
                        mysql_select_db($dbname);
              public function logIn($N, $P)
                        $query = "SELECT * FROM EmpUsr WHERE UserName = '$N' AND Password = '$P'";
                        $result = mysql_query($query);
                          if ($result)
                                    return true;
                          else
                                    return false;
    ?>

  • FMS NetConnection.call stops responding

    I have a FMS 3.5.1 server running an application I developed.  After some time it seems FMS becomes unstable and the flex client can connect (I receive a NetConnection.Connect.Success) but nothing happens after that.  I did some digging, and it turns out that FMS is in a strange state where clients can connect, and FMS can successfully call functions on the flex client, however any NetConnection.call() from Flex to FMS does not work.  I tried changing the flex client to make a function to fms test() that simply traces a test message, but I do not get any errors in Flex making the call, and do not get any errors in any fms log or application log, or the expected trace on FMS.  It's as if the call was never made.  The server however can continue to make function calls to the flex client. Also, after some time, some application instances continue to work while others do not.  Restarting an application that is not responding does not fix the issue.
    I made a wireshark capture on the FMS server during this:
    frame #47 Server BW, Client BW, Ping, Invoke
    frame #48 Server calls onBWCheck on flex client
    frame #49 Flex sends Server BW message
    frame #51 Flex calls Test() function on FMS
    frame #52 Flex calls _result on FMS
    frame #53 FMS sends ACK for frame #52
    frame #89 Flex sends RST, ACK for frame 53 - RTT for ACK was 16.8 seconds
    Earlier in the day I see a bunch of error messages in the logs:
    This is from the master.00.log and there are 4971 of these in a row with the exact same timestamp
    2010-06-21    04:50:26    10077    (e)2581395    Failed to signal process condition: errno(22).    -
    From the edge.00.log, I see a bunch of these about 4-5 per second
    2010-06-21    04:48:21    10097    (e)2581394    Failed to wait for process condition: errno(43).    -
    core.00.log
    2010-06-21    05:57:12    22803    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -
    2010-06-21    05:57:12    22803    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -
    2010-06-21    05:57:12    22803    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -
    2010-06-21    05:57:12    22803    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -
    2010-06-21    06:05:17    22803    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -
    2010-06-21    06:11:56    22505    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -
    2010-06-21    06:51:26    22803    (e)2581279    Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109    -

    Hi ptamilar,
    Can you update to the most recent FMS available, FMS 3.5.3 and if you're still seeing this issue email me ([email protected]) directly and we'll work together to get this resolved for you.
    http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
    Asa

  • NetConnection.Call Parameter question

    passingArray=("a","b","c");
    NetConnection.Call (somephpfunction, responder,
    passingArray);
    Will I call method pass the array to the php function or will
    it pass the contents of the array as parameters to the php
    function?
    Meaning, am I to define the function as:
    function somephpfunction ($passingArray) {}
    or as:
    function somephpfunction ($a,$b) {}
    Thanks

    I'm using AS3 to connect to a mySql database using Zend Amf. I was wondering how to send (post) variables to the database.
    I found on www.gotoandlearn.com had us using the .call() to connect from AS3 to a php bootstrap that allowed us access to our db.
    Sooo, in a long winded way I was trying to collect AS3 variables to be able to post to the db through Zend Amf.
    I'd found some posts about using the extra parameters I just was getting errors in my php when I used them. So I thought I might be on the wrong path.

  • Differences between NetConnection.call() and RemoteObject

    I need to make a call from a Flash client to a server. I figured out that I can either make a remote call using NetConnection.call() or RemoteObject. Can anyone tell me what are the differences between the two? Is there another way to make remote call?

    Explain the purpose of the call? You could use xml.load() or even LoadVars() to make calls to servers.

  • Problem while sending ByteArray from as3 client through netconnection call method to red5 server

    Hi to all,
    I'm trying to send from as3 client a ByteArray of more or less 3 MB using NetConnection's call method but I am unable to do it, cause I get a timeout on the server and the client get disconnected (I have also increased the timeout limit in red5.properties but nothing changed). If I try to send a smaller ByteArray I don't have problem, even if the trasfer is really slow.
    Any solution?
    thanks

    put it in code tags so it's readable
    CLIENT
    public void sendLoginData(String data)
    int c=0;
    byte loginData[]=new byte[data.length()];
    loginData=data.getBytes();
    try
    out.write(loginData);
    System.out.println(client.isClosed());
    // here i want 2 receive the 1 byte data whch i hv sent frm server's RUN() method
    //following code is not working :( it gets hanged
    while((c=in.read())!=-1)
    System.out.print(c);
    System.out.print("hi");
    catch(Exception e)
    System.out.println("Caught:" + e);
    finally
    out.close();
    }SERVER
    public void run()
    boolean flag;
    try
    flag=verifyLoginData(ID); //this function verifies the login data by connecting to DB
    System.out.println(flag);
    if(flag==true)
    //send login valid
    bos.write(1);
    bos.close();
    else
    //send login invalid
    bos.write(0);
    bos.close();
    catch(Exception e)
    System.out.println("caught " + e);
    }

  • Which seeded page is called when session timeout happens

    Hi All,
    Our requirement is to route to custom page when session timeout happens. We are working on R11.
    Any suggestions which seeded JSP/JAVA file is called when we try to access application after session time out ?
    How to route to custom page when session timeout happens ?
    Thanks in advance.
    Regards,
    S.K.

    Hi Sk;
    Please check below and see its helpful for your issue,similar topic discussed before here,
    EBS connection time out
    Re: ICX : Session Timeout
    Forms session timeout
    Also check:
    http://www.solutionbeacon.com/best7.htm
    Hope it helps
    Regard
    Helios

  • AIR app :: Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed:

    I have built an AIR app using ColdFusion 8.01 as the backend.  I am getting this error occasionally on Remote Object calls. My suspicion is that the Channel being used by the RemoteObject is timing out.  I'm not bothering to configure the Channel separately, I'm just going with the default that is part of the RemoteObject.
    I'm using Cairngorm, with a ServiceLocator and my thought is that I could separately define my channel from the RemoteObject declaration and listen for timeout events on the Channel and refresh the Channel if it times out. 
    I'd be really interested in anyone's feedback on this issue.
    Jeff

    Hi,
    Can you please try tracing the FaultEvent.fault.rootCause
    object and see if there is any error message. Usually exceptions
    thrown from the server is available in this rootCause object.
    Hope this helps.

  • IPCC Express-record call after waiting timeout end e-mail

    I have IPCC Express 3.5.2. I have successfully created a script that enables recording a message when either a wait timeout occurs and then the user selects to leave a message. There is a maximum time limit on the recording. As long as the user stays online long enough during the recording fort he max timer to expire I can save the file and send out an e-,mail with this attached.
    My question is how do detect hang-up then save the file and send the e-mail when a caller hangs up before the max time out has expired?

    You need to use the On Exception GoTo and Clear Exception steps.
    An Example:
    Start
    ...logic...
    On Exception (contactInactiveException) GoTo RecordingException
    Recording
    --Successful
    ----Label: Recording Exception
    ----Clear Exception: RecordingException
    ----....email/otherlogic...
    End
    The On Exception Goto watches for the caller hanging up. If they do, it moves the script to the label instead of going to the end. You must have the Clear Exception step to then clear the exception and move on.

Maybe you are looking for