interledgerjs / moneyd

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

502 Bad Gateway: store.load is not a function error #52

Open GaetanoHerman opened 6 years ago

GaetanoHerman commented 6 years ago

Hello, I was installing Codius and everything went fine. However the host gave me and 502 errors, I was then troubleshooting and found out that moneyd was running but with issues.

Starting in debug mode gave me this error:

{"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-07-05T16:45:19.257Z","data":"store.load is not a function","protocolData":[]} (node:3407) UnhandledPromiseRejectionWarning: Error: {"code":"F00","name":"NotAcceptedError","triggeredAt":"2018-07-05T16:45:19.257Z","data":"store.load is not a function","protocolData":[]}

sharafian commented 6 years ago

What connector are you using? In your moneyd.json there should be a "server" field with a URL in it. Can you post the hostname from there?

GaetanoHerman commented 6 years ago

This is the hostname, btp+wss://g8dvv9fVT7o_PySKr9a2pP-ZNukKeBBc1aNO12d9KQE:ffb32d09f6c7f2b2057035ef58753f09d7aa5fcfe6ff4080573bf7c09e701d7f@ilsp.openafricanetwork.org

Edit, I missclicked and closed the issue sorry.

sharafian commented 6 years ago

Ok, got it. @adrianhopebailie can you make sure that your server has ilp-plugin-mini-accounts version 3.4.8 and ilp-plugin-xrp-asym-server verson 1.4.6?

adrianhopebailie commented 6 years ago
$  npm list ilp-plugin-xrp-paychan ilp-store-simpledb ilp-plugin-mini-accounts ilp-plugin-xrp-asym-server
ilp-connector@21.5.3 /srv/app
├── ilp-plugin-mini-accounts@3.4.8 
├─┬ ilp-plugin-xrp-asym-server@1.4.6 
│ └── ilp-plugin-mini-accounts@3.4.8  deduped
├── ilp-plugin-xrp-paychan@2.3.1 
└── ilp-store-simpledb@1.0.1