Issue connecting Eth2stats Client to Altona Beacon chain

I have installed the following three packages:

Prysm Altona Beacon Chain
Prysm Altona Validator
Eth2stats Client

I have the Altona Beacon chain up and running and am successfully running as a validator.

https://altona.beaconcha.in/validator/0xa6b54c7c9facbff8dd9f2ca512bd4c5228d9a2178671c1b7cb765f1072ef2a63e46f33bda7e5fc8bbd0178cce61b0e79

However, I can’t get the Eth2stats Client to connect to my Dappnode beacon chain. Logs show the following errors:

time="2020-07-22T16:18:31Z" level=error msg="[metrics-watcher] [Get http://prysm-beacon-chain.public.dappnode:8080/metrics: dial tcp: lookup prysm-beacon-chain.public.dappnode on 127.0.0.11:53: no such host]"
time="2020-07-22T16:18:31Z" level=error msg="[metrics-watcher] failed to poll metrics: Get http://prysm-beacon-chain.public.dappnode:8080/metrics: dial tcp: lookup prysm-beacon-chain.public.dappnode on 127.0.0.11:53: no such host"

I also tried setting eth2stats config to prysm-altona-beacon-chain.public.dappnode:8080/metrics with no luck.

Any ideas on what I’m missing here?

Thanks!

1 Like

Looks like these are the correct Config settings for Eth2stats package for Altona Beacon Chain

BEACON_ADDR prysm-altona-beacon-chain.dappnode:4000
BEACON_METRICS http://prysm-altona-beacon-chain.dappnode:8080/metrics

1 Like

As it turns out, even with the updated config variables above that seemingly allowed me to successfully connect as an eth2stats client, my validator still wouldn’t show up on https://eth2stats.io/altona-testnet

To get it working I ended up removing the dappnode eth2stats Dappnode package, manually generating my config using the eth2stats generator from site, and running this command from my Dappnode:

docker run -d --restart always --network="dncore_network" \
--name eth2stats-client \
-v ~/.eth2stats/data:/data \
alethio/eth2stats-client:latest run \
--eth2stats.node-name="WolfDeFi" \
--data.folder="/data" \
--eth2stats.addr="grpc.altona.eth2stats.io:443" --eth2stats.tls=true \
--beacon.type="prysm" \
--beacon.addr="DAppNodePackage-prysm-altona-beacon-chain.dnp.dappnode.eth:4000" \
--beacon.metrics-addr="http://DAppNodePackage-prysm-altona-beacon-chain.dnp.dappnode.eth:8080/metrics"

Hopefully that’s helpful to someone else :slight_smile:

1 Like
BEACON_ADDR prysm-altona-beacon-chain.dappnode:4000
BEACON_METRICS http://prysm-altona-beacon-chain.dappnode:8080/metrics

got it working for me, but is still being reported to https://eth2stats.io/topaz-testnet instead of https://eth2stats.io/altona-testnet because the container runs with --eth2stats.addr=grpc.topaz.eth2stats.io:443 instead of --eth2stats.addr=grpc.altona.eth2stats.io:443

2 Likes

I am guessing the same thing will happen for Medalla - @wolfdefi, did you make it work with a similar command?

Yeah, I got it working by running the script that @wolfdefi posted directly on the DAppNode host. Just changed any reference to “altona” to “medalla” (and changed the display name of course).

1 Like