Hi,
I’m having issues with the windows client. Whenever I try to join my network it times out on “waiting for websetup connection” after 1 minute.
This is on a fresh install of windows 11 and this worked fine with the previous install on the same computer. Ive tried the basic troubleshooting tips like restart, reinstall, and disable windows firewall but none worked.
Heres the output of “husarnet status -v”:
Version
● CLI: 2.0.13
● Daemon (running): 2.0.13
● Daemon (binary): 2.0.13
Dashboard URL
● CLI: app.husarnet.com
● Daemon: app.husarnet.com
Connection status
● Base Server: 188.165.23.196:5582 (UDP)
● Websetup: not connected
Readiness
● Is ready to handle data? yes
● Is ready to join? yes
● Is joined? no
User settings
● DAEMON_API_PORT: 16216
● DASHBOARD_FQDN: app.husarnet.com
● ENABLE_COMPRESSION: false
● ENABLE_MULTICAST: true
● ENABLE_TCP_TUNELLING: true
● ENABLE_UDP: true
● ENABLE_UDP_TUNELLING: true
● ENABLE_WHITELIST: true
● EXTRA_ADVERTISED_ADDRESS:
● HOSTNAME:
● INTERFACE_NAME: {190223D7-1A53-4529-A388-E90E87CD045C}
● JOIN_CODE:
● OVERRIDE_BASE_ADDRESS:
● OVERRIDE_SOURCE_PORT:
If you want to override any of those variables, prefix them with HUSARNET_ and provide as an environment variable to husarnet-daemon
Local
● Husarnet IP:
fc94:2037:d2ec:d82e:e28b:0059:e980:1d4c
Whitelist
fc94:b01d:1803:8dd8:b293:5c7d:7639:932a (websetup)
● inactive ● no data flow ● peer to peer
Used destination address: invalid AddrPort
Output of “husarnet join ”:
SUCCESS: Successfully registered a join request
SUCCESS: Waiting for Base server connection (any protocol)…
ERROR: timeout
ERROR: timeout
And husarnet.log:
WARNING found tap device: {37B5F8CE-9FA5-4243-BB0C-F790CC8A66C3} (/app/core/ports/windows/port_interface.cpp:98)
WARNING found tap device: {190223D7-1A53-4529-A388-E90E87CD045C} (/app/core/ports/windows/port_interface.cpp:98)
WARNING Windows interface ID is {190223D7-1A53-4529-A388-E90E87CD045C} (/app/core/ports/windows/port_interface.cpp:195)
WARNING success: tap device opened (/app/core/ports/windows/tun.cpp:56)
WARNING tap config OK (/app/core/ports/windows/tun.cpp:164)
WARNING sourceNetshName: Ethernet 3 (/app/core/ports/windows/networking.cpp:43)
3 is not an acceptable value for admin.
The parameter is incorrect.
WARNING rename failed (/app/core/ports/windows/networking.cpp:51)
One or more essential parameters were not entered.
Verify the required parameters, and reenter them.
The syntax supplied for this command is not valid. Check help for the correct syntax.
Usage: add neighbors [interface=]<string> [address=]<IPv6 address>]
[neighbor=]<string> [[subinterface=]<string>]
[[store=]active|persistent]
Parameters:
Tag Value
interface - Interface name or index.
address - Address of neighbor.
neighbor - Link layer address of neighbor.
subinterface - LUID of the subinterface. This is only needed on
interfaces with multiple subinterfaces.
store - One of the following values:
active: Address will disappear on next boot.
persistent: Address will be persistent.
This is the default.
Example:
add neighbors "Private" "3f::2" "12-34-56-78-9a-bc"
WARNING myIp is: fc94:2037:d2ec:d82e:e28b:0059:e980:1d4c (/app/core/ports/windows/networking.cpp:60)
Invalid address parameter (3). It should be a valid IPv6 address.
Invalid nexthop parameter (3). It should be a valid IPv6 address.
Invalid nexthop parameter (3). It should be a valid IPv6 address.
WARNING Installing rule: AllowHusarnet in Windows Firewall (/app/core/ports/windows/networking.cpp:74)
New-NetFirewallRule : A positional parameter cannot be found that accepts argument '3'.
At line:1 char:1
+ New-NetFirewallRule -DisplayName AllowHusarnet -Direction Inbound -Ac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-NetFirewallRule], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,New-NetFirewallRule
WARNING MAC address: 00:ff:19:02:23:d7 (/app/core/ports/windows/tun.cpp:181)
WARNING ngsocket fc94:2037:d2ec:d82e:e28b:0059:e980:1d4c listening on 5582 (/app/core/ngsocket.cpp:580)
INFO Sending update request to websetup (/app/core/websetup.cpp:155)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING HTTP thread bound to 127.0.0.1:16216. Will start handling the connections. (/app/core/api_server/server.cpp:361)
WARNING waiting until base address is resolved... (/app/core/ngsocket.cpp:887)
WARNING waiting until base address is resolved... (/app/core/ngsocket.cpp:887)
WARNING waiting until base address is resolved... (/app/core/ngsocket.cpp:887)
WARNING saving settings (/app/core/config_storage.cpp:78)
WARNING retrying with fallback base address: 188.165.23.196:443 (/app/core/ngsocket.cpp:882)
INFO establishing connection to base 188.165.23.196:443 (/app/core/ngsocket.cpp:891)
WARNING TCP connection to base server established (/app/core/ngsocket.cpp:395)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING UDP connection to base server established (/app/core/ngsocket.cpp:370)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING tried to serialize unexpected peer to base message type: NAT_INIT_TRANSIENT (/app/core/ngsocket.cpp:838)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
WARNING Sending join request to websetup (/app/core/websetup.cpp:150)
ERROR websetup UDP send failed No error (/app/core/websetup.cpp:101)
Could someone help with this?
EDIT: I also tried adding the join code and hostname as environment variables so that doesn’t work either