Stuck on Step 7: error: couldn't connect to server: unknown (code -1)


#1

Tried this twice after starting over with a new node and this happens every time:
After I send the 0.499 over and verifying with watch -n 30 zen-cli z_gettotalbalance

I click Ctrl+C and then paste:
zen-cli z_sendmany $(zen-cli listaddresses | jq -r ‘.[1]’) ‘[{“address”: "’$(zen-cli z_getnewaddress)’", “amount”: 0.0249},{“address”: “’$(zen-cli z_getnewaddress)’”, “amount”: 0.0249}]’

And get this!!!

error: couldn’t connect to server: unknown (code -1)
(make sure server is running and you are connecting to the correct RPC port)

What can I do?


#2

Hi @mrrealer9,

according to our engineer that behavior could indicate that it’s running out of resources and the zend daemon is crashing. Please run
free -h

And confirm over 4GB combined RAM and swap.

If it doesn’t help, create a ticket on ZenHelp and describe your problem, please. Our nodes experts will help you immediately.

Thank you and have a great day!

Kind regards,
Kamila
Community Project Manager of Horizen