Skip to content

[Bug]: 404 for pdf.worker.min.mjs #20807

Closed

Description

@jheel-phantom

Attach (recommended) or Link to PDF file

https://dempt00dokg0g.cloudfront.net/os/unloading_documents/2026/3/2/e0fc744962d24f5b9bb2ee94d4513c7d_file_1772083700859.pdf

Web browser and its version

Chrome/145.0.0.0

Operating system and its version

macOS 26.3

PDF.js version

5.5.207

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Use the 5.5.207 pdf.js version
  2. https://cdnjs.cloudflare.com/ajax/libs/pdf.js/5.5.207/pdf.worker.min.mjs - 404 in network tab
  3. this causes the PDF to not load inside the PDF renderer.
  4. The pdf opens when I directly paste the URL in the browser

What is the expected behavior?

https://cdnjs.cloudflare.com/ajax/libs/pdf.js/5.5.207/pdf.worker.min.mjs should return with 200 response code and the PDF should load.

What went wrong?

Image

Link to a viewer

No response

Additional context

No response

Activity

  1. locked and limited conversation to collaborators on Mar 5, 2026
  2. converted this issue into a discussion #20808 on Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions