web3-react icon indicating copy to clipboard operation
web3-react copied to clipboard

Failed to execute 'postMessage' on 'BroadcastChannel' error on Rabby signature with Ledger

Open BenAzlay opened this issue 2 years ago • 1 comments

I am trying to sign a message with Ledger through Rabby using personal_sign:

const signature = await web3.eth.personal.sign(messageToSign, account, '')

And this is the error I get in the console: image As we see in the error's trace, it is thrown by web3provider. Here is the complete error message:

"Failed to execute 'postMessage' on 'BroadcastChannel': function (r, n) {
        return n && n.id && t.id !== n.id ? e(new Error("Wrong response id ".concat(n.id, " (...<omitted>... } could not be cloned."

This error is not thrown when using Rabby without Ledger, or when using other wallets like Metamask.

BenAzlay avatar Jul 17 '23 15:07 BenAzlay

Edit: this error happens with Rabby no matter if I'm using Ledger or not.

BenAzlay avatar Jul 17 '23 15:07 BenAzlay