2 Replies Latest reply on May 28, 2012 5:04 PM by Kristian Wright

    Does Flash Player require an internet connection to get framework files?

    Kristian Wright Level 1

      Hi,

       

      I've already posted this in the Flash Player forum, but thought I'd try here, since it's a Flex Framework that can't be accessed...

       

      I'm a developer and recently deployed a LiveCycle solution for a customer in their workplace.  It uses Process Management, and therefore the users need to log into LiveCycle Workspace in the browser, which runs in the Flash Player.

       

      When I first installed the system and tested it in their environment, everything performed as expected, and users could access the system on a couple of different machines, log in, and the Guides would render in Workspace.  All good there - everything works as expected.

       

      However, the company is moving this out of the testing phase and into production, and therefore using different PCs to access Workspace.  These new PCs do not have (and have never had) internet access, but they DO have browsers and flash player installed, they can access the LiveCycle server, users can log into Workspace correctly - the system is running and working!  But as soon as the Guides try to render in the Flash Player,  the following error appears on Guide initialization:  Error #2032

       

      After installing the debug version of the flash player on the machine, this was the output of the flashlog.txt file (IP address has been changed but nothing else):

       

      Error: Failed to load policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml

      Warning: Failed to load policy file from http://fpdownload.adobe.com/crossdomain.xml

      *** Security Sandbox Violation ***

      Connection to http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.2 1746.swz halted - not permitted fromhttp://123.456.789.0:8080/guides/static/2f4170706c69636174696f6e732f47 7569646573202873797374656d292f322e302f52756e74696d652f6463636f6e746169 6e65725f62756e646c653a313333333333343737303832333a506e567a626970573a67 5439773131364c32756b49516638566b34496f7a6446586336382e.swf?locales=en_ US

      Error #2048: Security sandbox violation: http://123.456.789.0:8080/guides/static/2f4170706c69636174696f6e732f47 7569646573202873797374656d292f322e302f52756e74696d652f6463636f6e746169 6e65725f62756e646c653a313333333333343737303832333a506e567a626970573a67 5439773131364c32756b49516638566b34496f7a6446586336382e.swf?locales=en_ US cannot load data from http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.2 1746.swz.

      Failed to load RSL http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.2 1746.swz

      Failing over to RSL /guides/framework_4.5.0.21746.swz

      Error: Request for resource at http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.2 1746.swz by requestor fromhttp://123.456.789.0:8080/guides/static/2f4170706c69636174696f6e732f47 7569646573202873797374656d292f322e302f52756e74696d652f6463636f6e746169 6e65725f62756e646c653a313333333333343737303832333a506e567a626970573a67 5439773131364c32756b49516638566b34496f7a6446586336382e.swf?locales=en_ US is denied due to lack of policy file permissions.

      Error #2032: Stream Error. URL: http://123.456.789.0:8080/guides/framework_4.5.0.21746.swz

       

      I tried adding in a crossdomain.xml file into the JBoss deployment etc etc, but I had no success.  I asked the tech guys there what were the differences between these PCs and the others which are working (and still work now).  They mentioned that the only difference was that these non-working computers had no internet connection.

       

      So I got one of the non-working computers moved downstairs and into a subnet that had internet connection, tried again, and the Guide worked!  Everything ran smoothly.  After this, we returned the computer back to a subnet without internet connection, and it still worked!

       

      So now, it seems that this computer can successfully access the system and load the Guides regardless of having an internet connection or not, as it should.

       

      But my question here is WHY this was needed in the first place?  Does the Flash Player require an internet connection after it's installation in order to load/run certain things?

       

      I found someone with a very similar issue here:  http://forums.adobe.com/message/3060233  but this was posted a year ago with no response.

       

      At the end of the day, we have the 'workaround' of moving PCs downstairs, hooking them up to the interwebs, and rendering the Guide at least once with internet connection, then moving them back, but that's not a solution.

       

       

      Can anyone shed some light on what's going on here?  Adobe - can you confirm that in certain scenarios the Flash Player requires internet connection?  If so are there any workarounds (besides the one I've already mentioned?)

       

      ANY thoughts / comments appreciated!!

       

      Thanks,

      K.

        • 1. Re: Does Flash Player require an internet connection to get framework files?
          Flex harUI Adobe Employee

          The default configuration in Flex 4 attempts to access RSLs from adobe.com.  You can reconfigure where it gets the RSLs or simply not use the RSLs.  See the merged-into-code linkage.

          • 2. Re: Does Flash Player require an internet connection to get framework files?
            Kristian Wright Level 1

            Thanks for the response, Flex harUI.

             

            I've checked the Guide custom component, and it does use the default external framework linkage.  I understand the difference between using an external link for RSLs / framework and embedding the code, but the official documentation from Adobe regarding Flex library Projects for Guide extentions does not mention the need to embed any code other than the dcruntime_library.swc and guides_runtime_spark.swc which I have done.  It  makes sense that if I use external links for the framework and have no internet connection that it will have trouble finding the code, but what's concerning me most is the last line of the flashlog.txt file posted above:

             

            Error #2032: Stream Error. URL: http://123.456.789.0:8080/guides/framework_4.5.0.21746.swz

             

            It seems that since it can't find the external requirements off the web, it's trying internally as a fallback and failing.  This in turn is leading me to think that the cause might be a different issue than first suspected...

             

            Unfortunately, at the moment I don't have the opportunity to include the framework into the components and redeploy, but as soon as I can, I will.

             

            In the meantime, I'm looking into infrastructure issues as to why it can't seem to serve the framework from it's own machine...

             

            Thanks,

            K.