Closed yourtechcare closed 5 years ago
Hi @yourtechcare ! This error looks like an error from some third party code, and no error from dashd-rpc
. Can you provide some more context?
Error: Could not load service "@dashevo/dashd-rpc" as it does not support necessary methods and properties.
at checkService (/usr/local/lib/node_modules/@dashevo/dashcore-node/lib/scaffold/start.js:124:11)
at Function.setupServices (/usr/local/lib/node_modules/@dashevo/dashcore-node/lib/scaffold/start.js:182:7)
at start (/usr/local/lib/node_modules/@dashevo/dashcore-node/lib/scaffold/start.js:85:31)
at Command.
@yourtechcare It looks like you're running an instance of https://github.com/dashevo/dashcore-node with an invalid config file that specifies "@dashevo/dashd-rpc" as a service. This library is not a service of dashcore-node. You can check https://github.com/dashevo/dashcore-node#configuration to see how to configure dashcore-node
Possible for you to guide, how to enable RPC with dashcore-node without installing dashd-rpc?
RPC server is a part of https://github.com/dashpay/dash, you don't need any additional software to make RPC work
Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to connect to http://dash:local321@xx.xx.xx.xx:9998/ Error: Failed to connect to xx.xx.xx.xx port 9998: Connection refused' in C:\xampp\htdocs\dash\jsonRPCClient.php:231
dash-cli command also giving error related RPC
Please check your dash configuration file to see the RPC server configuration. The file is usually located under ~/.dashcore/dash.conf, but it is possible to specify another file. It should look like this:
server=1
daemon=1
rpcuser=USERNAME
rpcpassword=PASSWORD
It's also possible to specify a different port here. If all the configs are presented in the file, then it's most likely that you're trying to access RPC with a wrong address, port or user password
Thank you very much !
Error: Could not load service "@dashevo/dashd-rpc" as it does not support necessary methods and properties.