Connect: connection refused", "errorVerbose": "ping satellite error: failed to dial storage node

Hello guys, I am an three node operator for the last year and during this time I have migrated the nodes flawelesly from rpi to odroid.

My issue comes when my third node migration raises the following error for all the satellites:

connect: connection refused", “errorVerbose”: "ping satellite error: failed to dial storage node (ID: 19wbcWmRMSvxuihF14Mf3PAPUksTaVdwgFT6K4QN49tNG6Uyqa) at address XXX connect: connection refused

Searching throughout logs I found something strange

docker logs storagenode 2>&1 |grep server

2021-03-04T22:38:45.637Z INFO Public server started on [::]:7777
2021-03-04T22:38:45.637Z INFO Private server started on 127.0.0.1:7778

Remaining two nodes raise a different Public port server:

2021-03-03T22:02:06.525Z INFO Public server started on [::]:28967
2021-03-03T22:02:06.525Z INFO Private server started on 127.0.0.1:7778

2021-02-18T17:01:31.714Z INFO Public server started on [::]:28967
2021-02-18T17:01:31.714Z INFO Private server started on 127.0.0.1:7778

Based on that, I presume it is a matter with published port 7777 instead of 28967. I could change the port 2869 to 7777 and probably it would work but I do not understand why docker has decided by itself to move to 7777 port.

All three nodes are physical independent and do not share the same Internet connection.

Any help on this it would be appreciate.

Hi igazmi, welcome!

Could you find the following lines in the config.yaml file for that node and let us know the current value? By default it should be as follows:

# public address to listen on
server.address: :28967

Thak you for your help. Sorry for my ignorance but this a linux docker container and I could not find the docker.yaml file.

I tried to find it inside the stopped container using the following:

docker commit storagenode test_image
docker run -ti --entrypoint=sh test_image
/ # find / -name config.yaml
/ # find / -name config.yml

I could not find the yaml file. Could you tell me where the file is placed?

Thank you for your time.

No problem! The config.yaml file is located at the location you specified for your storage location. For example, if your storage location is /mnt/storjdrive/data the config.yaml file will be located at /mnt/storjdrive/data/config.yaml

1 Like

You really made my day!. I did not copy the config.yaml file because I only rsynced the /mnt/storjdrive/data/storage but not the content in parent directory /mnt/storjdrive/data. A naif mistake I could not see by myself.

Thank you very much!

2 Likes

And you made my day, because the same happened here and you provided the solution.

Thanks!

2 Likes