Unable to Join Husarnet Network - Timeout Error

I am experiencing an issue while trying to join my device to the Husarnet network using a join code. Despite following the instructions, I consistently encounter a timeout error. Below are the details of the problem:

Devices and Network Configuration:

Laptop: Dell Precision 7560
Operating System: Ubuntu 20.04 (or specify your OS)
Husarnet Version: 2.0.180 (CLI and Daemon)
Network: My laptop is connected to the internet via a stable Wi-Fi connection.

SUCCESS: Successfully registered a join request
SUCCESS: Waiting for Base server connection (any protocol)…
SUCCESS: Waiting for websetup connection…
ERROR: timeout

Troubleshooting Attempts:

  1. Restarted the Husarnet service:

sh

Copy code

sudo systemctl restart husarnet
  1. Verified the status:

sh

Copy code

sudo husarnet status
  1. Allowed TCP and UDP on required ports as specified in the documentation.
  2. Ensured a stable internet connection throughout the process.
  3. Reviewed logs using:

sh

Copy code

sudo journalctl -u husarnet -f

Current Husarnet Status:

sh

Copy code

sudo husarnet status
Version
● CLI:                       2.0.180
● Daemon (running):          2.0.180
● Daemon (binary):           2.0.180

Feature flags
● Hooks:                     disabled
● Disabled hooks are not a reason to panic, unless your setup needs them
● Notifications:             enabled

Dashboard URL
● CLI:                       app.husarnet.com
● Daemon:                    app.husarnet.com

Connection status
● Base Server:               188.165.23.196:5582 (UDP)

Readiness
● Is ready to handle data?   yes
● Is ready to join?          yes
● Is joined?                 no

Local
● Husarnet IP:
fc94:6a82:4827:3ef5:866c:008a:cd87:66dc

Whitelist
fc94:b01d:1803:8dd8:b293:5c7d:7639:932a (websetup)
● active     ● secure         ● tunelled

Journal Logs:

sh

Copy code

sudo journalctl -u husarnet -f
May 27 14:38:56 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:56 INFO     establishing connection to base 188.165.23.196:443
May 27 14:38:56 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:56 INFO     TCP connection to base server established, server address: 188.165.23.196:443
May 27 14:38:56 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:56 INFO     reestablish connection to [fc94:b01d:1803:8dd8:b293:5c7d:7639:932a]
May 27 14:38:56 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:56 INFO     reestablish connection to [fc94:b01d:1803:8dd8:b293:5c7d:7639:932a]
May 27 14:38:57 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:57 INFO     send multicast to 1 destinations
May 27 14:38:57 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:57 INFO     hello 2 from fc94b01d18038dd8b2935c7d7639932a
May 27 14:38:57 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:57 INFO     established secure connection to fc94b01d18038dd8b2935c7d7639932a
May 27 14:38:58 mylaptop husarnet-daemon[28497]: 2024-05-27_14:38:58 INFO     Sending update request to websetup
May 27 14:39:03 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:03 INFO     Sending update request to websetup
May 27 14:39:03 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:03 INFO     reestablish connection to [fc94:b01d:1803:8dd8:b293:5c7d:7639:932a]
May 27 14:39:06 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:06 INFO     send multicast to 1 destinations
May 27 14:39:08 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:08 INFO     Sending update request to websetup
May 27 14:39:08 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:08 INFO     reestablish connection to [fc94:b01d:1803:8dd8:b293:5c7d:7639:932a]
May 27 14:39:13 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:13 INFO     Sending update request to websetup
May 27 14:39:18 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:18 INFO     Sending update request to websetup
May 27 14:39:22 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:22 INFO     reestablish connection to [fc94:b01d:1803:8dd8:b293:5c7d:7639:932a]
May 27 14:39:23 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:23 INFO     send multicast to 1 destinations
May 27 14:39:23 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:23 INFO     Sending update request to websetup
May 27 14:39:28 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:28 INFO     Sending update request to websetup
May 27 14:39:33 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:33 INFO     Sending update request to websetup
May 27 14:39:38 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:38 INFO     Sending update request to websetup
May 27 14:39:43 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:43 INFO     Sending update request to websetup
May 27 14:39:47 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:47 INFO     reestablish connection to [fc94:b01d:1803:8dd8:b293:5c7d:7639:932a]
May 27 14:39:48 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:48 INFO     Sending update request to websetup
May 27 14:39:53 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:53 INFO     Sending update request to websetup
May 27 14:39:57 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:57 INFO     send multicast to 1 destinations
May 27 14:39:58 mylaptop husarnet-daemon[28497]: 2024-05-27_14:39:58 INFO     Sending update request to websetup
May 27 14:40

can someone help ?

Hi @Ralph :wave:

Try following steps to solve your problem:

  1. Stop Husarnet service using

sudo systemctl stop husarnet

  1. Clear Husarnet daemon config files

rm -rf /var/lib/husarnet/*

  1. Start Husarnet service using

sudo systemctl start husarnet

  1. Try again to join your network

sudo husarnet join [join-code]

If problem still persist try to temporary disable firewall and see if that worked.

Regards, Filip