interledgerjs / moneyd

Connect your machine to the Interledger
111 stars 51 forks source link

Websocket disconnect errors prevent moneyd from starting #109

Closed AJ58O closed 5 years ago

AJ58O commented 5 years ago

When I run the following command: DEBUG=* moneyd xrp:start, this is my output:

                                                                           88
                                                                           88
                                                                           88
88,dPYba,,adPYba,   ,adPPYba,  8b,dPPYba,   ,adPPYba, 8b       d8  ,adPPYb,88
88P'   "88"    "8a a8"     "8a 88P'   `"8a a8P_____88 `8b     d8' a8"    `Y88
88      88      88 8b       d8 88       88 8PP"""""""  `8b   d8'  8b       88
88      88      88 "8a,   ,a8" 88       88 "8b,   ,aa   `8b,d8'   "8a,   ,d88
88      88      88  `"YbbdP"'  88       88  `"Ybbd8"'     Y88'     `"8bbdP"Y8
                                                          d8'
                                                         d8'
starting moneyd
2019-07-23T07:27:24.616Z connector:route-broadcaster info generated random routing secret.
2019-07-23T07:27:24.624Z connector:accounts info add account. accountId=parent
2019-07-23T07:27:24.627Z connector:accounts info add account. accountId=local
2019-07-23T07:27:24.679Z connector:admin-api info listen called
2019-07-23T07:27:24.682Z connector:rate-limit-middleware:trace debug created token bucket for account. accountId=parent refillPeriod=60000 refillCount=10000 capacity=10000
2019-07-23T07:27:24.683Z connector:balance-middleware info initializing balance for account. accountId=parent minimumBalance=-Infinity maximumBalance=20000000
2019-07-23T07:27:24.684Z connector:/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug registering data handler
2019-07-23T07:27:24.684Z connector:/usr/local/lib/node_modules/moneyd-uplink-xrp/node_modules/ilp-plugin-xrp-asym-client/index.js[parent]:trace debug registering money handler
2019-07-23T07:27:24.684Z connector:rate-limit-middleware:trace debug created token bucket for account. accountId=local refillPeriod=60000 refillCount=10000 capacity=10000
2019-07-23T07:27:24.684Z connector:balance-middleware info initializing balance for account. accountId=local minimumBalance=-Infinity maximumBalance=Infinity
2019-07-23T07:27:24.684Z connector:ilp-plugin-mini-accounts[local]:trace debug registering data handler
2019-07-23T07:27:24.685Z connector:ilp-plugin-mini-accounts[local]:trace debug registering money handler
2019-07-23T07:27:24.685Z connector:accounts:trace debug connecting to parent. accountId=parent
  ilp-ws-reconnect:debug websocket disconnected with Error: Unexpected server response: 404; reconnect in 0} +0ms

That last line is repeated over and over until I interrupt the script. I have verified that I have the latest version of all packages. Specifically, these packages: https://github.com/AJ58O/K-ILP-it-with-fire/blob/master/start.sh

Moneyd started successfully for me yesterday and I was able to send funds over the network. Today it's no longer working.

Node: v11.12.0 OS: macOS 10.12.6