aptos-labs / aptos-connect-feedback

A place to report issues and request features for Aptos Connect
0 stars 0 forks source link

Sign message INVALID_SIGNATURE (sign the same message using Petra OK) #1

Open nhandl3 opened 3 weeks ago

nhandl3 commented 3 weeks ago

Describe the bug Sign and submit using Aptos Connect on devnet (and testnet as well). Aptos Connect popup hangs when click Approve. Inspect in Chrome DevTools showing this failed request:

{
    "message": "Invalid transaction: Type: Validation Code: INVALID_SIGNATURE",
    "error_code": "vm_error",
    "vm_error_code": 1
}

The same message sign and submit successfully with Petra wallet (on devnet and testnet).

To Reproduce Steps to reproduce the behavior:

  1. Setup to use AptosWalletAdapterProvider from @aptos-labs/wallet-adapter-react.
  2. Sign and submit message.
  3. Aptos Connect popup. Click Approve.
  4. See it hangs. Inspect to see the failed request.

Expected behavior Should sign and submit message successfully, like Petra.

Screenshots image

Desktop (please complete the following information):

nhandl3 commented 2 weeks ago

https://github.com/aptos-labs/aptos-developer-discussions/discussions/385#discussioncomment-10467891

You may have to logout and log back in on Aptos Connect. Or clear cache if the issue still persists.

This might be caused by an expired oauth token.