I'm having issues starting my Masternode from the Windows wallet (hot-cold config, with actual server running on a Linux server fine).
When I try to start my masternode from the Windows wallet I get the error:
"CMasternodeBroadcast::Create -- Invalid IP address 94.176.233.84, masternode="
Obviously that is not an invalid IP address... Any suggestions (apart from a new VPS, which would be a pain and may not resolve it)?
Are you sure that you have correct configs? Show your yup.conf from Linux and masternode.conf from Win.
I'm pretty sure about the config, I run MN for several other coins.
yup.conf in the Linux VPS:
rpcuser=[Short Random String]
rpcpassword=[Long Random String]
rpcconnect=127.0.0.1
server=1
listen=1
daemon=1
masternode=1
masternodeprivkey=[Output from Masternode Genkey in Windows wallet]
Masternode.conf in Windows wallet:
(commented out lines not included)
mn1 94.176.233.84:1237 [Output from Masternode Genkey in Windows wallet] [Output from Masternode Outputs, e.g. abc...XYZ 0]
Update: my reading of the issue is that this function in masternode.cpp is failing to validate the IP address:
bool CMasternode::IsValidNetAddr()
{
// TODO: regtest is fine with any addresses for now,
// should probably be a bit smarter if one day we start to implement tests for this
return Params().NetworkID() == CBaseChainParams::REGTEST ||
(IsReachable(addr) && addr.IsRoutable());
}
I can't see any obvious issue with IsReachable() (code from net.cpp below):
/** check whether a given address is in a network we can probably connect to */
bool IsReachable(const CNetAddr& addr)
{
enum Network net = addr.GetNetwork();
return IsReachable(net);
}
I can only conclude that it is failing IsRoutable() or CBaseChainParams::REGTEST.
I can't quite say for sure what would be going on there. Have you tried using some random ip address to see if you get the same result? I have no issues when I put that ip address in my masternode.conf and run the start command.
Looks like all fine. But try to add to yup.conf:
masternodeaddr=94.176.233.84:1237
externalip=94.176.233.84
I've done that, but it hasn't helped. As I updated above, I think it is a coding error that I'll need the dev to fix, unfortunately.
My masternodes also don't started from GUI Windows wallet.
Try to start it from console:
yup-cli.exe startmasternode alias 0 your_alias_here
I would like to hear more about not being able to start masternodes via the Windows qt. If you can elaborate it will help me figure out and fix any issues.