MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.11k stars 1.09k forks source link

[Sentry] Error: Internal JSON-RPC error. #7926

Open sentry-io[bot] opened 9 months ago

sentry-io[bot] commented 9 months ago

Sentry Issue: METAMASK-MOBILE-251H

Error: Internal JSON-RPC error.
  at _createSuperInternal (app:///index.android.bundle:31:28)
  at internal (app:///index.android.bundle:31:39)
...
(22 additional frame(s) were not displayed)

Action Item

sentry-io[bot] commented 4 months ago

Sentry Issue: METAMASK-MOBILE-2CKR

NicolasMassart commented 3 months ago

Note about the action to change the name of the issue: we don't know much and it just seems to be "request failed or timed out"

sentry-io[bot] commented 3 months ago

Sentry Issue: METAMASK-MOBILE-2FZW Working sourcemap seems to point at a body parsing error: node_modules/@metamask/eth-json-rpc-middleware/dist/fetch.js in ?anon_0__loop at line 57:45

                    fetchBody = JSON.parse(rawBody);
                }
                catch (_) {
                    throw new Error(`FetchMiddleware - failed to parse response body: "${rawBody}"`);
                }
                const result = parseResponse(fetchRes, fetchBody);
                // set result and exit retry loop
                res.result = result;
                return;
            }
            catch (err) {

The Sentry issue also logs an eth_sendTransaction call just before the error:

[
   "RPC (app.uniswap.org):",
   {
      "method":"eth_sendTransaction",
      "params":[
         {
            "gas":"0x541bc",
            "from":"******************************************",
            "to":"******************************************",
            "data":"******************************************0000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006662add300000000000000000000000000000000000000000000000000000000000000050a0800060c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000001600000000000000000000000003ffeea07a27fab7ad1df5297fa75e77a43cb5790000000000000000000000000ffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000668a388500000000000000000000000000000000000000000000000000000000000000000000000000000000000000003fc91a3afd70395cd496c647d5a6cc9d4b2b7fad000000000000000000000000000000000000000000000000000000006662b28d00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000416318de6ae2a7a0a6f54a46ba1a2244d759722706e38c6e8b855df5d9ad2aff7e270748f62192dbe121283150324220e01cd3e5919f57cf9ce66f5035f8321d881b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000c59d3bd96c4c794313e446b90000000000000000000000000000000000000000000000001bf90028475fc2bd00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000003ffeea07a27fab7ad1df5297fa75e77a43cb5790000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000083be27e64832fb820d42d9d1000000000000000000000000000000000000000000000000129673c01116f3db00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002b3ffeea07a27fab7ad1df5297fa75e77a43cb5790002710c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000fee13a103a10d593b9ae06b3e05f2e7e1c0000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000002e7d8cde013ecb3a"
         }
      ],
      "jsonrpc":"2.0",
      "id":2693992511,
      "toNative":true,
      "origin":"app.uniswap.org"
   },
   "->",
   {
      "id":2693992511,
      "jsonrpc":"2.0",
      "error":{
         "code":-32603,
         "message":"Internal JSON-RPC error."
      }
   }
]
sentry-io[bot] commented 2 months ago

Sentry Issue: METAMASK-MOBILE-2G0E

sentry-io[bot] commented 2 months ago

Sentry Issue: METAMASK-MOBILE-2EP3

sentry-io[bot] commented 2 months ago

Sentry Issue: METAMASK-MOBILE-2EQ8

adonesky1 commented 1 week ago

@NicolasMassart it seems like the linked sentry errors are no longer happening? Has this been fixed?