Anything that can be done , to make Storj a little more robust?

Hmmm well the only multiple IP’s i see, are the extras for Docker.

| SGC
March 10 |

  • | - |

mocallins:

Awesome Alexey finally chimed in, lol.
I’m lazy so i put the command in a file

[storjnode]:</home/mike/> cat storjrunm
docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967/tcp
-p 28967:28967/udp
-p 14002:14002 \

-e WALLET="0x38.edit.4b5" \
-e EMAIL="mo.edit.m" \

-e ADDRESS=“collinsinfotech.com:28967
-e STORAGE=“2.7TB”
–user id -u:id -g
–mount type=bind,source=“/home/mike/.local/share/storj/identity/storagenode”,destination=/app/identity
–mount type=bind,source=“/data”,destination=/app/config
–name storagenode storjlabs/storagenode:latest
[storjnode]:</home/mike/>

if you have multiple ip’s on the storagenode host, it can be a good idea to
define those in the docker run command, sometimes the node can decide to run on different IP’s than one expects.

-p 192.168.0.10:28967:28967/tcp
-p 192.168.0.10:28967:28967/udp
-p 192.168.0.10:14002:14002 \

would look something like that

Does you node offline on the dashboard?
If so, please check the WAN IP on your router and compare it with IP on Open Port Check Tool - Test Port Forwarding on Your Router, if they don’t match, the port forwarding will not work.
If they matches, then please check your DDNS hostname:

nslookup collinsinfotech.com 8.8.8.8

it should resolve to the same IP, as your WAN IP and IP on yougetsignal.
If it’s not - you need to update it with their updater or use a different DDNS provider.

I can’t get to the web dashboard. Is there a simple cli version ?

[picop]:</home/pi/> nslookup collinsinfotech.com
Server: 68.105.28.11
Address: 68.105.28.11#53

Non-authoritative answer:
Name: collinsinfotech.com
Address: 24.253.232.195

[picop]:</home/pi/> curl -s ifconfig.me
24.253.232.195[picop]:</home/pi/> curl -a -s ifconfig.me
24.253.232.195[picop]:</home/pi/>
[picop]:</home/pi/> cme
cme: Command not found.
[picop]:</home/pi/> alias cme ‘echo curl -s ifconfig.me
[picop]:</home/pi/> cme
24.253.232.195

| Alexey Leader
March 11 |

  • | - |

Does you node offline on the dashboard?
If so, please check the WAN IP on your router and compare it with IP on Open Port Check Tool - Test Port Forwarding on Your Router, if they don’t match, the port forwarding will not work.
If they matches, then please check your DDNS hostname:

nslookup collinsinfotech.com 8.8.8.8

it should resolve to the same IP, as your WAN IP and IP on yougetsignal.
If it’s not - you need to update it with their updater or use a different DDNS provider.

Yes, docker exec -it storagenode ./dashboard.sh
Or you may use How to remote access the web dashboard - Storj Node Operator Docs

You did not answer - does your resolved IP matches the WAN IP?
Because 28967 port on this hostname is closed

Please post the last 20 lines from the logs between two new lines with three backticks like this:

```
logs lines here
```

Yes i posted the outputs from nslookup and curl ifconfig.me, they all match.

