So Its quite a new node after my last fuckup, but it seems everything was going fine now until i change my log level to ERROR.
I’m getting this:
2024-08-06T15:54:15+02:00 FATAL Unrecoverable error {“error”: “Failed to create storage node peer: listen tcp myip:28969: bind: The requested address is not valid in its context.”, “errorVerbose”: “Failed to create storage node peer: listen tcp myip:28969: bind: The requested address is not valid in its context.\n\tmain.cmdRun:86\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78”}
(i removed my public ip from the error log i copy pasted.)
My other 2 nodes that are running from a raspberry are still on and running without mistake.
Tried to change back log level to info, maybe it had to do something with it, but it does not help.
The node won’t start anymore.
Windows or docker? Either way I don’t think your public ip should be in there, that’s more for the satellite to contact you. Process itself should bind to your local port.
For docker, in config.yaml:
# public address to listen on
server.address: :28967
# the public address of the node, useful for nodes behind NAT
contact.external-address: <public hostname>:28969
I don’t have my windows node anymore but I’m pretty sure I never put my public ip/dns elsewhere than in the contact.external-address config.yaml field. Same for you?
This is the storagenode log not my config file.
I have my domain name in the yaml config, did not touch it, i only touched the log level in the config and after PC restart it does not work anymore. Everything worked fine before.
I understand but changing log level would not cause such an error. And I find it odd that your log shows the public ip (it should not know/care) so reviewing your configuration is likely your best bet.
Yep, i did. did not help. I think it has nothing to do with the log level change. it has something to do with the pc restart and maybe with a Storj update.
Was not restarted for more than a week.
I had a previous node on the same client, with same config and i deleted my identity by accident, that i could not retrieve.
I reinstalled everything, created new identity, new node, got 9tb downloaded already into the node, everything was fine until now.
Did you use Notepad++ to edit a config file and saved it in UTF8 without BOM?
However, there was an easy check, you might run the node from the PowerShell:
& "C:\Program Files\Storj\Storage Node\storagenode.exe" run --config-dir "C:\Program Files\Storj\Storage Node\\" --log.output=stderr
Perhaps the node would have printed out what the reason was.