Problem with the pool, let’s debug

Down the rabbit hole we go…

pool@ip-172-31-19-20:/home/ubuntu$ screen -r

2022-01-10 01:03:43 [payments] Error with sendTransaction RPC request to wallet daemon {“code”:-32000,”data”:{“application_code”:5},”message”:”Internal node error”}
2022-01-10 01:03:43 [payments] Payments failed to send to {“amount”:10000000000000,”address”:”bxdnnewYRr3MMVFp8ocf5hA4AJeuH2Q4JeVREYV6hA4tZD3u23t26khaFPJue9ENRwHv2v7bU3A8TcCSEiQ9arwk2jVHjA2vs”}
2022-01-10 01:03:43 [payments] Payments splintered and 0 successfully sent, 1 failed

> crtl-a ctrl-d

[detached from 1862.pool]

pool@ip-172-31-19-20:/home/ubuntu$ tail -f walletd.log
2022-Jan-10 01:09:48.200952 WARNING [WalletService] Error while sending transaction: Internal node error
2022-Jan-10 01:09:48.201615 DEBUG [HttpServer] Closing connection from 127.0.0.1:54534 total=1
2022-Jan-10 01:09:53.203039 DEBUG [HttpServer] Incoming connection from 127.0.0.1:54550
2022-Jan-10 01:09:53.203230 DEBUG [PaymentServiceJsonRpcServer] sendTransaction request came
2022-Jan-10 01:09:53.324732 WARNING [WalletService] Error while sending transaction: Internal node error
2022-Jan-10 01:09:53.326084 DEBUG [HttpServer] Closing connection from 127.0.0.1:54550 total=1
2022-Jan-10 01:09:58.329973 DEBUG [HttpServer] Incoming connection from 127.0.0.1:54566

==> unlocker_error.log <==
2021-07-23 14:21:01 Error with getblockheaderbyheight RPC request for block solo:bxcMXGJ7FMAWXzUMVBY7SS7oRkWYkULGoM2maVfQRx3RXa2QDwGXDbeRZMhGQ45vfq17VPJHNsJZiM4jD2CUnZ9N1wifyuwYi:596d3feec0c027d7fe176c65a4641fb92dd2e57c6658f92571b4c053a23c7c08:1627048771:3931:69896:69896 – {“errno”:”ECONNREFUSED”,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:19326}
2021-07-23 14:21:01 Error with getblockheaderbyheight RPC request for block prop:bxdnnewYRr3MMVFp8ocf5hA4AJeuH2Q4JeVREYV6hA4tZD3u23t26khaFPJue9ENRwHv2v7bU3A8TcCSEiQ9arwk2jVHjA2vs:56450685b2b25a8faeeeaf80f202ee604b88d4267466c406fb3a47a7c9c0a9e4:1627048871:3938:93673:93673 – {“errno”:”ECONNREFUSED”,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:19326}
2021-07-23 14:21:01 Error with getblockheaderbyheight RPC request for block prop:bxdnnewYRr3MMVFp8ocf5hA4AJeuH2Q4JeVREYV6hA4tZD3u23t26khaFPJue9ENRwHv2v7bU3A8TcCSEiQ9arwk2jVHjA2vs:713f52486025395a81924bd2676a39d2563dbeffa242e3d638aa44cb040f5142:1627048944:3953:69387:69387 – {“errno”:”ECONNREFUSED”,”code”:”ECONNREFUSED”,”syscall”:”connect”,”address”:”127.0.0.1″,”port”:19326}

Failed RPC Call

ubuntu@ip-172-31-19-20:~/bmorecoin/build/release/src$ curl -X POST -i -H “Accept: application/json” -d ‘{“params”: {},”jsonrpc”: “2.0”, “id”: “test”,”method”:”getStatus”}’ http://localhost:19326/json_rpc
HTTP/1.1 200 OK
Content-Length: 82
Content-Type: application/json
Server: CryptoNote-based HTTP server

{“error”:{“code”:-32601,”message”:”Method not found”},”id”:”test”,”jsonrpc”:”2.0″}

Successful RPC Call

curl 127.0.0.1:19326/json_rpc -d ‘{“method”:”getblockheaderbyheight”,”params”:{“height”:100}}’
{“jsonrpc”:”2.0″,”result”:{“block_header”:{“depth”:251502,”difficulty”:2506,”hash”:”0df993c71cdab13c3ef677b8ea6f41ceba76ce66a34f7a5d1ea132eac221c543″,”height”:100,”major_version”:1,”minor_version”:0,”nonce”:1971024988,”orphan_status”:false,”prev_hash”:”39b0c55d5c2d38fe0c9dc987b309fa8c914607f7d9ad50b462f7d04ae9ff6559″,”reward”:70341905700232,”timestamp”:1626683021},”status”:”OK”}}

