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
[BUG] - DNS Address fails while IP address is working #2752
Comments
Got the same here. Solved using ip. This is my system info: NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
docker version Docker version 20.10.2, build 20.10.2-0ubuntu1~18.04.2 I'm using microk8s |
Same problem here. The node syncs on the mainnet for some time but then fails. I have to delete the state folder |
I can try to have a look if I can reproduce & try to fix. |
Tried to reproduce but couldn't. More specific reproduction steps? |
Hi @weebl2000
then i downloaded all the configuration files inside of a data folder
Build the docker Image (this takes quite some time as it builds the cardano node from source)
run the docker container
Now inside of the docker container run the node:
|
Are you sure it's complete? When running I get: cabal: Cannot find the program 'ghc'. User-specified path 'ghc-8.10.4' does |
I just checked it and i had to use this command instead: |
I've tried with inputoutput/cardano-node image, which seems to work: My /tmp/cardano just contains config and a "db" folder which is empty.
|
It works with the official inputoutput image indeed. Do you know by any chance how the official docker image is built differently? I am not familiar with the nix docker build inside the Repository |
I've never used a nix docker build like that, I did try to run it yesterday but did not succeed and did not put more time into it. I did make a cardano-node build inside an ubuntu 20.04 container yesterday and that all seemed to work fine. You could try enabling more verbose tracing by changing the following in the config:
You might want to disable some other logging since it will probably output a lot. |
Thank you for the hint @weebl2000.
Meanwhile i will use the official Cardano Image and try to figure out whats the Problem with the internal Kubernetes Service. |
I will close this issue as we can use the official cardano-node image which is working correctly. |
It works for me, I hope it helps you too
From here |
Just had the same issue while trying to start a fresh node on Windows 10. My node couldn't get past this error for a full day.
I modified the topology file and replaced domain name with an IP address. It immediately helped and node started to download blockchain data. |
Also getting this error trtying to connect to the testnet |
I ran into this issue as well and it turns out the DNS lookup on my machine was having issues (running Fixed this by changing my DNS settings on my machine |
I semi-fixed it by changing the mainnet-topology.json to this:
I got the IPs from EDIT: I do get errors every now and then tho, as some of the IPs seem to not work. log.txt |
External
Area
Other Cardano Node Relay Connection
Summary
A clear and specific description of what the bug is.
Steps to reproduce
Start a cardano node inside of a docker container e.g:
while the topology.json files has an entry with a dns name (not an ip address)
With this configuration it fails:
If you use an ip address instead it works.
I checked if there is an issue with Kubernetes and DNS but i am able to resolve the dns from within the pod:
Expected behavior
DNSSubscription should work like it works for IP addresses.
System info:
Additional context
The Problem has been disscussed in the Cardano Forum DNS Address fails while IP Address works
The text was updated successfully, but these errors were encountered: