-
Notifications
You must be signed in to change notification settings - Fork 1.7k
"Unable to sign consensus message: SStore(Invalid Password)" error in PoA network #10695
Comments
Steps to reproduce
|
The original error message "Unable to sign consensus message" is totally legit. On the start Parity tries to find the proper engine signer account and uses all the passwords in order to find the corresponding one. This error message(s) is the result of this search. However, I agree, that showing it in such situation is not the best idea (if we have 100 passwords in the file, 99 errors might be shown). So I removed it. |
But the problem described by @hklee93 is might be different. So I cannot close the issue for now and I'm looking further into it |
Oh that's why I didn't get the same error when I only stored one on each node. |
So you're saying that I should be able to make transactions on any node, regardless of whether it is a validator node or not, right? |
Yes. I'm able to do that, using setup from the tutorial: @hklee93 Are you sure, that you've used the correct passphrase inside personal_sendTransaction method? |
Just to make sure, let me clarify my question. I did some test and this is what I figured out. Are we only allowed to call Ex) With this setting, if I want to send a transaction from node0's account to other accounts, must it be the case where I send a transaction on physical node0? Because I can only send transaction only if this condition holds. i.e.) I can't send a transaction on node1 or node 2 with "from" parameter being node0's account, even with the valid passphrase, and this is the same for all other nodes/accounts. Maybe this could be the reason? But I'm still not sure whether it should be this way, because if this is the case, then it means I can't make any transactions if I don't have access to a specific node where my account was created, right? Please correct me if I'm wrong, and thanks for keep answering! |
Yes. When you create an account on nodeX, you generate key data, that stored in nodeX data folder. So only nodeX has access to it and can perform actions on behalf of this account. You can import keys to the other node, but you have to do it explicitly. |
I see. So what I heard from Gitter channel when people said I should be able to make transactions on any nodes implies the fact that I should import the keys. I think then we are good to close this issue? Thanks again for answering! |
(@adilimroz are we still seeing this issue ourselves?) |
@joshua-mir Sorry, for responding so late, somehow lost track of this issue. |
Hi, I am facing the same issue... getting "Not preparing block; cannot sign." message on node logs.
|
@miguelmartinezinf are you seeing this message more often than just on startup? Apparently it is expected behavior to see this on startup, the issue is if you see it after your node is running. If you do, could you share |
Steps to reproduce
Note:
Password file is properly formatted with each password in new line.
Error comes only with the authority nodes.
The text was updated successfully, but these errors were encountered: