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

[bug] Blocked a frame with origin "capacitor://localhost" #3232

Open
reslear opened this issue Nov 12, 2024 · 0 comments
Open

[bug] Blocked a frame with origin "capacitor://localhost" #3232

reslear opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working needs review

Comments

@reslear
Copy link

reslear commented Nov 12, 2024

Link to minimal reproducible example

no need

Summary

CleanShot 2024-11-12 at 15 54 43@2x

When attempting to access a frame with origin https://verify.walletconnect.org from a frame with origin capacitor://localhost, the operation is blocked due to a protocol mismatch between the two frames. Specifically, capacitor protocol cannot access resources with the https protocol, causing cross-origin restrictions to prevent the connection.

https://ionicframework.com/docs/troubleshooting/cors

Also added to console

CleanShot 2024-11-12 at 17 06 43@2x

List of related npm package versions

latest

@reslear reslear added bug Something isn't working needs review labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review
Projects
None yet
Development

No branches or pull requests

1 participant