4

I am having my system running behind a proxy. After setting the proxy settings for the docker, I managed to install and run an Alphanet node. The problem is that I cannot get this node synchronize or even connect to any other node (even using the suggested scripts in other posts).

I also get a warning in the node log saying

Warning: cannot resolve "boot.tzalpha.net"

Warning: cannot resolve "bootalpha.tzbeta.net"

and then constantly the too few connections(0) warning

p2p.maintenance: Too few connections (0)

This is what I get when trying to connect the node to other peers using the tezos-admin-client: enter image description here

I guess the node has no internet connection because of the missing proxy settings. Is there any way to configure the proxy settings for the tezos alphanet node?

2
  • Please share the exact docker configuration as well as the full proxy settings. Did you try to resolve the domains or any domain manually from within the docker container? This seems to be a general configuration issue not necessarily a tezos node issue.
    – Phlogi
    May 17, 2019 at 7:42
  • I tried to set up and run the node after compiling from sources (without using the docker). The proxy is configured using two environmental variables (http_proxy and https_proxy) and I verified that I have full internet access from within the terminal. When running the tezos-node (compiled from sources), the two warnings (Warning: cannot resolve "boot.tzalpha.net" & Warning: cannot resolve "bootalpha.tzbeta.net") do not occur anymore, but the too few connections(0) warnings persist.
    – amzid
    May 17, 2019 at 8:14

1 Answer 1

3

The Tezos node cannot run behind an HTTP proxy. The Tezos peer to peer protocol is a proprietary protocol, and not standard HTTP. You’ll need to allow direct outbound connections from port 9732 TCP in order for the Tezos node to connect to the rest of the Tezos network.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.