Jump to content

Why payment occur ValidationError?


jjnetkorea

Recommended Posts

1. When I using old rippled
[ValidationError(instance.payment.destination is not exactly one from <destinationExactAdjustment>,<minAdjustment>)]    

at ValidationError.RippleError (/home/codaemon001/node_modules/ripple-lib/dist/npm/common/errors.js:36:13)    

at new ValidationError (/home/codaemon001/node_modules/ripple-lib/dist/npm/common/errors.js:180:115)    

at Object.schemaValidate (/home/codaemon001/node_modules/ripple-lib/dist/npm/common/schema-validator.js:60:11)  

at apply (/home/codaemon001/node_modules/lodash/lodash.js:496:27)    

at Object.wrapper [as preparePayment] (/home/codaemon001/node_modules/lodash/lodash.js:5356:16)    

at RippleAPI.preparePayment (/home/codaemon001/node_modules/ripple-lib/dist/npm/transaction/payment.js:117:12)    

at Payment (/home/codaemon001/xrp/postserver/xrp_pay.js:42:13)    <--- My node code

at module.exports (/home/codaemon001/xrp/postserver/xrp_pay.js:86:5)    

at Object.payment (/home/codaemon001/xrp/postserver/xrp.js:135:9)    

at /home/codaemon001/xrp/postserver/server.js:140:13

---------------------------------
at /var/log/rippled/debug.log at the same time
ERR Check for upgrade: A majority of trusted validators are running a newer version.

2. So I upgrade & reboot with this guideline
https://github.com/ripple/rippled/releases

3. Now rippled server don't respond
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method": "payment", "params":[{"to":"rBGuxGmNguhSsvd3aWyG7uJKwTiiirYEuc", "amount":"20", "id":"1"}]}' http://112.***.***.***:51233

=> curl: (52) Empty reply from server

 curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method": "getbalances"}' http://112.***.***.***:51233

=> {"result":[{"currency":"XRP","value":"1000"}]}

at /var/log/rippled/debug.log at the same time
2021-Mar-11 03:55:59.206339230 UTC LedgerConsensus:WRN View of consensus changed during establish status=establish,  mode=wrongLedger
2021-Mar-11 03:55:59.206363321 UTC LedgerConsensus:WRN 4E8A14B07833EF66ACFC3E9851A495C59FEAD85938ABDD435CF59940A57C790A to A886D4228344DD59EE8D0A081AE9AD50864F49B7D109DB9C77D6B1BC831B0FA8
2021-Mar-11 03:55:59.206392391 UTC LedgerConsensus:WRN {"accepted":true,"account_hash":"EB700BF12ECBED0BCE9BF57DBE2A84732A6B26EF13875A41A24AA76842221059","close_flags":0,"close_time":668750153,"close_time_human":"2021-Mar-11 03:55:53.000000000 UTC","close_time_resolution":10,"closed":true,"hash":"7C8CAB080723A93FA534B72881162BF380EB6F8E6FAB6FFC678BF4B34F34D2E5","ledger_hash":"7C8CAB080723A93FA534B72881162BF380EB6F8E6FAB6FFC678BF4B34F34D2E5","ledger_index":"20","parent_close_time":668750152,"parent_hash":"FD2B0EF1DD85ED6C64E4ECA335DE9659C67F06F66F7FF65941BC11811A2AA355","seqNum":"20","totalCoins":"100000000000000000","total_coins":"100000000000000000","transaction_hash":"0000000000000000000000000000000000000000000000000000000000000000"}
2021-Mar-11 03:56:00.182377637 UTC PeerFinder:ERR Logic testing     51.195.7.159:8956 with error, Connection refused
2021-Mar-11 03:56:08.969586125 UTC LoadMonitor:WRN Job: OrderBookDB::update run: 9901ms wait: 0ms
2021-Mar-11 03:56:47.607666536 UTC Peer:WRN [031] 52.209.176.167:50948 failed: Ping Timeout
2021-Mar-11 03:57:15.446986947 UTC PeerFinder:ERR Logic testing     107.20.239.166:23658 with error, Connection timed out
2021-Mar-11 03:57:22.882775757 UTC PeerFinder:ERR Logic testing     34.70.233.5:37788 with error, Connection refused
2021-Mar-11 03:57:26.326955267 UTC PeerFinder:ERR Logic testing     18.179.42.98:48918 with error, Connection timed out
2021-Mar-11 03:57:46.806979838 UTC PeerFinder:ERR Logic testing     52.198.140.165:62200 with error, Connection timed out
2021-Mar-11 03:57:55.510940394 UTC PeerFinder:ERR Logic testing     18.182.73.58:59843 with error, Connection timed out
2021-Mar-11 03:58:06.518950938 UTC PeerFinder:ERR Logic testing     54.95.28.89:46266 with error, Connection timed out
2021-Mar-11 03:59:44.078510469 UTC LoadMonitor:WRN Job: sweep run: 1647ms wait: 0ms
2021-Mar-11 04:00:41.777354608 UTC Peer:WRN [010] 198.11.206.11:51235 failed: Not useful
2021-Mar-11 04:00:41.777358450 UTC Peer:WRN [005] 169.54.137.7:51235 failed: Not useful
2021-Mar-11 04:00:41.777585562 UTC Peer:WRN [011] 198.11.206.6:51235 failed: Not useful
2021-Mar-11 04:00:41.846195691 UTC Peer:WRN [007] [::ffff:34.221.161.114]:51235 failed: Not useful
2021-Mar-11 04:00:41.857051304 UTC Peer:WRN [009] [::ffff:54.202.12.93]:51235 failed: Not useful
2021-Mar-11 04:00:41.858899105 UTC Peer:WRN [008] [::ffff:52.25.71.90]:51235 failed: Not useful
2021-Mar-11 04:00:41.863076640 UTC Peer:WRN [004] 54.190.253.12:51235 failed: Not useful
2021-Mar-11 04:00:41.897297951 UTC Peer:WRN [016] [::ffff:169.55.164.21]:51235 failed: Not useful
2021-Mar-11 04:00:41.907031736 UTC Peer:WRN [015] 169.54.2.157:51235 failed: Not useful
2021-Mar-11 04:00:45.126151745 UTC Protocol:WRN [245] Ignored 1 untrusted ValidatorListCollection(s) from peer [::ffff:198.11.206.26]:51235
2021-Mar-11 04:00:45.322297539 UTC LoadMonitor:WRN Job: sweep run: 1244ms wait: 0ms

4. I didn't use https://github.com/ripple/validator-keys-tool
=> is it necessary now for payment(sending xrp coin to other address)?

What the problem is?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...