1 Reply Latest reply on Oct 26, 2011 10:08 AM by Flex harUI

    "Send Failed" error




      I have an Flex application deployed (Tomcat 6) in my company Intranet with the following URL: http://intranet-server-name:8081/app-name/flex/MyAppIndex.html.

      I have activated the AJP 1.3 connector in the Tomcat server.xml and the Extranet webserver admin has done the necessary operation to allow my application

      to be accessed from the outside with the following URL: https://wwws.my-company-name.fr/app-name/flex/MyAppIndex.html.


      The application is reachable but at logon I have  the "Send failed... HTTP: Status 404 ... " error.


      I have read and tried a lot of the things that most of the people talk about:


      • use a crossdomain.xml file
      • use allowDomain() or allowInsecureDomain() methods
      • adapt my services-config.xml file


      But nothing is working!


      I currently have the "-use-network=false" compiler option.


      I'm mot sure I need a crossdomain.xml, on the login page of my application I have a link to a release notes file and it is still working when I access it from the outside

      (url: http://intranet-server-name:8081/app-name/flex/release_notes.txt). I'm tempted to say that the only thing I have to do is adapt properly my services-config.xml file!?!?


      Anyway here is the content of my crossdomain.xml and services-config.xml files:





                <site-control permitted-cross-domain-policies="master-only"/>

                <allow-access-from domain="wwws.my-company-name.fr" to-ports="*" secure="true"/>

                <allow-access-from domain="intranet-server-name" to-ports="8081" secure="false"/>

                <allow-http-request-headers-from domain="wwws.my-company-name.fr" secure="true"/>

                <allow-http-request-headers-from domain="intranet-server-name" secure="false"/>



      Question: where do I put it? Intranet application server (intranet-server-name) or external web server (my-company-name.fr)?













              <channel-definition id="graniteamf" class="mx.messaging.channels.AMFChannel">








      Question: do I have to adapt the current channel? or create a new chanel for the external access?


      Thank you very very much, in advance, to anybody having relavant information to provide!