Issues with Moneyd XRP testnet

Hi guys, I am having this error show up when running moneyd with XRP in testnet. Anybody know what the problem could be. The server appears new β€˜@js2.xpring.dev’.

Thanks

2019-09-03T01:34:42.838Z connector:route-broadcaster info generated random routing secret.
2019-09-03T01:34:42.843Z connector:accounts info add account. accountId=parent
2019-09-03T01:34:42.846Z connector:accounts info add account. accountId=local
2019-09-03T01:34:42.903Z connector:admin-api info listen called
2019-09-03T01:34:42.906Z connector:balance-middleware info initializing balance for account. accountId=parent minimumBalance=-Infinity maximumBalance=20000000
2019-09-03T01:34:42.908Z connector:balance-middleware info initializing balance for account. accountId=local minimumBalance=-Infinity maximumBalance=Infinity
2019-09-03T01:34:56.447Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2019-09-03T01:34:56.293Z","data":"transaction submission failed","protocolData":[]} ```

Can you run this in debug mode?

DEBUG=* moneyd xrp:start --testnet

2019-09-03T01:53:59.198Z connector:route-broadcaster info generated random routing secret.
2019-09-03T01:53:59.208Z connector:accounts info add account. accountId=parent
2019-09-03T01:53:59.211Z connector:accounts info add account. accountId=local
2019-09-03T01:53:59.322Z connector:admin-api info listen called
2019-09-03T01:53:59.326Z connector:rate-limit-middleware:trace debug created token bucket for account. accountId=parent refillPeriod=60000 refillCount=10000 capacity=10000
2019-09-03T01:53:59.327Z connector:balance-middleware info initializing balance for account. accountId=parent minimumBalance=-Infinity maximumBalance=20000000
2019-09-03T01:53:59.329Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug registering data handler
2019-09-03T01:53:59.330Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug registering money handler
2019-09-03T01:53:59.330Z connector:rate-limit-middleware:trace debug created token bucket for account. accountId=local refillPeriod=60000 refillCount=10000 capacity=10000
2019-09-03T01:53:59.331Z connector:balance-middleware info initializing balance for account. accountId=local minimumBalance=-Infinity maximumBalance=Infinity
2019-09-03T01:53:59.332Z connector:ilp-plugin-mini-accounts[local]:trace debug registering data handler
2019-09-03T01:53:59.332Z connector:ilp-plugin-mini-accounts[local]:trace debug registering money handler
2019-09-03T01:53:59.333Z connector:accounts:trace debug connecting to parent. accountId=parent
2019-09-03T01:53:59.954Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug connected to server
2019-09-03T01:53:59.956Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug sending btp packet. type=TYPE_MESSAGE requestId=1512522157 info=auth=;auth_username=1BC0BFdjMvFhou0RXBRWwHpoxVHmAu0BZKI4xtzeuJE;auth_token=407441659d97e919812464c1314cc93531d9d3498f2f1e709b93062de306bc92
2019-09-03T01:54:00.038Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug received btp packet. type=TYPE_RESPONSE requestId=1512522157 info=
2019-09-03T01:54:00.039Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug sending btp packet. type=TYPE_MESSAGE requestId=1676533264 info=info=Ag==
2019-09-03T01:54:00.119Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug received btp packet. type=TYPE_RESPONSE requestId=1676533264 info=info={"address":"rPnLkedgftHcqWb1eJdf8vzHbu8rXtFEuE","account":"test.xpring-dev.js1.ilspServer.1BC0BFdjMvFhou0RXBRWwHpoxVHmAu0BZKI4xtzeuJE","currencyScale":9,"channel":"661F6F78080CEFC15EF0B31595EFD381E1DB4B9A8AB7028E4084680A82644B94"}
2019-09-03T01:54:00.119Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug got info: { address: 'rPnLkedgftHcqWb1eJdf8vzHbu8rXtFEuE',
  account: 'test.xpring-dev.js1.ilspServer.1BC0BFdjMvFhou0RXBRWwHpoxVHmAu0BZKI4xtzeuJE',
  currencyScale: 9,
  channel: '661F6F78080CEFC15EF0B31595EFD381E1DB4B9A8AB7028E4084680A82644B94' }
2019-09-03T01:54:01.442Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug no client channel has been established; requesting
2019-09-03T01:54:01.443Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug sending btp packet. type=TYPE_MESSAGE requestId=1723559554 info=fund_channel=r9Do5iFtoaZdtpuDu74DKDhqP5G8xmbKQi
2019-09-03T01:54:10.090Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug received btp packet. type=TYPE_ERROR requestId=1723559554 info=
2019-09-03T01:54:10.091Z connector:app error Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2019-09-03T01:54:10.066Z","data":"transaction submission failed","protocolData":[]}
    at Plugin.callback (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:666:20)
    at Plugin.listener (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:290:17)
    at Plugin.EventEmitter.emit (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:357:19)
    at Plugin._handleIncomingBtpPacket (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:711:14)
    at Plugin._handleIncomingWsMessage (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/index.ts:528:18)
    at WebSocketReconnector.EventEmitter.emit (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/eventemitter2/lib/eventemitter2.js:354:19)
    at WebSocket._instance.on (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/src/ws-reconnect.ts:133:70)
    at emitOne (events.js:116:13)
    at WebSocket.emit (events.js:211:7)
    at Receiver.receiverOnMessage (/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-btp/node_modules/ws/lib/websocket.js:789:20) ```

Thanks, and thanks to @rslater12 for helping investigate. It appears as if the XRP Testnet address associated with this connector (rPnLkedgftHcqWb1eJdf8vzHbu8rXtFEuE) does not have sufficient funds. If we look at your debug stack, we can see your error comes from receiving a BTP packet (you successfully sent a BTP packet on the line above):

2019-09-03T01:54:10.090Z connector:/home/dassy/.nvm/versions/node/v8.16.0/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug received btp packet. type=TYPE_ERROR requestId=1723559554 info=

The resolution to this issue is that somebody needs to fund the xPring wallet: rPnLkedgftHcqWb1eJdf8vzHbu8rXtFEuE

1 Like

I just funded this wallet using the testnet transaction generator, so that wallet should be good to go. @Dassy can you try again and let me know if this works for you now?

Works like a charm now.
Thanks @AJ58O

3 Likes