7 Replies Latest reply on Feb 23, 2009 9:25 AM by Sar975

    RSL error

    Sar975
      On the same browser version and website about 10% of our users are getting "Digest Mismatch with RSL" error. After that 10% hits the refresh button several time then the swf loads successfully for them. Is there something for those 10% that the users can do on the client side to permanently remove this issue? Is there anything through connectivity (VPN for example) that can cause this issue?
        • 1. Re: RSL error
          rtalton Level 4
          Are you using Flex Builder 3? Have you changed or added any default compiler settings?
          Did you check the help docs under "Troubleshooting RSLs" for your particular error number?
          • 2. Re: RSL error
            Sar975 Level 1
            We are using flex 3 building using ant script as follows:

            The only known change that was made was someone accidentally checked in an ant script with a different swf other than framework_3.0.0.477.swf to the repository which we reverted. The same people are reporting the error and everyone else doesn't get this problem that's why I was wondering if there is something client or network wise that can cause this problem. You would think if we built something by mistake that everyone would experience the problem.

            <!-- Compile Flex files -->
            <target name="compile.flex" depends="init">
            <mxmlc file="${flex.src}/${module}.mxml"
            keep-generated-actionscript="false"
            output="${build.dir}/flex/${module}.swf"
            actionscript-file-encoding="UTF-8"
            incremental="false"
            debug="false" >
            <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
            <url rsl-url="../flex/framework_3.0.0.477.swf"/>
            </runtime-shared-library-path>
            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />

            <!-- List of path elements that form the root of ActionScript class -->
            <source-path path-element="${FLEX_HOME}/frameworks" />

            <!-- Include application action script classes as source -->
            <source-path path-element="${flex.src}"/>

            <source-path path-element="${flex.src}/resources"/>

            <!-- Include flex framework swc components -->
            <compiler.library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
            <include name="*" />
            </compiler.library-path>
            </mxmlc>

            </target>

            <!-- Build the application -->
            <target name="build" depends="init">
            <antcall target="compile.flex" />
            </target>

            <!-- Deploy the swf file to the war and copy over resources to the war -->
            <target name="deploy" depends="init">
            <copy todir="${basedir}/j2ee/sbs.war/flex" overwrite="true">
            <fileset dir="${basedir}/build/flex" includes="**/*" />
            <fileset dir="${FLEX_HOME}/frameworks/rsls" includes="framework_3.0.0.477.swf" />
            </copy>
            <copy todir="${basedir}/j2ee/sbs.war/resources" overwrite="true">
            <fileset dir="${flex.src}/resources" includes="**/*" />
            </copy>
            </target>
            • 3. Re: RSL error
              rtalton Level 4
              I don't use ant, so I can't help you there, sorry.
              If a user of your app already has the proper RSL, it won't be downloaded again so they may never see the error.
              I'm assuming you are targeting at least Flash Player 9.0.115.
              • 4. Re: RSL error
                Sar975 Level 1
                Yes targeting Flash Player 9. If they previously downloaded a different version do they just clear out the temporary internet files to ensure the next time they will get what is available from the server without conflicts? Strange that these users who have the problem can hit refresh several times and the problem goes away.
                • 5. Re: RSL error
                  rtalton Level 4
                  You've just got a mismatch between your framework RSL and your application's RSL digest.

                  Check that you are targeting Flash Player 9.0.115 . Adobe-signed RSLs are made to work with that version and above, only. They are NOT stored in the browser's cache. Clearing the browser cache will not affect it.

                  From the help docs:
                  This error indicates that the digest of a library does not match the RSL SWF file. When you compile an application that uses an RSL, you specify the library SWC file that the application uses for link checking at compile time and an RSL SWF file that the application loads at run time. The digest in the library's catalog.xml file must match the digest of the RSL SWF file or you will get this error. If this error persists, recompile the application against the library SWC file again and redeploy the application's SWF file.

                  If you are using framework RSLs, then the SWZ file is a different version than what the application was compiled against. Check whether this is the case by adding a failover RSL SWF file and recompiling. If the error does not recur, then the SWZ file is out of sync.
                  • 6. Re: RSL error
                    rtalton Level 4
                    You've just got a mismatch between your framework RSL and your application's RSL digest.

                    Check that you are targeting Flash Player 9.0.115 . Adobe-signed RSLs are made to work with that version and above, only. They are NOT stored in the browser's cache. Clearing the browser cache will not affect it.

                    From the help docs:
                    This error indicates that the digest of a library does not match the RSL SWF file. When you compile an application that uses an RSL, you specify the library SWC file that the application uses for link checking at compile time and an RSL SWF file that the application loads at run time. The digest in the library's catalog.xml file must match the digest of the RSL SWF file or you will get this error. If this error persists, recompile the application against the library SWC file again and redeploy the application's SWF file.

                    If you are using framework RSLs, then the SWZ file is a different version than what the application was compiled against. Check whether this is the case by adding a failover RSL SWF file and recompiling. If the error does not recur, then the SWZ file is out of sync.
                    • 7. Re: RSL error
                      Sar975 Level 1
                      After some research on this we found the only users getting this symptom were connecting through vpn. What file accessibility issue might cause this error?