5 Replies Latest reply on Oct 20, 2011 8:36 AM by reindeer4

    Need help getting Flash site running after pointed to new nameservers

    reindeer4 Level 1

      View Profile Email Personal Message (Online)   

      Can't get Gaia site working on a new server

      « on: Today at 03:10:35 PM »

      Reply with quoteQuote Modify messageModify Remove messageRemove

      Hi.  I recently switched from 1&1 shared hosting to a new webhost, Holistic.

      My Flash site (based on the Gaia framework) doesn't work now.

       

      Using the Flashplayer Debugger, I got the following error:

      from Main:  view.scaleX = 0.9041666666666667 and view.scaleY = 1.0129032258064516

      from Main:  view.x = 0 and view.y = 0

      Error: Failed to load policy file from xmlsocket://127.0.0.1:5800

      Error: Request for resource at xmlsocket://127.0.0.1:5800 by requestor from http://www.yourgods.com/bin/main.swf has failed because the server cannot be reached.

      *** Security Sandbox Violation ***

      Connection to 127.0.0.1:5800 halted - not permitted from http://www.yourgods.com/bin/main.swf

      Error: Request for resource at xmlsocket://127.0.0.1:5800 by requestor from http://www.yourgods.com/bin/main.swf has failed because the server cannot be reached.

       

      Also got this note even though I've set allowscriptaccess to always in my index.html:

      Warning: AllowScriptAccess='never' found in HTML.  This setting is ineffective and deprecated.  See http://www.adobe.com/go/allowscriptaccess for details.

      Warning: 'com' has no property 'onEnterFrame'

       

      Regarding the Security Sandbox violation, my old webhost was 1&1, and they are still the official Registrar of YourGods.com - but I now have YourGods.com pointed at the DomainNameServers for my new host, Holistic, which specializes in Drupal and has no experience with Flash - so I hope you'll bear with me and offer what guidance you can since they said I was basically on my own for troubleshooting any Flash related problems.

       

      Is that likely to be the source of my problem (that I'm only 'pointing' to the nameservers and have only 'parked' my domain with the new host instead of transferring it completely?

       

      And if so, do I just need to create a cross domain policy xml file like the one below and leave it on my Old Webhost?

      <?xml version="1.0"?> 

          <cross-domain-policy> 

          <allow-access-from domain="MyNewDedicatedIPAddressHere" /> 

          </cross-domain-policy>

       

       

      I've never dealt with this cross domain stuff before so any help would be much appreciated.

        • 1. Re: Need help getting Flash site running after pointed to new nameservers
          adninjastrator Level 4

          I don't have an exact answer..

          but if I'm not mistaken, any

          "://127.0.0.1:5800"

          referrences resources on your local machine... NOT on your server.

          So I'm guessing that you are having pathing problems

          You should be able to test ALL your pages using an http address provided by your new host BEFORE you switch you DNS. If you don't understand that statement.. contact your new host and ask them to explain.

          Best wishes,

          Adninjastrator

          • 2. Re: Need help getting Flash site running after pointed to new nameservers
            reindeer4 Level 1

            Thanks adninjastrator -

             

            Appreciate the help, but even with Google, I'm still pretty lost.

            The site had been working fine on my old host, so I think it has something to do with the transfer / partial transfer / or pointing DNS process as opposed to any reference to something on my C drive though I guess anything is possible.  Googled the error and IP and still wasn't clear to me if that suggested it came from link to C drive.

             

            Hopefully someone can help sort this out.

            • 3. Re: Need help getting Flash site running after pointed to new nameservers
              reindeer4 Level 1

              As a test, I uploaded my Flash/Gaia site into an existing site on my old host.  And although the site actually works in this setting, when I run things in the FlashPlayerDebugger, I'm still getting Security Sandbox Violations - so (as adninjastrator suggested in earlier post), this may have nothing to do with the DNS changes - but perhaps with my setting things up wrong somewhere so that the Flashplayer is trying to access my local computer - maybe??

               

              Debugger logs gives me this:

               

              Error: Failed to load policy file from xmlsocket://127.0.0.1:5800

              Error: Request for resource at xmlsocket://127.0.0.1:5800 by requestor from http://recreationofthegods.com/bin/main.swf has failed because the server cannot be reached.

              *** Security Sandbox Violation ***

               

              So, I've now uploaded the identical bin (which contains all the files for my site) - but I'm getting different behaviors on the two hosts.

              On the new holistic servers, the site won't go past the first page:  www.yourgods.com

              On the 1&1 servers, I still get runtime errors in FlashPlayerDebugger - but the site runs ok - http://www.RecreationOfTheGods.com/bin/index.html

               

              Posting those links in hopes someone with more experience in these sandbox issues can help steer me in the right direction.

              • 4. Re: Need help getting Flash site running after pointed to new nameservers
                adninjastrator Level 4

                127.0.0.1 refers to an address on your local machine, sometimes called "local host"

                http://compnetworking.about.com/od/workingwithipaddresses/g/127_0_0_1_def.htm

                http://www.tech-faq.com/127-0-0-1.html

                If your files are correctly uploaded to a server, you would not be having "local host" issues.

                Not sure how you uploaded to your server but I'd suggest you use an actual FTP program, something like Filezilla. Using an FTP program gives you a very good graphical view of all the files on your server and you can see if they match up exactly with what's on your local machine.

                http://filezilla-project.org/

                Best wishes,

                Adninjastrator

                • 5. Re: Need help getting Flash site running after pointed to new nameservers
                  reindeer4 Level 1

                  Hey adninjastrator -

                   

                  Thanks a lot for your help with this.  It got me pointed in the right direction, and the folks at actionscript.org helped me pin the problem down.  The 127.0.0.1 issue resulted from my having left my Debugger active when uploading my files to the server (totally my fault here; MonsterDebugger specifically tells you in their documentation here to deactivate before going live and discusses socket calls that will be made - now I understand that much better

                   

                  Also had a upper vs lower case error which resulted in the framework's inability to pull in a navigation button, and that runtime error which I found through the Firebug extension of Firefox by looking under the NET tab (again, tip from actionscript.org forums).  Correcting that allowed my site to move on to subsequent pages.

                  I have no idea why the case error wasn't caught in the Flash IDE since AS3 is case sensitive.  Don't know if the requirement is different for stuff taht comes in through XML files . . . anyhow, all is working now and thanks once again for your help in zeroing in on my problems.