monero-integrations / monerowhmcs

WHMCS for Monero
MIT License
15 stars 18 forks source link

--restricted-rpc and external monero node don't work when verifying a payment #37

Open thestick613 opened 5 years ago

thestick613 commented 5 years ago
{
  "error": {
    "code": -7,
    "message": "Command unavailable in restricted mode."
  },
  "id": 1,
  "jsonrpc": "2.0"
}
DeAustralis commented 4 years ago

is there a fix to this bug?

serhack commented 4 years ago

Remove the --restricted-rpc flag and use HTTP login. I suggest you to bind the monero-wallet-rpc ONLY TO YOUR LOCAL NETWORK. Do not open any random port to the internet and you'll be fine :)