-
Notifications
You must be signed in to change notification settings - Fork 722
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
Verify iframe failed to load #3500
Comments
Hi, does this happen on production and dev env or only prod? |
We haven't released this feature on prod yet. Because we have no opportunity to test it on dev. |
Do we have correct configurations in cloud walletcollect? |
can you try setting swcMinify to false in the next.config.js file? Your cloud config is ok :) |
Okay, with The connection is processed, even if there is still this verify error in the console. The But, when I am opening a modal to make the transaction, I might have add, that we start every time a new session. And after transaction's success/error - we disconnect the session. |
could you confirm your MetaMask version is 7.4 or above? |
Yes, I am on v7.4.0 (1159). |
thanks!
|
Yep, sure. I will share an example in a while. And I didn't catch what to check on labs, that you have provided? P.S. on our dev Trust wallet works for transaction. The question is about transactions in Metamask. |
We have the same error as here #3500 (comment) |
@zolotokrylin are you using testnet chains? this seems like a different issue. |
Yes. |
@zolotokrylin Trust doesn't support Testnet, you can add those chains in optionalChains/namespaces |
I have an update. Transactions were not working with one of the test networks. |
@glitch-txs I also encountered this problem. May I ask when it can be fixed? |
We have released Wallet Connect. It works on production. |
We're also seeing this issue. It's an angular project, so we can't set |
The verify error should not affect the functionality of your app, if there's an issue might be related to something else, feel free to open an GitHub discussion on the topic. |
We use the WalletConnect SDK as part of our Beacon SDK. After updating to
Did you mean to say that it should not affect the functionality of our app? |
yes @AndreasGassmann sorry for the typo |
@glitch-txs Seeing the same behavior after upgrading WalletConnect dependencies. The console errors will appear about 5 seconds after the |
+1 this started happening after I upgraded to wagmi 1.4.1 and using connectkit 1.5.0 |
I can confirm that this error disappears after downgrading to 2.7.0. And I can also confirm that WC2 (on 2.9.0) still works, despite this error. However, I would like to have some clarification around what is happening. We have released our beacon-sdk with a reference to version 2.9.0, which means dApps will get that error and might not upgrade because of it. Depending on what the underlying issue is, we can either downgrade to 2.7.0 again and release a new version of our beacon-sdk until you release a new version that fixes it, or if its a serverside fix that you are working on, we can keep the current version and tell our users that it will be fixed. Thanks a lot for the help. |
Hi everyone we're currently working on a fix for this, in the meantime this error can be ignored and shouldn't affect WalletConnect functionalities. If you're experiencing a problem in terms of functionality please feel free to open a new discussion/issue so we can look into it, thanks 🙏 |
I am also facing the same issue, moreover i cant see the popup opening for a wallet connection. |
Any update @glitch-txs ? |
Update: To add a little bit of context: We've integrated Verify API recently which prevents Wallets from connecting to unverified domains. So this error will show whenever a domain wasn't verified on cloud or when runnning on localhost (since localhost wasn't verified either - and it shouldn't). To minimize the confusion we've changed this message from |
problem is that the link in |
This issue is now resolved as of |
FYI. Experiencing the same issue now when using web3modal/react (since it's on 2.7.1 core). Because web3modal is relatively far behind, unsure what the best course of action is here? |
@simondlr it needs to be updated in wagmi repo |
Yes I believe so. https://github.com/wagmi-dev/wagmi/blob/main/pnpm-lock.yaml#L312. I have a version that seems to be using 2.9.0 that is working but even after cherry picking versions after diff checking the package locks, it's still not working for me. |
I dropped web3modal/react and web3modal/ethereum down to 2.7.0 that uses 2.7.0 across the board and it now works, but that in turn opens up a whole new set of problems like missing #3230 which is causing the socket to be stalled randomly. Feel like the best approach here is to avoid web3modal/react altogether until 3.0.0 is done and implemented in web3modal and try implementing directly from core. 🤷♂️ @glitch-txs thoughts? EDIT: I have to dig in a lot more. In using Frame, when injecting Frame as-is, the verify iframe problem comes back, but injecting as metamask (with Frame) removes it, but then socket stalls. I'm doing a refactor to finally migrate from v1 and this will take a substantially larger re-write to fix. I'll relay more when I hopefully get around to fixing this. |
I was able to get everything working on
Also needed this fix. hirosystems/stacks.js#1096 (comment) Also
|
Pretty frustrating. The only way I can get WC to work on localhost is to create a new project and use a fresh projectId. Then a few hours later I start to get the "Refused to frame 'https://verify.walletconnect.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors" error |
@bitcoinski which version are you using? |
"@wagmi/core": "^1.4.1", |
@bitcoinski can you update all packages including wagmi? I think it should be 1.4.2 or higher if I'm not mistaken |
Still getting the iframe error with: "@wagmi/core": "^1.4.2", This *is blocking because it throws an error, not an info. Appreciate the help @glitch-txs Trying to follow: https://docs.walletconnect.com/2.0/web3modal/html/wagmi/installation |
@glitch-txs but as mentioned before, if I create a new ProjectId from cloud.walletconnect then it works on the first try |
Can you update all the dependencies? Also maybe reinstalling node_modules/clearing cache/storage. |
Describe the bug
Connection with any wallet is not working on https: protocol.
On localhost still everything works fine.
Modal opens with no console Errors, but after I scan a QR code with Metamask / Trust wallets, this error occurred and nothing else happens. Modal remains open, in wallet no response. Just an error in our web dApp:
And also tried to connect to dev environment on your https://react-wallet.walletconnect.com/walletconnect:
SDK Version (if relevant)
"next": "^12.2.2",
"@walletconnect/modal": "^2.6.1",
"@walletconnect/sign-client": "^2.10.0",
To Reproduce
As described in following issue. I have updated to the latest version of the sign-client. But there is another bug in connection.
#3492
Expected behavior
Connection between our web dApp and any wallet, at least Metamask, is working on https: protocol.
Desktop:
OS: [macOS, iOS]
Browser [Chrome]
Version [Version 115.0.5790.170 (Official Build) (arm64)]
Smartphone:
Device: [iPhoneX]
OS: [iOS 16.5.1]
The text was updated successfully, but these errors were encountered: