Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"account get default" throws "Error: connect ECONNREFUSED" #45

Closed
Nakilon opened this issue Dec 18, 2021 · 4 comments
Closed

"account get default" throws "Error: connect ECONNREFUSED" #45

Nakilon opened this issue Dec 18, 2021 · 4 comments

Comments

@Nakilon
Copy link

Nakilon commented Dec 18, 2021

I'm following the instructions and while this is launched:

./bin/hsd --log-level info

and producing some logs continuously, the following command throws the error:

$ ./bin/hsw-cli account get default
Error: connect ECONNREFUSED ::1:12039
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)
@rithvikvibhu
Copy link
Member

Looks like the client is trying to connect over IPv6 loopback (::1). Try:

HSD_URL=http://127.0.0.1 ./bin/hsw-cli account get default

@Nakilon
Copy link
Author

Nakilon commented Dec 18, 2021

Thanks! It worked.
The next issue was handshake-org/hs-airdrop#127

@Nakilon Nakilon closed this as completed Dec 18, 2021
@Nakilon
Copy link
Author

Nakilon commented Dec 18, 2021

Though there are more errors I don't understand:

$ ./bin/hs-airdrop --bare ~/.ssh/id_rsa hs1qg4ym0ctdzm77jdtugzdpfvy4re3h2c7370tp8g
Passphrase: 
Attempting to create proof.
This may take a bit.
Decrypting nonce...
Downloading: https://github.com/handshake-org/hs-tree-data/raw/master/nonces/134.bin...
NonceError: Could not find nonce in bucket 134.
...

This means your key was not found in the airdrop tree.
If you registered at handshake.org, use that address.
Usage: $ hs-airdrop [addr]
$ ./bin/hs-airdrop hs1qg4ym0ctdzm77jdtugzdpfvy4re3h2c7370tp8g
Downloading: https://github.com/handshake-org/hs-tree-data/raw/master/proof.json...
Error: Address is not a faucet or sponsor address.

Google leads me to handshake-org/hs-airdrop#42

@rithvikvibhu
Copy link
Member

Exactly what it says:

This means your key was not found in the airdrop tree.

The snapshot was taken in the week of 2019-02-04 (hs-airdrop readme). More info here: handshake-org/hs-airdrop#35.
There are other ways to get involved in Handshake though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants