Open miohtama opened 5 months ago
Please use a short-time timeout as workaround, will check why it happens
It's very hard to repeat unless you "have the right device". We believe it might be "CPU speed" issue that you need a fast enough computer.
are you using pocket uiverse? I have issue like this and deactive pocket universe and refresh and it would be ok
No this was not related to pocket universe - I have no idea what's that 😅
I also had the same problem.
Have a similar problem even on M1 Pro Mac. Repeated signatures are the problem as well.
We have integrated Rabby Chrome plugin into our DeFi website.
We encountered a difficult-to-repeat bug with Rabby. When doing a deposit flow that requires Sign a message (EIP-3009) and then send a transaction (with the message as its payload).
On problematic setup, Rabby never opens the second "Sign and Create" dialog. Instead the frontend received an error message "User rejected the request."
0.92.59
.This is what EIP-3009 pop up looks like (if relevant):
Here is Viem/Wagmi output when the error happens - "User rejected the request" comes before Rabby opens the second pop up:
This error is incorrect: The user never really rejected the transaction and never saw the second "Sign and Create" dialog. Instead, the Rabby fires "User rejected the request" right after the first dialog has been confirmed by pressing "Sign and Create" button.
The problem happens only on certain computers. When it happens, it happens repeatedly. When it does not happen, it may happen very rarely, but cannot be repeated to test on those computers. We had really hard time to pin point the root cause, but we believe we found it.
By adding a small timeout (500ms in our case) before the second "Sign and Create" dialog, we fixed the issue.
We believe there might be some race condition, either in Chrome or Rabby, that incorrectly causes "User rejected the request" when an old dialog pop-up is closing or about to close.