[storjnode]:</home/mike/> docker exec -it storagenode ./dashboard.sh
2023-03-13T04:27:44.681Z        INFO    Configuration loaded    {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2023-03-13T04:27:44.681Z        INFO    Anonymized tracing enabled      {"Process": "storagenode"}
2023-03-13T04:27:44.708Z        INFO    Identity loaded.        {"Process": "storagenode", "Node ID": "12c8JB6mnmQhDgh2fbHC9f5bp8ByqM1pDsyzFkzVsQQaEvg6T7u"}
Error: rpc: dial tcp 127.0.0.1:7778: connect: connection refused
[storjnode]:</home/mike/>

log :

[storjnode]:</home/mike/> alias snlt
docker  logs --tail 20 storagenode
[storjnode]:</home/mike/> snlt
2023-03-13T04:33:40.696Z        ERROR   Invalid configuration.  {"Process": "storagenode", "error": "invalid contact.external-address: lookup \"collinsinfotech.com\" failed: lookup collinsinfotech.com on 8.8.4.4:53: read udp 172.17.0.3:34774->8.8.4.4:53: i/o timeout", "errorVerbose": "invalid contact.external-address: lookup \"collinsinfotech.com\" failed: lookup collinsinfotech.com on 8.8.4.4:53: read udp 172.17.0.3:34774->8.8.4.4:53: i/o timeout\n\tstorj.io/storj/storagenode.(*Config).Verify:161\n\tmain.cmdRun:188\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tmain.main:478\n\truntime.main:250"}
Error: invalid contact.external-address: lookup "collinsinfotech.com" failed: lookup collinsinfotech.com on 8.8.4.4:53: read udp 172.17.0.3:34774->8.8.4.4:53: i/o timeout
2023-03-13 04:33:40,699 INFO exited: storagenode (exit status 1; not expected)
2023-03-13 04:33:41,703 INFO spawned: 'storagenode' with pid 26
2023-03-13 04:33:41,704 WARN received SIGQUIT indicating exit request
2023-03-13 04:33:41,706 INFO waiting for storagenode, processes-exit-eventlistener, storagenode-updater to die
2023-03-13T04:33:41.705Z        INFO    Got a signal from the OS: "terminated" {"Process": "storagenode-updater"}
2023-03-13 04:33:41,707 INFO stopped: storagenode-updater (exit status 0)
2023-03-13T04:33:41.765Z        INFO    Configuration loaded    {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2023-03-13T04:33:41.766Z        INFO    Anonymized tracing enabled      {"Process": "storagenode"}
2023-03-13T04:33:41.768Z        INFO    Operator email  {"Process": "storagenode", "Address": "mo...om"}
2023-03-13T04:33:41.768Z        INFO    Operator wallet {"Process": "storagenode", "Address": "0x38..5"}
2023-03-13 04:33:44,772 INFO waiting for storagenode, processes-exit-eventlistener to die
2023-03-13 04:33:47,777 INFO waiting for storagenode, processes-exit-eventlistener to die
2023-03-13 04:33:50,781 INFO waiting for storagenode, processes-exit-eventlistener to die
2023-03-13 04:33:51,783 WARN killing 'storagenode' (26) with SIGKILL
2023-03-13 04:33:51,785 INFO stopped: storagenode (terminated by SIGKILL)
2023-03-13 04:33:51,785 INFO stopped: processes-exit-eventlistener (terminated by SIGTERM)
2023-03-13 04:33:52,890 INFO RPC interface 'supervisor' initialized
2023-03-13 04:33:52,891 INFO supervisord started with pid 1
[storjnode]:</home/mike/>

Please login to your router and compare this IP with WAN IP, if they do not match the port forwarding will not work.

Also this one is concerning:

This is mean, that something is blocking connections, it even cannot resolve the hostname.
And it could also mean that your DNS server for this domain could be misconfigured.

image

1 Like

Then only need to fix the issue with the local network. You need to search where packets got dropped. You may use an mtr utility for that.

[storjnode]:</home/mike/> ping collinsinfotech.com
pinging collinsinfotech.com
PING collinsinfotech.com (24.253.232.195) 56(84) bytes of data.
64 bytes from ip24-253-232-195...net (24.253.232.195): icmp_seq=1 ttl=64 time=0.760 ms
64 bytes from ip24-253-232-195...net (24.253.232.195): icmp_seq=2 ttl=64 time=0.650 ms
64 bytes from ip24-253-232-195...net (24.253.232.195): icmp_seq=3 ttl=64 time=0.849 ms
64 bytes from ip24-253-232-195...net (24.253.232.195): icmp_seq=4 ttl=64 time=0.758 ms
64 bytes from ip24-253-232-195...net (24.253.232.195): icmp_seq=5 ttl=64 time=0.757 ms

--- collinsinfotech.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 8126ms
rtt min/avg/max/mdev = 0.650/0.754/0.849/0.063 ms
[storjnode]:</home/mike/>

please check this:

mtr 8.8.4.4
                             My traceroute  [v0.93]
storjnode (192.168.0.210)                              2023-03-12T23:56:31-0500
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                       Packets               Pings
 Host                                Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. _gateway                          0.0%     6    0.4   0.4   0.4   0.5   0.1
 2. 10.6.64.1                         0.0%     6    6.6   7.9   6.6   8.8   0.8
 3. 100.126.5.210                     0.0%     6   13.2   9.0   6.7  13.2   2.2
 4. 100.126.4.142                     0.0%     6    9.7  11.4   8.6  19.6   4.1
 5. dalsbprj01-ae1.0.rd.dl.cox.net    0.0%     6   13.8  14.7  12.3  18.3   2.1
 6. 209.85.172.68                     0.0%     6   15.0  15.6  14.9  17.1   0.9
 7. 108.170.225.149                   0.0%     6   13.0  13.7  12.6  15.0   0.9
 8. 142.251.76.37                     0.0%     6   14.3  13.3  12.3  14.3   0.7
 9. 8.8.4.4                           0.0%     5   13.3  14.2  12.6  17.1   1.8

Hmmm omg not this crap again, this cable modem, does this stupid thing forwarding out some weird 10.6.64.1 address, this is the reasson i put a real router in there, to stop that.
But i think its been doing it ll along, this is the same cablemodem i had originally setting up Storj. :roll_eyes:

Looks like it’s no more in a bridge mode and likely in the router mode (NAT is enabled). So you need to create a port forwarding rule on it.
If you have some router in between, then you need to have two such rules:

  1. from the modem to the router
  2. from the router to your host with storagenode.

Yes, it is :

When its disabled there is a little red dot on the lightbulb

is very simple to setup:

So have we verified all the setup is correct yet ?
What needs to be done in Storj ?

Need to check that your PC with storagenode has the same local IP, as specified in the port forwarding rule. And make sure that this port is allowed in your firewall.
The next would be to make sure that storagenode is running and check the port.
It also worth to check logs for errors.
Right now the port is closed.

I’m running storj in a vm, all by itself.
The ip address is static.
I do not currently have the firewall enabled, because this isn’t working.

I see errors, in the logs, but i guess they aren’t “real” errors, so it just leads me off the track to finding anything.
Plus i can barely stop and start the thing inside docker, so my troubleshooting skills are basically all the
simple things you’ve had me repeat, that’s why i’m on the forum now.
I would have no idea what to look for, or do , inside the docker.

I think the port is closed probably because the storagenode is not completly running cirrecctly, the rest of my network is fine, i have no issues with other vms or my pc. SMH

Yes, if the container is restarting, the port will be closed. Since it cannot resolve the own hostname using the external DNS, there are network issue in this VM.
By the way is docker installed using snap?

You may try to replace a hostname with your public IP instead.

I don’t remember if I installed via snap, whatever your directions, is what i did.

I think i tried with the public ip, but i can try again.

Just remember this was all working, beforehand.