sentinel-official / dvpn-node

The official Sentinel dVPN node
Apache License 2.0
108 stars 33 forks source link

DVPN Node will not start - Stuck on Speed Test #97

Open HammontreeArt opened 2 years ago

HammontreeArt commented 2 years ago

Describe the bug The DVPN Node will not start. It is stuck on the SPEED TEST and then generates an ERROR.

To Reproduce

  1. Must have a node in GeoIP location info city=Richardson country="United States"
  2. Stop Node
  3. rename /root/.sentinelnode/data.db
  4. Start Node

Expected behavior The Speed-Test should complete and advance to the next step of the start-up process.

Screenshots image 20220407_NodeLog_001.txt

Desktop (please complete the following information):

Additional context I am using Android Exidio App to connect to the node.

HammontreeArt commented 2 years ago

@bsrinivas8687 The SPEED TEST finally completed. (down time 8 hours).

My guess is that the server it was connecting to locked out the NODE ip because of too many attempts.

I have my docker command setup to RESTART on failure...

    docker run -d \
        --name sentinel-dvpn-node \
        --restart unless-stopped \
            .....
      sentinel-dvpn-node process start

Please, do you think that's a possibility?

HammontreeArt commented 2 years ago

Got an answer from Florian via Telegram.

image

HammontreeArt commented 2 years ago

I can tell from the Docker Log that the speed test keeps trying the same url / address.

Recommendation: Maybe you could add a waterfall speed test check.
Check 1st speed test On failure go to 2nd speed test On failure go to 3rd speed test etc.

Arnav-247 commented 2 years ago

Facing the same issue as OP -Node stops when reaching the "performing internet speedtest" line with the following error in the output log.

Logs from docker

2022-04-08T18:59:32Z INF Reading the configuration file path=/root/.sentinelnode/config.toml 2022-04-08T18:59:32Z INF Validating the configuration data={"chain":{"gas":200000,"gas_adjustment":1.05,"gas_prices":"0.1udvpn","id":"sentinelhub-2","rpc_address":"https://rpc.sentinel.co:443","simulate_and_execute":true},"handshake":{"enable":true,"peers":8},"keyring":{"backend":"file","from":"ThunderDevs"},"node":{"interval_set_sessions":120000000000,"interval_update_sessions":6900000000000,"interval_update_status":3300000000000,"listen_on":"0.0.0.0:8585","moniker":"ThunderDevs","price":"500001udvpn","provider":"","remote_url":"https://thunderturd.duckdns.org:8585"},"qos":{"max_peers":250}} 2022-04-08T18:59:32Z INF Creating IPv4 pool CIDR=10.8.0.2/24 2022-04-08T18:59:32Z INF Creating IPv6 pool CIDR=fd86:ea04:1115::2/120 2022-04-08T18:59:32Z INF Initializing RPC HTTP client address=https://rpc.sentinel.co:443 endpoint=/websocket 2022-04-08T18:59:32Z INF Initializing keyring backend=file name=sentinel Enter keyring passphrase: 2022-04-08T19:01:00Z INF Querying account address=sent13a7eudt3leexpylx2qee945wc6pfrj6qrvcrmn 2022-04-08T19:01:00Z INF Fetching GeoIP location info... 2022-04-08T19:01:00Z INF GeoIP location info city=Mumbai country=India 2022-04-08T19:01:00Z INF Performing internet speed test... Error: Post "http://speedtest.stnet.in:8080/speedtest/upload.php": readfrom tcp 172.17.0.2:42978->103.160.210.50:8080: write tcp 172.17.0.2:42978->103.160.210.50:8080: use of closed network connection

Running wget http://speedtest.stnet.in:8080/speedtest/upload.php produces the following output. image

Running Raspbian OS(debian 11) on a Raspberry Pi 4.

HammontreeArt commented 2 years ago

TO: Developers Adding to @Arnav-247 comments above. Looks like that Speed Test site is down for awhile. If there was a waterfall check on failure that would help.

image

syahpian commented 2 years ago

hello,

im getting this error when starting my node

"Error: Get "https://speedtest-mati.vodafone.pt:8080/speedtest/latency.txt": x509: certificate has expired or is not yet valid: current time 2022-04-18T05:06:49Z is after 2022-03-20T06:38:52Z"

using web browser going to https://speedtest-mati.vodafone.pt:8080/speedtest/latency.txt image

syahpian commented 2 years ago

getting new error when starting my node

2022-05-01T02:08:27Z INF Performing internet speed test... Error: Get "http://speedtest-10g.ctsabah.net:8080/speedtest/latency.txt": dial tcp 103.104.69.40:8080: i/o timeout

DVPN NODE STOPPED

image

patolucas64 commented 2 years ago

I can tell from the Docker Log that the speed test keeps trying the same url / address.

Recommendation: Maybe you could add a waterfall speed test check. Check 1st speed test On failure go to 2nd speed test On failure go to 3rd speed test etc.

This would be a good solution because the nodes are continually out of service due to this failure and we cannot do anything about it.

Falla-certificado1 Falla-certificado2

kalooyan commented 2 years ago

I stuck to in speed test. I think is problem with speedtest-go API. I open issue here:

https://github.com/showwin/speedtest-go/issues/73

0xwetzo commented 2 years ago
2022-09-19T14:33:21Z INF Performing internet speed test...
Error: EOF

I can't pass the speed test either :-(

kfmg commented 2 years ago

any news?