Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid sender - when sending transactions to Private Network #1444

Closed
illya13 opened this issue May 17, 2017 · 16 comments
Closed

invalid sender - when sending transactions to Private Network #1444

illya13 opened this issue May 17, 2017 · 16 comments

Comments

@illya13
Copy link

illya13 commented May 17, 2017

Geth based Private Network.
Versions:

  • 1.5.9
  • 1.6.1
  • 1.6.2 (unstable / master)

started as

geth --datadir /data --rpc --rpcaddr "0.0.0.0" --rpccorsdomain "*" --rpcapi "db,eth,net,web3,personal,admin,miner" --ipcdisable --mine --minerthreads 1 --nodiscover --maxpeers 0 --networkid 2017 --etherbase "0x8a31c26c8adb2bb0f45d70a635fcb0c4309c649b"

Please notice

--networkid 2017

MetaMask version:

  • 3.6.4

Send any tx from MetaMask (including coins transfer from one MetaMask account to another) fails with invalid sender. I.e. RPC eth_sendrawtransaction fails with invalid sender

Downgrading MetaMask to 3.5.2 did help

Other RPC requests are working Ok:

  • get Balance
  • get Transactions Count
@tmashuang
Copy link
Contributor

I think this problem is related to Metamask/metamask-plugin/#1357

@illya13
Copy link
Author

illya13 commented May 17, 2017

yes,
#1357 (comment)
looks very similar

@illya13
Copy link
Author

illya13 commented May 18, 2017

Sometimes have the same issue with Network ID = 17
Sometimes means - I have 2 computers, both with MetaMask 3.6.5 and connected to the same network
From 1 computer I can sign tx But from another - I can't

@danfinlay
Copy link
Contributor

Are those two computers signing for the same account? That would be a different problem, and it's avoided by using different accounts from different browsers.

@illya13
Copy link
Author

illya13 commented May 18, 2017

It might be the same coinbase imported. But what is the reason? Are you cashing nonce? I saw getTransactionsCount So it looks like you are getting nonce just before sending.

@danfinlay
Copy link
Contributor

We are caching nonce, and our nonce caching is currently having some issues, we're fixing it asap. #1127.

That usually just results in a tx not getting mined, which resembles your recent comment, but does not return an invalid sender error.

@kumavis
Copy link
Member

kumavis commented Mar 21, 2018

@illya13 how did you resolve the issue? was it an EIP155 problem?

@illya13
Copy link
Author

illya13 commented Mar 22, 2018

changed --networkid 2017 to --networkid 17

@Kenmarts
Copy link

Kenmarts commented Sep 5, 2018

Errrmmm... Hi... I'm not a tech guru like y'all, I just need help, I keep getting invalid user on my Android trust app, I'm using the latest version.
[email protected]...
Please that's my mail... Anyone with solutions can peep me there cos I don't know if I'll be able to get this thread again.
Thanks and sorry if I'm breaking any rules

@illya13
Copy link
Author

illya13 commented Sep 5, 2018

for private network ?

@Kenmarts
Copy link

Kenmarts commented Sep 5, 2018

Please explain private network, I was trying to send from one wallet to another on the TRUST WALLET app.
Sometimes it says " unknown transaction error " then it says " invalid user or sender ".
The solution might be helpful to others encountering this problem, so please help try solve it as o may not follow up this thread again... Thanks for Your help, God bless.

@Kenmarts
Copy link

Kenmarts commented Sep 5, 2018

Mind you I was using the android version not pc

@illya13
Copy link
Author

illya13 commented Sep 5, 2018

I think your issue is not related to this one, so please stop it

@Kenmarts
Copy link

Kenmarts commented Sep 5, 2018

I should stop it? Such insult...
You can as well direct me to get a solution rather than saying I should stop...
I thought this was a community of tech guys who were ready to help.

@illya13
Copy link
Author

illya13 commented Sep 5, 2018

... stop commenting this one, as it seems not related to your problem
and open a new one here

https://github.com/MetaMask/metamask-extension/issues/new/choose
if you really have issues with MetaMask

@danfinlay
Copy link
Contributor

Hi @Kenmarts, Illya is just pointing out that your question isn't related to his, this issue was opened by him.

It sounds like your question is related to Trust Wallet, so I would recommend asking questions from them:
https://trustwalletapp.com/

@MetaMask MetaMask locked as off-topic and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants