tailscale / tailscale/tailscale

Tailscale logs TLS cert verificication error.

Open
#14,242 4 comments 1 reaction 0 assignees View on GitHub
bug needs-triage
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
2d 3h
Merged PRs (30d)
123

Description

### What is the issue?

Tailscale works OK with my own headscale most of the times, but when my PC disconnect and reconnect from Internet, or when I exit and re-run Tailscale From GUI, Tailscale would be unable to connect to my headscale.

A reboot of my PC or kill Tailscale in Windows Task Manager then re-run Tailscale would help Tailscale back to normal.

Then I look into Tailscale logs, there are TLS cert verificication info as below:
```
2024-11-28T14:11:39.716+08:00: control: lite map update error after 10s: Post "https://:8080/machine/map": connection attempts aborted by context: context deadline exceeded
2024-11-28T14:11:39.716+08:00: control: updateRoutine: [v1] backoff: 55 msec
2024-11-28T14:11:39.764+08:00: control: [v1] PollNetMap: Post "https://:8080/machine/map": connection attempts aborted by context: context deadline exceeded
2024-11-28T14:11:39.764+08:00: control: [v1] sendStatus: mapRoutine1: state:authenticated
2024-11-28T14:11:39.764+08:00: control: [v1] mapRoutine: state:authenticated
```

```
2024-11-28T15:56:48.346+08:00: health(warnable=no-derp-connection): ok
2024-11-28T15:56:48.575+08:00: control: warning: TLS cert verificication for "" failed: x509: certificate signed by unknown authority
2024-11-28T15:56:48.855+08:00: [v1] LinkChange: minor
2024-11-28T15:56:48.855+08:00: magicsock: ReSTUN("link-change-minor") ignored; stopped, no private key
2024-11-28T15:56:48.855+08:00: health(warnable=no-derp-connection): ok
2024-11-28T15:56:49.726+08:00: health(warnable=warming-up): ok
2024-11-28T15:56:54.726+08:00: health(warnable=no-derp-connection): error: Tailscale could not connect to the 'HuaweiYun Guangzhou' relay server. Your Internet connection might be down, or the server might be temporarily unavailable.
2024-11-28T15:56:54.727+08:00: health(warnable=no-derp-connection): error: Tailscale could not connect to the 'HuaweiYun Guangzhou' relay server. Your Internet connection might be down, or the server might be temporarily unavailable.
2024-11-28T15:56:57.976+08:00: control: [v1] TryLogin: register request: Post "https://:8080/machine/register": connection attempts aborted by context: context deadline exceeded
2024-11-28T15:56:57.976+08:00: control: [v1] sendStatus: authRoutine-report: state:authenticating
2024-11-28T15:56:57.976+08:00: control: authRoutine: [v1] backoff: 10 msec
2024-11-28T15:56:57.976+08:00: Received error: register request: Post "https://:8080/machine/register": connection attempts aborted by context: context deadline exceeded
2024-11-28T15:56:57.976+08:00: health(warnable=login-state): error: You are logged out. The last login error was: register request: Post "https://:8080/machine/register": connection attempts aborted by context: context deadline exceeded
```

### Steps to reproduce

1. PC disconnect and reconnect from Internet, or exit and re-run Tailscale From GUI.
2. Tailscale unable to connect to headscale.

### Are there any recent changes that introduced the issue?

_No response_

### OS

Windows

### OS version

Windows11 22631.4460

### Tailscale version

1.76.6

### Other software

_No response_

### Bug report

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.