curl 127.0.0.1:19326/json_rpc -d ‘{“method”:”getblockheaderbyheight”,”params”:{“height”:251603}}’

{“jsonrpc”:”2.0″,”result”:{“block_header”:{“depth”:0,”difficulty”:4121,”hash”:”5ef7489a21e13a3ea6266eb4784cb95dfb4e7b1cc6af6f00e332a0632cc5b2da”,”height”:251603,”major_version”:1,”minor_version”:0,”nonce”:2504253959,”orphan_status”:false,”prev_hash”:”85b3c863080b79936a8a0e8fec06e07345ba8c48f87655926c03ce4d43d2dc2e”,”reward”:26949320701639,”timestamp”:1641778519},”status”:”OK”}}

ubuntu@ip-172-31-19-20:~/bmorecoin/build/release/src$ tail -f *.log
==> bmorecoind.log <== 2022-Jan-10 01:44:41.630074 ERROR [core] Transaction verification failed:
2022-Jan-10 01:44:41.630122 INFO [RpcServer] [on_send_raw_tx]: Failed to process tx
2022-Jan-10 01:44:46.737929 INFO [Blockchain] Failed to check ring signature for tx <6c996e79cf2b5120e64d8e48cb450ba8e2250b307621df2b0a6c5b4c6f2f22be>
2022-Jan-10 01:44:46.738012 INFO [txpool] tx used wrong inputs, rejected
2022-Jan-10 01:44:46.738052 ERROR [core] Transaction verification failed: <6c996e79cf2b5120e64d8e48cb450ba8e2250b307621df2b0a6c5b4c6f2f22be>
2022-Jan-10 01:44:46.738098 INFO [RpcServer] [on_send_raw_tx]: Failed to process tx
2022-Jan-10 01:44:51.925964 INFO [Blockchain] Failed to check ring signature for tx <10afa8e0b2485fbf1e5eb922bec41fa954f1740b7008070f2024071a6c06e022>
2022-Jan-10 01:44:51.926047 INFO [txpool] tx used wrong inputs, rejected
2022-Jan-10 01:44:51.926088 ERROR [core] Transaction verification failed: <10afa8e0b2485fbf1e5eb922bec41fa954f1740b7008070f2024071a6c06e022>
2022-Jan-10 01:44:51.926135 INFO [RpcServer] [on_send_raw_tx]: Failed to process tx

==> simplewallet.log <==
2022-Jan-10 01:15:23.032576 ERROR [simplewallet] Failed to initialize wallet
2022-Jan-10 01:15:23.048401 ERROR [simplewallet] Error: wallet failed to connect to daemon (http://localhost:19326).
2022-Jan-10 01:15:26.654323 INFO [simplewallet] bmorecoin wallet v1.1.1.1()
2022-Jan-10 01:15:47.631877 ERROR [simplewallet] Error: failed to load wallet: wallet file ‘wallet.bin.wallet’ is not found
2022-Jan-10 01:15:47.632044 ERROR [simplewallet] Failed to initialize wallet
2022-Jan-10 01:15:47.654911 ERROR [simplewallet] Error: wallet failed to connect to daemon (http://localhost:19326).
2022-Jan-10 01:44:21.231163 INFO [simplewallet] bmorecoin wallet v1.1.1.1()
2022-Jan-10 01:44:31.469404 ERROR [simplewallet] Error: failed to load wallet: wallet file ‘wallet.bin.wallet’ is not found
2022-Jan-10 01:44:31.469492 ERROR [simplewallet] Failed to initialize wallet
2022-Jan-10 01:44:31.486973 ERROR [simplewallet] Error: wallet failed to connect to daemon (http://localhost:19326).

==> bmorecoind.log <== 2022-Jan-10 01:44:57.033321 INFO [txpool] tx used wrong inputs, rejected 2022-Jan-10 01:44:57.033504 ERROR [core] Transaction verification failed: <33490e1f0a7c6ab6513fa289063431a98183e71ffcaf2fb4a2f503ae53e4ce43>
2022-Jan-10 01:44:57.033577 INFO [RpcServer] [on_send_raw_tx]: Failed to process tx
2022-Jan-10 01:45:02.137314 INFO [txpool] tx used wrong inputs, rejected
2022-Jan-10 01:45:02.137511 ERROR [core] Transaction verification failed: <7051b5188d89c88ec65828b1c1ec58437a00759c31c4eb28508488feed9838aa>
2022-Jan-10 01:45:02.137579 INFO [RpcServer] [on_send_raw_tx]: Failed to process tx
2022-Jan-10 01:45:07.249939 INFO [Blockchain] Failed to check ring signature for tx <0a9073ce99eefe0b116c3466098e77871656ca502b871b4e2c83abb6f1667b77>
2022-Jan-10 01:45:07.250055 INFO [txpool] tx used wrong inputs, rejected
2022-Jan-10 01:45:07.250102 ERROR [core] Transaction verification failed: <0a9073ce99eefe0b116c3466098e77871656ca502b871b4e2c83abb6f1667b77>
2022-Jan-10 01:45:07.250203 INFO [RpcServer] [on_send_raw_tx]: Failed to process tx

more into those errors….

01:45:32.801513 INFO [on_send_raw_tx]: Failed to process tx
01:45:37.922019 INFO Failed to check ring signature for tx <42e44793a7110efa65503f39aa794df58fd46c8f587713d20fcd1f2ccc2fa717>
01:45:37.922121 INFO tx used wrong inputs, rejected
01:45:37.922162 ERROR Transaction verification failed: <42e44793a7110efa65503f39aa794df58fd46c8f587713d20fcd1f2ccc2fa717>
01:45:37.922209 INFO [on_send_raw_tx]: Failed to process tx
01:45:43.014022 INFO Failed to check ring signature for tx
01:45:43.014177 INFO tx used wrong inputs, rejected
01:45:43.014283 ERROR Transaction verification failed:
01:45:43.014346 INFO [on_send_raw_tx]: Failed to process tx
01:45:48.169959 INFO Failed to check ring signature for tx <6d0962cc6625942a130c7069636deafb58eb4472331da9595564f6f240a37d78>
01:45:48.170058 INFO tx used wrong inputs, rejected
01:45:48.170098 ERROR Transaction verification failed: <6d0962cc6625942a130c7069636deafb58eb4472331da9595564f6f240a37d78>
01:45:48.170144 INFO [on_send_raw_tx]: Failed to process tx
01:45:53.277893 INFO Failed to check ring signature for tx
01:45:53.278004 INFO tx used wrong inputs, rejected
01:45:53.278051 ERROR Transaction verification failed:
01:45:53.278116 INFO [on_send_raw_tx]: Failed to process tx
01:45:58.369322 INFO Wrong index in transaction inputs: 1469, expected maximum 131
01:45:58.369420 INFO Failed to get output keys for tx with amount = 100000.00000000 and count indexes 2
01:45:58.369468 INFO Failed to check ring signature for tx <53e3c89c65ab6ae8f335a5d6f7c59434c13fe071c74a40a268582d8052c48833>
01:45:58.369512 INFO tx used wrong inputs, rejected
01:45:58.369553 ERROR Transaction verification failed: <53e3c89c65ab6ae8f335a5d6f7c59434c13fe071c74a40a268582d8052c48833>
01:45:58.369642 INFO [on_send_raw_tx]: Failed to process tx
01:46:03.441796 INFO Failed to check ring signature for tx <494f0979d12ce7c7d97010c10ceedd06dae480a5f341b3c622a6124c0f51bc30>
01:46:03.441884 INFO tx used wrong inputs, rejected
01:46:03.441923 ERROR Transaction verification failed: <494f0979d12ce7c7d97010c10ceedd06dae480a5f341b3c622a6124c0f51bc30>
01:46:03.441970 INFO [on_send_raw_tx]: Failed to process tx
01:46:08.590047 INFO Failed to check ring signature for tx
01:46:08.590128 INFO tx used wrong inputs, rejected
01:46:08.590168 ERROR Transaction verification failed:
01:46:08.590212 INFO [on_send_raw_tx]: Failed to process tx
01:46:13.785788 INFO tx used wrong inputs, rejected
01:46:13.785861 ERROR Transaction verification failed: <1b72734e3db692dd31df0d75d5d3f89ad86fcbb20770269874bc23d1e51ef0a5>
01:46:18.898205 INFO Failed to check ring signature for tx <3ad1a64119d8eec67e5182a1f154a9fabc070598a4c2886554c5384182cb5b79>
01:46:18.898288 INFO tx used wrong inputs, rejected
01:46:18.898327 ERROR Transaction verification failed: <3ad1a64119d8eec67e5182a1f154a9fabc070598a4c2886554c5384182cb5b79>

Ending this session on needing to fix ” 01:45:58.369322 INFO Wrong index in transaction inputs: 1469, expected maximum 131

Author: Patrick McGuire

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.