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

Fix CORS preflight issue in w3s.link so we can create spaces and authorize Storacha Gateway to serve content of the new spaces #260

Closed
Tracked by #220
fforbeck opened this issue Jan 13, 2025 · 4 comments
Assignees

Comments

@fforbeck
Copy link
Member

fforbeck commented Jan 13, 2025

Error while creating new spaces in the Console App:

image

@fforbeck
Copy link
Member Author

fforbeck commented Jan 13, 2025

Issue found

Image

We had defined a redirect in Cloudflare Rules which was causing the issue in the CORS preflight request.

The fix was to remove these rules from CF.

@fforbeck
Copy link
Member Author

  • Removed both rules, and added a new one to redirect to the docs page.
    New error

Image

@fforbeck
Copy link
Member Author

Fixes

fforbeck added a commit to storacha/console that referenced this issue Jan 13, 2025
### Changes
- Using the correct gateway host

### Related Issues
- storacha/project-tracking#260
@fforbeck
Copy link
Member Author

  • Prod is fixed. The redirect still doesn't work in staging if we use staging.w3s.link, I will move forward and tackle this in another moment.

fforbeck added a commit to storacha/upload-service that referenced this issue Feb 5, 2025
### Changes
- Using the correct gateway host

### Related Issues
- storacha/project-tracking#260
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