Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Tailscale backend error: TUN: Error creating interface: The system cannot find the file specified" #4164

Closed
komocode opened this issue Mar 13, 2022 · 4 comments

Comments

@komocode
Copy link

What is the issue?

Updated to latest version of Tailscale. Tailscale says to "Please restart the Tailscale Window Service". About 1 minute later, this error message pops up
Screen Shot 2022-03-13 at 4 02 49 PM

Steps to reproduce

Update Tailscale from an old version (possibly 1.16 IIRC)
Launch Tailscale
Wait 1 minute.
Error message appears.

Are there any recent changes that introduced the issue?

No response

OS

Windows

OS version

10.0.19044 Build 19044

Tailscale version

1.22.1

Bug report

Post "http://local-tailscaled.sock/localapi/v0/bugreport?note=": net/http: HTTP/1.x transport connection broken: malformed HTTP status code "Error"

@DentonGentry
Copy link
Contributor

wintun is a library used to provide the type of TUN network interface which the Tailscale client needs. It looks like the older version got wedged and won't unload. If you haven't already, rebooting the Windows system is likely to resolve it.

If rebooting alone doesn't work, uninstalling and reinstalling would be the next thing I'd recommend.

To completely remove Tailscale and reinstall you'd do the following. The device will lose its Tailscale IP address, and be issued a different IP address after reinstall:

  1. Uninstall tailscale
  2. Remove the machine from your admin panel https://login.tailscale.com/admin/machines
  3. Delete c:\Program Files (x86)\Tailscale IPN
  4. Remove c:\Users\XXX\AppData\Local\Tailscale (where XXX is each user of the machine)
  5. Remove c:\ProgramData\Tailscale
  6. Run Device Manager, expand Network Adapters, delete Tailscale Tunnel
  7. Reinstall the latest version from https://tailscale.com/download
  8. Log in

@komocode
Copy link
Author

Thanks. The machine is currently running a long processing job. Will try after that is finished in a few days.

@komocode
Copy link
Author

I rebooted and tailscale is working. Closing

@nmambre
Copy link

nmambre commented Apr 14, 2022

wintun is a library used to provide the type of TUN network interface which the Tailscale client needs. It looks like the older version got wedged and won't unload. If you haven't already, rebooting the Windows system is likely to resolve it.

If rebooting alone doesn't work, uninstalling and reinstalling would be the next thing I'd recommend.

To completely remove Tailscale and reinstall you'd do the following. The device will lose its Tailscale IP address, and be issued a different IP address after reinstall:

1. Uninstall tailscale

2. Remove the machine from your admin panel https://login.tailscale.com/admin/machines

3. Delete c:\Program Files (x86)\Tailscale IPN

4. Remove c:\Users\XXX\AppData\Local\Tailscale (where XXX is each user of the machine)

5. Remove c:\ProgramData\Tailscale

6. Run Device Manager, expand Network Adapters, delete Tailscale Tunnel

7. Reinstall the latest version from https://tailscale.com/download

8. Log in

I followed the above steps, but still getting the error. I'm using tailscale-ipn-setup-1.22.2.exe

Windows 10 Pro
Version 21H2
OS build 19044.1620
tailscale error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants