Getting Channel.Connect.Failed

I'm building a Flex 3 app, with BlazeDS deploying to Tomcat
6.0 I have built/Run the example BlazeDS code with out error. When
I try to access my remote bean from my app I get
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 404: url: '
http://localhost:8400/WebContent/messagebroker/amf'"
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216
at
mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
at
mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
at
mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\ messaging\ChannelSet.as:1399]
at
mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:935]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Channel.as:997]
at
mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\messaging\channels\PollingChannel.as:354]
at
mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\AMFChannel.as:369]

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.

Similar Messages

  • Flex/Zend channel connect failed error...

    Hi guys.
        I am using Flex and php to develop my project. Everything works great in my local machine. However, when I upload my files to my server (godaddy.com). I got the error when loading my flex application.
    The pop-up error message is
    send failed
    channel.connect.failed.error
    Netconnection.call.Badversion: url:
    http://mydomail/folder/gateway.php
    I have upload my ZendFramewrok folder into my server and amf_config.ini has been configured. (webroot =http://mydomain)
    I am not sure what's going on here. Please help. Thanks.
    Update: my gateway.php
    <?php
    ini_set("display_errors", 1);
    $dir = dirname(__FILE__);
    $webroot = $_SERVER['DOCUMENT_ROOT'];
    $configfile = "$dir/amf_config.ini";
    //default zend install directory
    $zenddir = $webroot. '/ZendFramework/library'; //I did upload the ZendFramwork folder
    //Load ini file and locate zend directory
    if(file_exists($configfile)) {
    $arr=parse_ini_file($configfile,true);
    if(isset($arr['zend']['webroot'])){
      $webroot = $arr['zend']['webroot'];
      $zenddir = $webroot. '/ZendFramework/library';
    if(isset($arr['zend']['zend_path'])){
      $zenddir = $arr['zend']['zend_path'];
    // Setup include path
    //add zend directory to include path
    set_include_path(get_include_path().PATH_SEPARATOR.$zenddir);
    // Initialize Zend Framework loader
    require_once 'Zend/Loader/Autoloader.php';
    Zend_Loader_Autoloader::getInstance();
    // Load configuration
    $default_config = new Zend_Config(array("production" => false), true);
    $default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));
    $default_config->setReadOnly();
    $amf = $default_config->amf;
    // Store configuration in the registry
    Zend_Registry::set("amf-config", $amf);
    // Initialize AMF Server
    $server = new Zend_Amf_Server();
    $server->setProduction($amf->production);
    if(isset($amf->directories)) {
    $dirs = $amf->directories->toArray();
    foreach($dirs as $dir) {
         // get the first character of the path.
         // If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
         $length = strlen($dir);
         $firstChar = $dir;
         if($length >= 1)
          $firstChar = $dir[0];
         if($firstChar != "/"){
          // if the directory is ./ path then we add the webroot only.
          if($dir == "./"){      
           $server->addDirectory($webroot);
          }else{
           $tempPath = $webroot . "/" . $dir;
        $server->addDirectory($tempPath);
      }else{
          $server->addDirectory($dir);     
    // Initialize introspector for non-production
    if(!$amf->production) {
    $server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));
    $server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));
    // Handle request
    echo $server->handle();
    Error from gateway.php if I call it directly.
    Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/79/4687979/html/parkerList/gateway.php on line 27
    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.:/usr/local/php5/lib/php:http://blackwheels.info//ZendFramework/library') in /home/content/79/4687979/html/parkerList/gateway.php on line 27
    gateway.php is the rat. but I still can't figure out what's wrong. Zend/Loader/Autoloader.php is under the server root "ZendFramework/library" folder. I don't understand why my application can't find it. Thanks again!

    You will get a better response if you repost your question on the Flex forums. This forum is for the Livecycle Data Services product.

  • 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 Connection Failed  HTTP 405

    I've got the -services-config.xml set up and pointed to
    complie in Flex, but I'm getting these errors:
    Send failed - then I hit "OK"
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP:
    Status 405: url: '
    http://mySite.com/flex2gateway/'
    I've read several posts and created a new channel that does
    not point to the "localhost:port" and channel-definition id. It
    looks something like this:
    <endpoint uri="
    http://mySite.com/flex2gateway/"
    class="flex.messaging.endpoints.AMFEndpoint"/>
    I'm using Flex 3, so I don't know if there is any issues with
    it. Any suggestions would be greatly appreciated!

    Found the problem. In case anyone else runs into this issue:
    On your Server you need Coldfusion version 7.0.2 at the
    minimum. When you goto the URL of
    http://x.x.x.x/flex2gateway
    in a web browser you should get a white blank page. Also make sure
    that you have a tab within the CF Administrator under Data &
    Services called Flex Intergration. I have had these same issues and
    found that my Production Server did not have the Flex Intergration
    so I had to Uninstall CF7 and ReInstall 7.0.2 to get the Flex
    Intergration.

  • Channel.Connect.Failed (http 501) error when trying to connect to a remote php gateway

    hey all
    this is my first app to access remote data, and i am trying to build both clieant and server side
    i am working on a flashbuilder 4.6 and php simple system.
    I use the php data wizard to build my php code/services and develop locally on a wamp server, configuring the local mysql db with phpmyadmin. the wizard itself enables the zend framework needed
    locally, all looks fine
    i am trying out deployment to my real, linux based remote server, and for the first step I uploaded my php services to the remote server
    i used this guide by Mihai Corlan and when testing my app i get an Alert with
    Send failed
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 501: url: 'http://(my domain + file structure to..)gateway.php'
    so i guess even before i get to see if i changed the amf_config.ini and gateway.php itself and the services properly for deployment i am unable to connect to the gateway, correct?
    http 501 is something about html headers? i dont know any html, any php, any sql just as3 and mxml
    can anyone help?

    I do get "Zend Amf Endpoint" - as well - the app works perfectly when testing on my desktop as iphone4 simulation and on android, just not on my 4s device.
    as a side note, i can even browse to the gateway.php that I have set up via safari on the device. That makes me think that theres just some dumb http entitlement or "allow" setting for ios that I'm not finding.

  • My Time Capsule hard drive shows up in Finder, but I can't access the disk.  I get a connection failed message.

    I can not access my Time Capsule from the Finder.  This was working, but on 12/25/2011, the disk can no longer be accessed.  It shows up in the Finder, but when I try to connect, I get a "Connection Failed" message.  If I cycle the power, it works for a little while and then fails again.

    hello
    No i'm connect via ethernet (cable) with TC. The problem is when I try to connect to my TC when I'm away from home like for ex. using a free wi fi spot!! Well in this case the icon appear on my Finder but refuse to connet!! ( connection faild ).

  • In Firefox version 37.0 getting Secure Connection Failed config parameter version.fallback-limit set to 3. Does this support TLS 1.0 .

    In FF 37.0 getting secure connection failed connecting to a website. Works fine in previous version. Config parameter version.fallback-limit default setting is 3. In previous version the default setting was 1. Does the setting version.fallback-limit to 3 mean only TLS1.2 is supported. Any help is appreciated.
    Secure Connection Failed
    The connection to xxxx.xxx.com was interrupted while the page was loading.
    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.
    Thx,

    The website may try to fallback to TLS 1.0 in a way that is no longer allowed in current releases or may be using a deprecated cipher suite.
    You can open the <b>about:config</b> page via the location/address bar and use its search bar to locate this pref:
    *security.tls.insecure_fallback_hosts
    You can double-click the line to modify the pref and add the domain (full domain) to this pref.
    If there are already websites (domains) in this list then add a comma and the new domain (no spaces).
    You should only see domains separated by a comma in the value column.
    See also:
    *https://developer.mozilla.org/en-US/Firefox/Releases/36/Site_Compatibility#Security
    *https://developer.mozilla.org/en-US/Firefox/Releases/37/Site_Compatibility#Security

  • Remoting Connection Issue: Channel.Connect.Failed

    Solution: Turns out my client had installed a new
    firewall/web management system without telling me. My app was being
    blocked. :(
    Hi there,
    I have a Flex app using remoting and ColdFusion. My client
    has suddenly experienced the following error:
    Channel.Connect.Failed
    NetConnection.Call.BadVersion: url: '
    http://mysite/flex2gateway/'
    The weird thing is the app works when you access it from
    outside of my client's office. I'm wondering if it is some sort of
    firewall issue on their end. Any thoughts?
    Thanks.

    The issue is probably do to a problem with your configuration.  There is probably a destination or endpoint issue.  A nice and short tutorial on this can be found at http://flexbandit.com/archives/55.

  • FaultCode:Client.Error.MessageSend faultDetail:'Channel.Connect.Failed

    Hello Everyone,
    I'm kinda sure a lot of people have to deal with the same error, but I can't solve it using explainations given in other topics. So here it is :
    I'm trying to create a Flex project on Adobe Flash Builder 4.0, using J2EE, BlazeDS and Tomcat6.0.
    To have a good start, I want to try some basic interactions between java & flex. For that, I created a java class with a functions returning a String, witch is called when a button is clicked in my main panel :
    remoting-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="remoting-service"
        class="flex.messaging.services.RemotingService">
        <adapters>
            <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
        </adapters>
        <default-channels>
            <channel ref="my-amf"/>
        </default-channels>
         <destination id="hello">
            <properties>
                <source>test.HelloWorld</source>
                <scope>session</scope>
            </properties>
        </destination>
    </service>
    HelloWorld.java
    package test;
    public class HelloWord {
        public String sayHello()
            return "Hello from Java";
    project.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1000" minHeight="600">
        <s:Button x="200" y="200" label="Button4" click="callHello(event)"/>
        <fx:Declarations>
            <s:RemoteObject id="roHello"
                            destination="hello"
                            fault="onFault('roHello',event)">
                <s:method name="sayHello"
                          result="onResult(event)"
                          fault="onFault('roHello.sayHello',event)"/>           
            </s:RemoteObject>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.rpc.remoting.RemoteObject;
                private function callHello(event:MouseEvent):void
                    roHello.sayHello() as String;
                private function onResult(event : ResultEvent) : void
                    var retour:String;
                    retour = event.result as String;
                    //Alert.show(event.result.toString());
                    Alert.show("success::"+retour);
                private function onFault(remoteObject : String, event : FaultEvent) : void
                    Alert.show(event.fault.message);
                    //Alert.show("fault");
            ]]>
        </fx:Script>
    </s:Application>
    When I launch my application, the button is created. But as soon as I click on it, I got the following message :
    faultCode:Client.Error.MessageSend faultString:'Echec de l'envoi' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8080/WebContent/messagebroker/amf''
    any idea how to solve it ?

    I've resolved my issue. Perhaps you are correct that my tokens were not resolving, but since you did not offer a way to fix that, I was still on my own. There was nothing helpful that I could find in the console or log.
    I found this article, and after using his architecture (using an external config file to define the amf endpoint at runtime) I was able to connect to the back end. I was also looking for a good way to externalize information, so I recommend reading this article:
    http://coenraets.org/blog/2009/03/externalizing-service-configuration-using-blazeds-and-lc ds/

  • OS 10.4.4- Classic - I'm getting a "Connection Failed" Alert

    This problem started out of the blue... running OS 10.4.4 with Classic, I'm getting an alert "Connection Failed This file served is running on your machine. Please access the volume and files locally." BEFORE Classic finishes loading. I click the "OK" button and all is well - UNTIL I print from Classic - then I get it again. (Mainly from Pagemaker 6.5) Sometimes when I click "OK", it just goes away, and the document prints... other times, it repeats and I have to take Classic out.
    I have checked my Network settings, my Classic settings, and my Sharing settings - all to no avail.
    HELP! This is driving me crazy! At some points, I have to reboot in OS 9.2.2, and run everything from there - YUK!
    Hints, tricks, advice???

    Well, with some minor changes, I've succeeded in getting my alert to go away.
    I did all the usual stuff--ran cron scripts, repaired permissions (even OS 9), etc but without luck. Still got the alert when booting classic with extensions off so I figured the problem had to be on the OS X side of things. I stopped all file sharing services (personal, windows, web, etc) and rebooted classic--voila! No alert. I then turned on sharing services one at a time and rebooted classic with each change to check the effect. I was able to turn my original sharing services (personal and windows) back on without the alert returning.
    I don't know why this worked, but hope it will work for you.
    MDD Dual 1.25 G4   Mac OS X (10.4.5)   Mac Mini, G4 Powerbook

  • I recently bought an external hard drive and attached it to a wireless modem router. The problem is that i can't access it from my macbook. I get a "connection failed" and "the server is available on your computer. Access the volumes and files locally".

    Well I believe I described the problem above. I want only to add that the external hard drive is a Seagate FreeAgent GoFlex Drive 1TB and the wireless modem router is a Belkin N Plus (model F5D8635-4 v1). Also, in the finder window under "shared" I see a "belkinserver" and when I click it, it says "connection failed". If I click "connect as" I get the "the server "belkinserver" is available on your computer..." which I mentioned above. I tried to connect macbook via ethernet to the modem router and then when I typed "smb://belkinserver" it immediately prompted me for a username and a password and when I typed them finally I got to enter the contents of the hard drive! So what's the problem wirelessly? 

    If your external drive does not have an independent power supply, you may wish to consider a couple of lower-cost options before tossing the drive. Bus-powered drives have no external power source and must get all their power from the computer. They can exceed the computer's USB energy budget.
    Cheapest option:
    1 Meter USB 2.0 A to 5 Pin Mini B Cable - Auxiliary USB "Y" Power Design for external hard drives.
    This gets power from two of the computers USB porst sna can provide enough power to wake up an under-performaing bus-powered drive.
    If you don't have enough ports to use this, try the next cheapest option:
    Newer Technology 7 Port Hi-Speed USB 2.0 Hub with Power Adapter for Mac & PC
    Such a hub has a an independent power supply to make up for wahat the comptuer fails to provide.

  • Why do I get download connection failed error message on my iPAD?

    My iMAC is dead.  Wanted to try to work with images stored in Creative Cloud and Dropbox.  Can't download Cloud images.  Keep getting the message "Download Connection Failed."  Why?

    PDF -> PSD

  • What is wrong when I keep getting "Secure Connection Failed" message?

    Why am I getting the msg "Secure Connection Failed" on most sites I used to be able to access before power outage?

    Rename (or delete) secmod.db (secmod.db.old) and maybe also cert8.db (cert8.db.old) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case there is a problem with the files.
    The file ''cert8.db'' stores your user certificates, so if you have user certificates then you may want to export them now and import them after having removed cert8.db.
    See Tools > Options > Advanced > Encryption: Certificates: View Certificates
    If that works then you can delete the renamed files or undo the changes if you want to revert the process.

  • On attempting to connect to my router's configuration interface, I get Secure Connection Failed

    When connecting to my local router's configuraton webpage, I get a "Secure Connection Failed" Error message. "The page you are trying to view can not be shown because the authenticity of the received data could not be verified." No SSL error is shown, so I am unable to track it further. I just did a full distribution upgrade but it appears that Seamonkey also exhibits this behavior as well. Restarting safe mode did nothing, so I am at a loss.

    Sounds that your router doesn't send a full certificate chain that ends with a Firefox built-in root certificate.
    Check out why the site is untrusted (click "Technical Details to expand that section) and if this is caused by a missing intermediate certificate then see if you can install this intermediate certificate from another source.
    You can retrieve the certificate and check details like who issued certificates and expiration dates of certificates.
    *Click the link at the bottom of the error page: "I Understand the Risks"
    Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
    *Click the "View..." button and inspect the certificate and check who is the issuer.
    You can see more Details like intermediate certificates that are used in the Details pane.

  • Trying to setup email account - getting "server connection failed"

    I'm hoping someone out there can help me setup a POP account on my iphone. My host where the email account is based says it supports POP and/or IMAP, but I've tried to create a new account on the iphone with both methods and get the same message each time. The error says:
    Server Connection Failed
    The certificate for [email protected] may be invalid.
    I just setup the same email account in my microsoft outlook and it works fine. Any thoughts???

    Same problem here. We are running Exchange 2007 at my school and all I want is to get my mail sent to my iphone. I have no need to sync my iphone to my school computer.

Maybe you are looking for

  • "Unknown Error" Issue

    HELP! When I export, it says "Error compiling movie" then on the next line "Unknown error". I checked the settings and everything is fine! What is happening! Please help, I need to get this video out quickly! Below is a screenshot of what I am seeing

  • Error number -2147024882 with ActiveX

    I have a piece of LabVIEW code that runs in a timed loop. It passes through the loop once per minute. There are two sub-vis, each of which use ActiveX automation, that get called, first one and then the other, each time through this loop... The machi

  • Exporting / Importing a Site

    Hi! I have two servers: the first is to develop the sites, and the other is to publish the sites on Internet. I finished one site in the developing server and I want to export the site and mount it in the publishing server. The site have personalized

  • External mp3 Audio Problem in Flash 9

    I got problem when loding and playing the mp3 songs in Flash 9 .The last 30 to 40% portion of mp3 file is not getting loaded so that the song is not playing completly .Song is stop before the end length(duration) of mp3. i am trying to use this code

  • Boot camp - Kernel panic

    Hi all, I have problem with Boot camp. When Boot Camp *start partitioning disk*, *Karnel Panic appears*. I rapaired disk from Install DVD, but after that *same issue happend*. I have 120GB HDD, 32GB free and want 15GB for WinXP. Have anybody same pro