Internal json-rpc error là gì

You will see this error on Chrome (and potentially on Firefox, Edge and Brave):

Internal JSON-RPC error.

Internal json-rpc error là gì

Install Firefox #

The instructions from MetaMask support telling that Chrome 91 and MetaMask 5.7.1 work are incorrect. There is no "Use Ledger Live" menu option.

Download Firefox from GetFirefox.com.

You should also use Firefox as your overall browser, as it is much better than Google Chrome for your privacy.

Internal json-rpc error là gì

Install Ledger Live #

Install Ledger Live.

Update Ledger firmware and all your apps on Ledger to the latest versions #

Update to the latest Ledger apps version on your device using Ledger Live manager - Otherwise Firefox cannot connect to your Ledger wallet.

Internal json-rpc error là gì

Run Ledger Live and import your wallet, add Ethereum account. #

Internal json-rpc error là gì

Connect to Firefox #

Start Ethereum application on your wallet.

Now Ledger should be able to connect to your Firefox without issues.

Make sure Contract data is allowed in Ethereum app settings on the device, because this option is reset by the update.

Internal json-rpc error là gì

I'm developing the front-end to an application that I'm trying to test. However, MetaMask keeps giving me this error? I tried changing the gas limit like previously suggested and nothing. Any ideas?

Error: MetaMask - RPC Error: Internal JSON-RPC error.

code: -32603 data: {code: -32000, message: "gas required exceeds allowance (30000000) or always failing transaction"} message: "Internal JSON-RPC error."

asked Apr 2, 2021 at 20:18

4

Without seeing the code, it's hard to say for sure but you could try:

  1. Check any code you changed in the front end, specifically in your code you may have something like this:
const contractInstance = new state.web3.eth.Contract(
    MyContract.abi,
    "0x.....",            // contract address
    {
        from: state.accounts[0],
        gasPrice: 1000,
        gas: 100000
    }
);

Make sure the gas prices are similar to those, you may have to adjust for your case.

  1. Re-compile and redeploy --> for truffle, run truffle develop first, then compile then migrate --reset for local deployment.

  2. In Metamask, reset your test account. Metamask > Select Account > Settings > Advanced > Reset account. Only do this for testing accounts

answered Apr 5, 2021 at 22:36

Internal json-rpc error là gì

Previously it used to happen in older versions due to a gas specification issue which was fixed. rpcErrors.internal` expects a string as the first argument, with arbitrary data being the optional second argument. Passing in a non- string first argument results in the error being shadowed by an error from eth-json-rpc-errors.

Please check what you are passing to Metamask.

answered Aug 11, 2021 at 10:50

Internal json-rpc error là gì

In my case, after trying so many options I have restarted Ganache and re-imported new account from Ganache to Metamask. I connected this new account with localhost application.

This resoles my issue.

Internal json-rpc error là gì

Dharman

28.5k21 gold badges77 silver badges129 bronze badges

answered Mar 20 at 18:43

Before performing any transaction the sending ETH address must be connected to your own site or UI. So it can get the address of sending account and goes towards the further transaction in the metamask.

Make sure Your sending account address must be connected to your UI.

answered Jun 27 at 15:48

Internal json-rpc error là gì

1