Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Ruffle failed to load the Flash SWF file #349

Open
Shrinks99 opened this issue Jul 9, 2024 · 0 comments
Open

[Bug]: Ruffle failed to load the Flash SWF file #349

Shrinks99 opened this issue Jul 9, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Shrinks99
Copy link
Member

ReplayWeb.page Version

v2.1.1

What did you expect to happen? What happened instead?

When loading an archive that uses Flash (https://ysdn.info/archives/2009) Ruffle is unable to load https://www.apassionatecuriosity.com/float-quick.swf, a SWF file that does exist in the archive. This results in a 404, and Ruffle saying that: Access to fetch has likely been blocked by CORS policy.

CORS seems to be set up correctly for the site, all of the other archives function as expected in ReplayWeb.page, and all the archives are stored in Backblaze. This could very well be a configuration issue on my end, but we don't seem to document anything beyond what I've done. Finally, Ruffle also works properly when running the site locally which is doubly frustrating! Everything also works on ReplayWeb.page and in the ArchiveWeb.page app.

Step-by-step reproduction instructions

  1. Navigate to https://ysdn.info/archives/2009 and observe the site being broken.
  2. Clone the repo and follow the development instructions if you want to build the site locally and check that everything is embedded properly on your local machine.
    • None of the archive files are actually included in the repo and are all also loaded off Backblaze.
  3. Download the archive in question and try to run it locally with ReplayWeb.page.

Additional details

My Backblaze CORS config:

[
    {
        "corsRuleName": "downloadFromAllowed",
        "allowedHeaders": [
            "*"
        ],
        "allowedOperations": [
            "s3_head",
            "b2_download_file_by_id",
            "b2_download_file_by_name",
            "s3_get"
        ],
        "allowedOrigins": [
            "https://ysdn.info",
            "http://localhost:4000",
            "http://127.0.0.1:4000"
        ],
        "exposeHeaders": [
            "content-type",
            "X-Bz-Content-Sha1"
        ],
        "maxAgeSeconds": 3600
    }
]
@Shrinks99 Shrinks99 added bug Something isn't working documentation Improvements or additions to documentation labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant