3 Replies Latest reply on May 6, 2011 11:13 AM by Flex harUI

    Crossdomain nightmare

    Zolotoj Level 3

      How a regular human being can even understand what exactly is happening here:

       

      Warning: Failed to load policy file from http://localhost/crossdomain.xml
      *** Security Sandbox Violation ***
      Connection to http://localhost/brc/weborb.aspx halted - not permitted from http://ufd-glfdvlws02/brc/accidents_amf/Accidents_AMF.swf
      Error: Request for resource at http://localhost/brc/weborb.aspx by requestor from http://ufd-glfdvlws02/brc/accidents_amf/Accidents_AMF.swf/[[DYNAMIC]]/4 is denied due to lack of policy file permissions.
      Warning: Failed to load policy file from https://ufd-glfdvlws02/crossdomain.xml
      *** Security Sandbox Violation ***
      Connection to https://ufd-glfdvlws02/brc/accidents_amf/weborb.aspx halted - not permitted from http://ufd-glfdvlws02/brc/accidents_amf/Accidents_AMF.swf
      Error: Request for resource at https://ufd-glfdvlws02/brc/accidents_amf/weborb.aspx by requestor from http://ufd-glfdvlws02/brc/accidents_amf/Accidents_AMF.swf/[[DYNAMIC]]/4 is denied due to lack of policy file permissions.

       

      I am getting that running the apps. from a non developer (ufd-glfdvlws02 is developer) computer. From developer it works fine.

      This line:

      Warning: Failed to load policy file from http://localhost/crossdomain.xml

      does it mean that a player is trying to load the file locally?????????????????????? From the test computer??????????????

       

      Then it tries again:

      Warning: Failed to load policy file from https://ufd-glfdvlws02/crossdomain.xml

      So what is it? ufd-glfdvlws02 or localhost?????????

      then this:

      Connection to https://ufd-glfdvlws02/brc/accidents_amf/weborb.aspx halted - not permitted from http://ufd-glfdvlws02/brc/accidents_amf/Accidents_AMF.swf

      where it's getting  https:// from?????

       

      my ..., someone just shoot me.

        • 1. Re: Crossdomain nightmare
          Flex harUI Adobe Employee

          The security rules when running from file:// is different than http://

           

          Set up your debug config to deploy to a server and debug from there and find

          out what requests are being made.  Lots of people manage to lock "localhost"

          into their configuration.  I'm not sure how.

          • 2. Re: Crossdomain nightmare
            Zolotoj Level 3

            I know what requests are being made. It might be even correct that it's not working for me and that is not scarring me - as long as we can make a sense of error messages it's fine. But what my frustration is that these messages are so controversial it's impossible to understand what exactly is wrong. Like I said, first it tries localhost which in case of running from a test computer means exactly what? Then I see the secure connection failing, but I am not using any secure connection for my testing.

            • 3. Re: Crossdomain nightmare
              Flex harUI Adobe Employee

              Localhost is usually mapped to the computer it is running on.  Normally,

              folks don't ever want to see a request to localhost unless they are deployed

              on localhost.  I would be trying to find out why localhost is still being

              requested.