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

Configuration error for nodeAddr 'rpcalpha.tzbeta.net' #20

Open
nicosampler opened this issue Sep 27, 2019 · 1 comment
Open

Configuration error for nodeAddr 'rpcalpha.tzbeta.net' #20

nicosampler opened this issue Sep 27, 2019 · 1 comment

Comments

@nicosampler
Copy link

If I configure Granary with this:

"nodeAddr": "rpcalpha.tzbeta.net",
"nodeRpcPort": "443",

I'm not able to run commands anymore, all of them fail with this message:

$ granary client - rpc get /protocols
Warning:
  Failed to acquire the protocol version from the node
  Rpc request failed:
     - meth: GET
     - uri: http://granary-tezos-node-sandbox:8732/chains/main/blocks/head/protocols
     - error: Unable to connect to the node: "resolution failed: name resolution failed"

Error:
  Rpc request failed:
     - meth: GET
     - uri: http://granary-tezos-node-sandbox:8732/describe/protocols?recurse=no
     - error: Unable to connect to the node: "resolution failed: name resolution failed"

Even passing the flag --tls or -S from https://tezos.gitlab.io/master/api/cli-commands.html.

  • Running the command directly from tezos-client, it works if the flag -S is provided.
@nicosampler
Copy link
Author

nicosampler commented Sep 27, 2019

This is the example working in tezos-client

$ ./alphanet.sh shell
alphanet: Pulling from tezos/tezos
Digest: sha256:337d1f6de3dffe4f93dc9792c40f16002783fb063b1ee83eac52456f3547a364
Status: Image is up to date for tezos/tezos:alphanet
docker.io/tezos/tezos:alphanet
~ $  tezos-client -A rpcalpha.tzbeta.net -P 443 -S list known addresses
Warning:
  
                 This is NOT the Tezos Mainnet.
  
     The node you are connecting to claims to be running on the
               Tezos Alphanet DEVELOPMENT NETWORK.
          Do NOT use your fundraiser keys on this network.
          Alphanet is a testing network, with free tokens.

contractOwner: tz1MzsE4cocSfss5cnav8UWzxnbrrZH32Rij (unencrypted sk known)
address1: tz1MZ4GPjAA2gZxKTozJt8Cu5Gvu6WU2ikZ4 (unencrypted sk known)

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

1 participant