Skip to content

PDF.js error: Failed to fetch when opening any file in ChatDOC #39

@hzphzp

Description

@hzphzp

Description

When using ChatDOC, every file fails to open with an error from PDF.js. The PDF preview does not load at all.

Error message:

PDF.js v2.13.217-alpha.114 (build: 2046b8dac)
Message: Failed to fetch

Steps to Reproduce

  1. Open any document / PDF in ChatDOC
  2. The error above appears every time, regardless of the file

Environment

  • OS: macOS
  • Browser: (e.g. Chrome / Safari / Firefox)
  • Using proxy / VPN / corporate network: N/A
  • Reproducible in incognito mode / with extensions disabled: N/A

Additional Information

  • This issue is not limited to a specific PDF — it happens with every file.
  • If helpful, I can provide Network panel screenshots showing the failed requests (status code, CORS, blocked, etc.).

Thanks for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions