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

CORS preventing reading contents of dat #23

Open
paul90 opened this issue Oct 12, 2018 · 0 comments
Open

CORS preventing reading contents of dat #23

paul90 opened this issue Oct 12, 2018 · 0 comments

Comments

@paul90
Copy link

paul90 commented Oct 12, 2018

Getting errors like:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at dat://ed8fd80fbbfb4396fdb1445f449563a52bcce1e3d10b48515a1ec784442dfb61/activity/factory.json. (Reason: CORS request not http).[Learn More]

when trying to read contents from a dat other than the origin.

This is when trying to run dat://federated-wiki-client.hashbase.io/ with dat-fox in the current developer edition of Firefox.

I notice later that the readdir calls are all returning a rejected promise with "Error: Another hypercore is stored here". A connected issue? deleting the problem archive from the datfox cache resolved the "Error: Another hypercore is stored here" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant