eos icon indicating copy to clipboard operation
eos copied to clipboard

dawn 4.2 RPC push_transaction error 3090003 unsatisfied_authorization

Open aiguo186 opened this issue 8 years ago • 11 comments

$ curl http://193.93.219.219:8888/v1/chain/push_transaction -X POST -d '{"compression":"none","signatures":["SIG_K1_JvmFjDnqLYXFGfiJc3CFsPVzjBdSL3o18sLZrmXx3fPCPJu3Lb9xW7jbehzd6jmXPWWZZ7vmNjN54kRiEJ4dF4rcw1W434"],"transaction":{"actions":[{"account":"unlimited111","authorization":[{"actor":"unlimited111","permission":"active"}],"data":"1042482a3be9e2d450c8482a3be9e2d4010000000000000000454f53000000000e676f20676f20676f20676f20676f","name":"transfer"}],"context_free_actions":[],"delay_sec":0,"expiration":"2018-05-31T08:50:21.000","max_kcpu_usage":0,"max_net_usage_words":0,"ref_block_num":63365,"ref_block_prefix":1967498922,"region":0}}'

{"code":500,"message":"Internal Service Error","error":{"code":3090003,"name":"unsatisfied_authorization","what":"provided keys, permissions, and delays do not satisfy declared authorizations","details":[{"message":"transaction declares authority '{"actor":"unlimited111","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms","file":"authorization_manager.cpp","line_number":405,"method":"check_authorization"}]}}

many people have this problem,how to solve it?

aiguo186 avatar May 31 '18 08:05 aiguo186

I have had the same problem.

thinhnq-ibl avatar May 31 '18 09:05 thinhnq-ibl

+1

vivekmarakana avatar May 31 '18 11:05 vivekmarakana

may be signatures error, sign tx must with chain_id of get_info

wchh avatar May 31 '18 12:05 wchh

I have had the same problem +1

cppfuns avatar May 31 '18 13:05 cppfuns

+1

SimonVillage avatar May 31 '18 15:05 SimonVillage

Putting the chain id while signing the transaction fixes this issue.

You can get chain id from /v1/chain/get_info where you get ref_block_num and ref_block_prefix

curl http://localhost:8888/v1/wallet/sign_transaction -X POST -d '[{"ref_block_num":21453,"ref_block_prefix":3165644999,"expiration":"2017-12-08T10:28:49","scope":["initb","initc"],"read_scope":[],"messages":[{"code":"currency","type":"transfer","authorization":[{"account":"initb","permission":"active"}],"data":"000000008093dd74000000000094dd74e803000000000000"}],"signatures":[]}, ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV"], "<INSERT_CHAIN_ID_HERE>"]'

vivekmarakana avatar May 31 '18 15:05 vivekmarakana

@wchh @vivekmarakana thx!it works!

aiguo186 avatar Jun 01 '18 06:06 aiguo186

+1

ghost avatar Jun 04 '18 03:06 ghost

i have same error [push_transaction error] '{"code":500,"message":"Internal Service Error","error":{"code":3090003,"name":"unsatisfied_authorization","what":"provided keys, permissions, and delays do not satisfy declared authorizations","details":[{"message":"transaction declares authority '{"actor":"banker","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms","file":"authorization_manager.cpp","line_number":405,"method":"check_authorization"}]}}', transaction 'db261a5b5173de40e12800000000014011c8d3d10a918e00809286a96cd44501000000005c05a73900000000a8ed323208000000005c05a73900' write-api.js:692:23

ItVen avatar Jun 08 '18 06:06 ItVen

I have same error

/wallet/sign_transaction -X POST

{ expiration: '2018-08-29T10:56:00', ref_block_num: 20442, ref_block_prefix: 2731070869, max_net_usage_words: 0, max_cpu_usage_ms: 0, delay_sec: 0, context_free_actions: [], actions: [], transaction_extensions: [], signatures: [ 'SIG_K1_K1smcDZxCdLzUDRV5jAexpPPD4wDjPupLfDiVcn56dCpy8LeS1Acy2ZZTKFdAfoWfWcbcZdPCoAVn1agUsbBehyii2qUE4' ], context_free_data: [] }

push_transaction params

{"compression":"none","transaction":{"expiration":"2018-08-29T10:56:00","ref_block_num":20442,"ref_block_prefix":2731070869,"context_free_actions":[],"actions":[{"account":"david","name":"transfer","authorization":[{"actor":"david","permission":"active"}],"data":"0000000080e4b649000000000060beba010000000000000000494e560000000000"}],"transaction_extensions":[]},"signatures":["SIG_K1_K1smcDZxCdLzUDRV5jAexpPPD4wDjPupLfDiVcn56dCpy8LeS1Acy2ZZTKFdAfoWfWcbcZdPCoAVn1agUsbBehyii2qUE4"]}

push_transaction result

{"code":500,"message":"Internal Service Error","error":{"code":3090003,"name":"unsatisfied_authorization","what":"Provided keys, permissions, and delays do not satisfy declared authorizations","details":[{"message":"transaction declares authority '{"actor":"david","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [], and provided keys ["EOS8Q6PvErmRFH3Ns5HusoqQMiwp5HcAtAQEqLA3NBiphuMFYy6dJ"]","file":"authorization_manager.cpp","line_number":411,"method":"check_authorization"}]}}

metaboy avatar Aug 29 '18 11:08 metaboy

@metaboy this is a very old closed issue. Please create a new issue with version, config, exact command line, and full logs.

heifner avatar Aug 29 '18 12:08 heifner