I had an issue recently during remoting which when debugged resulted in the following message:
Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 200
It took me forever to figure this one out but it results from IE caching things differently than other browsers and my debug settings use IE as the default browser. To fix it do the following:
1) add the following line to your services-config.xml file in the “channel-definition” tags. I did this for the first 2 listed which are http and https based AMF endpoints.
<channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
<polling-enabled>false</polling-enabled>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
<channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<add-no-cache-headers>false</add-no-cache-headers>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
<serialization>
<instantiate-types>false</instantiate-types>
</serialization>
</properties>
</channel-definition>
2) restart the CF server
I hope this helps someone not spend an entire day trying to fix a problem
I have to give serious credit to 2 blogs for this solution:

Related Articles
10 users responded in this post
Anyway to apply this conf programmaticaly?
Not that I am aware of but if you come up with a way, please share.
Great solution – worked like a charm.
The title is right on – came up pretty good with Google.
I’d have spent all night on this one. Thanks.
I was hoping the above would fix my problem, but it didn’t. I am creating an AIR project and get connection errors. The same project done as a web application has no errors.
The exact error is:
faultcode:Client.Error.MessageSend
faultString:’Send failed’
faultDetail:’Channel.Connect.Failed error
NetConnection.Call.BadVersion: : url:
‘http://eather3.swf/flex2gateway/”
As an added note – the name of the project is Heather3.
I hope you can help me with this.
P.S. Love your website
Yeah, with an AIR application, my initial guess is that the request is being blocked by a crossdomain.xml policy file. Sometimes you need to manually load a policy file. Here’s a post from a friend of mine on the subject: http://www.axelscript.com/2008/02/15/security-sandbox-violation-in-flex/
I have a crossdomain.xml policy file. That doesn’t seem to be the problem. I will keep looking. Thanks.
I have a question about ColdFusion Report Builder. I use it and it’s great, except that the label wizard doesn’t seem to work. I go through the wizard and set up my address labels and when everything is done nothing shows up except the comma I place between the city field and state field. And then only one comma shows, so if the name and address did appear there would be only one and not my whole address list.
Do you have any idea what is going on here and how I can fix it?
I’ve never used the CF Report Builder, I’m sorry.
Do you get this intermittently (the HTTP Failed:) or consistently everytime ?
I was getting it every time when I had the issue.
Leave A Reply