Skip to content

Hostname is not a valid DNS label #192

@emzvargas

Description

@emzvargas

It looks like GitHub has changed the way hostnames are assigned to their GitHub Actions runners. When trying to bring Tailscale up, we’re seeing the following error:

Run if [ -z "${HOSTNAME}" ]; then
Attempt 1 to bring up Tailscale...
"github-sjc22-be107_f5f50a37-780d-4e63-a249-b785b1d3ba72-DEC74CA53709" is not a valid DNS label
Tailscale up failed. Retrying in 5 seconds...
Attempt 2 to bring up Tailscale...
"github-sjc22-be107_f5f50a37-780d-4e63-a249-b785b1d3ba72-DEC74CA53709" is not a valid DNS label
Tailscale up failed. Retrying in 10 seconds...
Attempt 3 to bring up Tailscale...
"github-sjc22-be107_f5f50a37-780d-4e63-a249-b785b1d3ba72-DEC74CA53709" is not a valid DNS label
Tailscale up failed. Retrying in 15 seconds...
Attempt 4 to bring up Tailscale...
"github-sjc22-be107_f5f50a37-780d-4e63-a249-b785b1d3ba72-DEC74CA53709" is not a valid DNS label
Tailscale up failed. Retrying in 20 seconds...
Attempt 5 to bring up Tailscale...
"github-sjc22-be107_f5f50a37-780d-4e63-a249-b785b1d3ba72-DEC74CA53709" is not a valid DNS label
Tailscale up failed. Retrying in 25 seconds...

As a workaround, we’ve had to set the hostname variable manually.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions