Skip to content

panic: node with zero ID when running wush serve on ARM Windows, freezes in the other direction #28

Closed
@ilyagr

Description

@ilyagr

Windows server

I'm running ARM Windows 11 in a VM (set up following these instructions ) and ran wush serve there from the official binary at

https://github.com/coder/wush/releases/download/v0.2.1/wush_0.2.1_windows_arm64.zip

It seems to work, but when I run wush ssh or wush cp from the ARM Mac OS host, I get the same error:

macos:~$ wush cp VERSION
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     San Francisco
        > Server overlay public key:    [MKp73]
        > Server overlay auth key:      [gIf3M]
Bringing WireGuard up..
panic: node with zero ID

goroutine 437 [running]:
tailscale.com/wgengine/magicsock.devPanicf({0x103d1dbdb, 0x11}, {0x0, 0x0, 0x0})
        [email protected]/wgengine/magicsock/magicsock.go:2168 +0x74
tailscale.com/wgengine/magicsock.(*Conn).SetNetworkMap(0x140003b1408, 0x14000d1e008)
        [email protected]/wgengine/magicsock/magicsock.go:2043 +0x364
tailscale.com/wgengine.(*userspaceEngine).SetNetworkMap(0x1400019d808, 0x14000d1e008)
        [email protected]/wgengine/userspace.go:1253 +0x2c
tailscale.com/ipn/ipnlocal.(*LocalBackend).SetControlClientStatus(0x14000123208, {0x10438e7e0, 0x1400043f040}, {{}, {0x0, 0x0}, {0x0, 0x0}, 0x14000d1e008, {0x14000439440}, ...})
        [email protected]/ipn/ipnlocal/local.go:1441 +0x10ec
tailscale.com/control/controlclient.(*Auto).sendStatus.func1()
        [email protected]/control/controlclient/auto.go:610 +0x50
tailscale.com/util/execqueue.(*ExecQueue).run(0x1400043f080, 0x14000446df0?)
        [email protected]/util/execqueue/execqueue.go:57 +0x28
created by tailscale.com/util/execqueue.(*ExecQueue).Add in goroutine 190
        [email protected]/util/execqueue/execqueue.go:31 +0x1a0

On the server, I get messages like

15:01:37 Received connection request over DERP from ...
15:01:38 Received updated node from  ....
15:01:38 Received updated node from  ....
15:01:38 Received updated node from  ....

Windows client

When I run wush serve on the Mac OS host, I get a different problem. When I run wush cp on the Windows VM, I get:

windows:~>  ./wush cp wush.exe
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     Los Angeles
        > Server overlay public key:    [fy3OO]
        > Server overlay auth key:      [ZNkj+]
Bringing WireGuard up..

... and everything freezes. On the server, it prints:

macos:~$  wush serve
Picked DERP region  Los Angeles  as overlay home
Your auth key is:
        >  ...
Use this key to authenticate other  wush  commands to this instance.
15:04:03 WireGuard is ready
15:04:03 SSH server enabled
15:04:03 File transfer server enabled
15:04:24 Received connection request over DERP from WINDOWS-OANL56F\ilyagr@WINDOWS-OANL56F
15:07:16 Received connection request over DERP from WINDOWS-OANL56F\ilyagr@WINDOWS-OANL56F

wush ssh gives the same result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions