-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
DOMException Failed to execute 'postMessage' on 'Window' #6080
Comments
I have a same issue... Any solutions for this? |
I fixed this issue by running |
Same issue with web3@beta.41 .Solved installing web3:1.0.0-beta.37 |
Solved by installing web3:1.0.0-beta.37 Thank you so much! |
Not sure, but i have the same issue https://play.ethereum.org/play-editor/ The error happens when you Any clue what this is about? |
Any news about how to resolve this issue? |
Getting the same with beta47 :( |
I also get this now with another Dapp. First Dapp uses ethers.js and the second one web3.js :( |
Also hitting this issue with 1.0.0-beta.48 when attempting to perform a web3.currentProvider.send({ method: 'personal_sign', params: params, from: _account}); |
Same issue with 1.0.0-beta.48 - solved by installing the beta.37 |
also resolved this by switching from beta.48 to beta.37 |
same here, resolved this by switching from beta.48 to beta.37... hoping that this will be resolved in beta.49 |
Opened an issue on web3.js with live reproduction demo web3/web3.js#2528 |
@wfoster232 this does not look correct, web3.currentProvider.send({ method: 'personal_sign', params: params, from: _account}); |
conclusion from #6262 (comment):
if you were using a callback before, it accidently includes the callback in the params in place of the password string. the callback is not json serializeable, thus throwing the error. |
based on comments above, sounds like there are some additional issues (error on deploy, etc) |
Ye I get this using Nuxtjs and metamask - any ideas? Will try to downgrade to |
Have tried try { c = await MyContract.deployed(); } catch (e) {console.log(e);} Firefox error
Chromium error
|
Also getting this error when using In my setup, this error only occurs after I run a |
Same issue here, any news....? |
|
I was using web3 |
I ran into this problem running |
Closing as this currently sounds like it was a web3.js issue which is likely even resolved by now. Please let us know if it's not. |
I'm aware of #1280 (I'm running local server on port 3000) and #5333 (I'm not so sure what this is but it was fixed?). Apologies in advance if this was covered already, I cant seem to find it.
Describe the bug
A clear and concise description of what the bug is.
I've set up web3 so that I'm using the latest version of web3 (1.0.0 beta 43) that sets the provider from the metamask's web3.
const provider = window.web3.currentProvider; provider.enable(); const web3 = new Web3(provider);
I've currently deployed a contract on Rinkeby and am trying to get a simple public variable called manager using
contract.methods.manager.call()
, but I'm getting this DOMException in Chrome:The text was updated successfully, but these errors were encountered: