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

Debugging flutter project in IDX throws an error "blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." #2520

Closed
SathishLondon opened this issue Nov 7, 2024 · 1 comment

Comments

@SathishLondon
Copy link

I am using idx UI (idx.google.com) editor for developing flutter app. Using the default flutter app template, I created a new flutter project. When I tried to run the project in debug mode, I am getting an error.

I tried the suggestions in stackoverflow page but the recommendations were of no use. https://stackoverflow.com/questions/46522749/how-to-solve-redirect-has-been-blocked-by-cors-policy-no-access-control-allow

Access to manifest at '<URL #1>' (redi rected from '<URL #2>') from origin '<URL #3>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on therequested resource.
Screenshot 2024-11-07 163200

@bkonyi
Copy link
Collaborator

bkonyi commented Nov 13, 2024

I'm not totally familiar with IDX, but as far as I know we don't support debugging Flutter Web applications using IDX as it needs to support connecting to DWDS using SSE over HTTPS, which isn't supported.

@bkonyi bkonyi closed this as completed Nov 13, 2024
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

2 participants