Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

Can't View PDF #100

@ideal-living

Description

@ideal-living

This seems like an awesome system, a perfect solution for my needs, however, after uploading my first PDF document, nothing is loaded into the "Annotate" pane. It looks like there's CORS issue with pulling the uploaded PDF from the server where the files are stored.

Access to fetch at 'http://127.0.0.1:9614/204' (redirected from 'https://gaia.blockstack.org/hub/1GfGk2B7zqsDeWPWmSJSndGhkkV1FVwv7q/ef9ad6e0-a250-2e40-1261-b0403c9b0de0.pdf') from origin 'https://blockusign.co' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
127.0.0.1:9614/204:1 Failed to load resource: net::ERR_FAILED
vendor.js:1704 ERROR Error: Uncaught (in promise): TypeError: Failed to fetch
TypeError: Failed to fetch
    at c (polyfills.js:3)
    at polyfills.js:3
    at rejected (main.js:3057)
    at t.invoke (polyfills.js:3)
    at Object.onInvoke (vendor.js:4983)
    at t.invoke (polyfills.js:3)
    at r.run (polyfills.js:3)
    at polyfills.js:3
    at t.invokeTask (polyfills.js:3)
    at Object.onInvokeTask (vendor.js:4974)

I look forward to seeing the potential of this web app once this bug is fixed!

Below are screenshots of the Annotation panel and the console:
blockusign-error
blockusign-error-console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions