Faultcode = Client.error.messagesend Faultdetail = Channel.connect.failed Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about
Netconnection Call Failed Http Failed
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask netconnection.call.failed http status 500 Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. flex netconnection.call.failed: http: failed Join them; it only takes a minute: Sign up Client.Error.MessageSend - Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: up vote 2 down vote favorite I am a beginner in Flex. I was trying out a Flex-Spring-Hibernate-Java project, which would fetch the records from database and show it in a grid. But, when I try to open my application, I get the following error : ?[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8080/demo/spring/messagebroker/amf'"] What this error is regarding ? PS : I saw the other related error links similar to this error, but that didn't help me out. Other Project related details :- ContextWebRoot : Statistics ( name of my project ) java flex actionscript flex3 amf share|improve this question asked Jun 12 '13 at 12:14 sgokhales 28.1k1987120 IT looks like a 'standard' 404 error; which in web terms means "page not found". Does the URL localhost:8080/demo/spring/messagebroker/amf load in your browser? Or not; then the issue is a server configuration issue. –JeffryHouser Jun 12 '13 at 12:24 Thanks for your reply. I was trying the project sample from here .. webdbtips.com/68807 .. Nope, that url leads to 404 on my web browser. I named the combined Flex-Java project using BlazeDS as "Statistics" –sgokhales Jun 12 '13 at 12:30 Which configuration am I missing or missed out ? –sgokhales Jun 12 '13 at 12:30 1 if the url is 404'ing in your browser, then flash won't be able to get it either :) - are you running a local server, like WAMP or EasyPHP? –divillysausages Jun 12 '13 at 12:47 I assume you have a web server set up on your local machine at port 8080? It sounds like something is wrong w/ your AMF endpoint URL; so AMF is misconfigured. I have no idea how to direct you from here, though. @divillysausages If he is using Spring-Hibernate-Java; then he won't be running WAMP or EasyPHP. –JeffryHouser Jun 12 '13 at 12:54 | show 1 more comment 1 Answer 1 active oldest votes up vote 0 down vot
ColdFusion I've been doing some with for the Flextras promotions around 360|Flex. As part of the promotions I am creating a customized version of my Game; strictly for Flextras. It is going to allow people to login and will keep score on our server instead of internally to the app. Since this is a Flash app; I'm using Flash Remoting to connect to our ColdFusion server. Everything worked fine on my local machine. Everything worked fine on my development server (AKA Staging). However, my production machine was giving errors that looked like this: faultCode: "Client.Error.MessageSend" faultDetail: "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: faultString: "Send failed" I've tried a lot of different things including not using http://stackoverflow.com/questions/17065234/client-error-messagesend-channel-connect-failed-error-netconnection-call-faile http instead of https. I knew that Flash Remoting was working on the production server because I had other Flex apps working without problems. So, what was the problem?I've been working on this on and off for about five days; so tried a lot of different things. In the end I discovered two things: Make sure your Flash Remoting URL has a '/' at the end of it. 'https://www.flextras.com/flex2gateway' was not working. It appeared to add http://www.jeffryhouser.com/index.cfm/2012/4/4/flash-remoting--wont-connect-netconnectioncallfailed a JSessionID on it; which was causing the server to throw a 404 error; causing the whole call to fail. However, if I changed this to 'https://www.flextras.com/flex2gateway/' that problem went away. Turn off the Flash Builder Network Monitor. The Flash Builder Network monitor was intercepting the call and causing it to fail. The calls appeared to work fine from a web browser with the Flash Builder Network Monitor enabled, but not from the mobile app. I think--but am not completely sure--part of my issues related to using HTTPS on the server instead of HTTP. That could be the reason I had issues on the production server, but not my local or staging box. Comments (9) | Send | del.icio.us | Digg It! | Linking Blogs | 14148 Views Comments (Comment Moderation is enabled. Your comment will not appear until approved.) [Add Comment] [Subscribe to Comments] The reason why the URL wasn't working is because of this :If you have a Java based server, with session tracking, it will automatically add the jsessionID to the end of your url. This is not the default behavior of ColdFusion's JRUN, however it is the default for JETTY, Tomcat and Websphere. When you make a RemoteObject (Flash Remoting / AMF3) call to your server, it is riding over HTTP. ColdFusion sets up a special J2EE application that handles all o
Forum.net version 1.9.1.8 (NET v4.0) - 3/29/2008Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.This page was generated in 0.035 seconds.