Get started
Login
© 2024

Generate a bug report

The Tailscale support team can help troubleshoot certain issues based on diagnostic logs. If you are working with the support team to troubleshoot an issue, you might be asked to create a bug report. A bug report is a random indicator that marks a section of the diagnostic logs to give us better visibility into what is occurring at a specific time, which can help make triage easier.

To generate a bug report, you must be directly using the device—a bug report cannot be generated remotely.

A bug report looks like this:

BUG-1b7641a16971a9cd75822c0ed8043fee70ae88cf05c52981dc220eb96a5c49a8-20210427151443Z-fbcd4fd3a4b7ad94

The bug report identifier shares no personally-identifiable information, and is unused unless you share the bug report with our team. You can generate a bug report by using the Tailscale client applications, or the bugreport command in the Tailscale CLI.

After you generate a bug report, copy and paste the value that you can then share when you contact support.

Generating a bug report by using the client application

There are two ways of sending us information to help resolve an issue.

You can copy a bug report identifier string that the Tailscale support team can use for diagnosing general connectivity issues. To generate a bug report identifier:

  1. Select the Tailscale icon in the menu bar.
  2. Select Settings, About, then Report an Issue.
  3. Copy the bug report identifier string and paste it into your correspondence to the Tailscale support team.

The Tailscale support team might also ask you to generate a configuration report that contains more in-depth information. To generate and export a configuration report:

  1. Select the Tailscale icon in the menu bar.
  2. Select Settings, About, then Report an Issue.
  3. Select the Export Configuration Report.
  4. After the report generation is complete, the folder where it has been saved will open in the Finder. Copy and paste it into your correspondence to the Tailscale support team.

The configuration report is a tar.gz file that includes information gathered by various diagnostic tools on your Mac, such as netstat, ifconfig, lsappinfo, and systemextensionsctl. Sharing this report with the support team will speed up the troubleshooting process because it gives them a detailed look at what might be causing the issue.

Since many Tailscale issues stem from conflicts with other software installed on your Mac, the report also includes a list of installed third-party applications and system/kernel extensions. While the Tailscale support team strives to handle your personal information carefully, it's a good idea to check the configuration report yourself before sending it to ensure you're not accidentally disclosing any sensitive information.

Generating a bug report by using the CLI

The Tailscale CLI is supported only for Linux, macOS, and Windows.

Run the bugreport command:

tailscale bugreport

If you are using macOS and you haven't set your system path to include the Tailscale command executable, you need to specify the path to tailscale. For example:

/Applications/Tailscale.app/Contents/MacOS/Tailscale bugreport

You can use the following flags with the bugreport command:

  • --diagnose Prints additional verbose information about the system to the Tailscale logs after generating a bugreport identifier, which can then be viewed by our support team. Defaults to false.
  • --record Pause and then write another bugreport. Use this flag to create an initial bugreport identifier. During the pause, perform the action that reproduces your issue. Then, press Enter to create a second bugreport identifier. Share both bug identifiers with our team. Defaults to false.

What is shared in a bug report

The components of the bug report identifier are:

  • BUG to signal that this is a bug report
  • The public key for your device's logs, used by Tailscale support to locate the correct logs
  • The time that the bug report was created
  • A random number, used by Tailscale support to locate the correct location within the log

When a bug report is generated, the bug report identifier is written to the client logs, along with current health status, the current network map supplied by the coordination server, and some additional OS-dependent information that we have found useful to collect when responding to support requests, such as:

  • Windows registry settings relating to the Tailscale application
  • Windows page file settings, DLL versions, a list of installed security applications, and network interface information
  • Some additional details about internal state are also recorded if the bug report is generated using the CLI with the --diagnose option.

The bug report details are recorded in the client logs. You can see exactly what was sent by reading those logs. You can also inspect the code that generates the bug reports in GitHub, search for serveBugReport.

If client logging is disabled then bug reports are not generated even when using the tailscale bugreport command and nothing is sent to Tailscale.

Last updated Dec 10, 2024