tailscale / github-action

A GitHub Action to connect your workflow to your Tailscale network.
BSD 3-Clause "New" or "Revised" License
551 stars 84 forks source link

Got error: Get "http://local-tailscaled.sock/localapi/v0/status #8

Closed uxkjaer closed 3 years ago

uxkjaer commented 3 years ago

Hi.

First of all thanks for a great product in Tailscale. I've tried to use the action in my CI. It doesn't seem to start the service properly. image

Check pipeline https://github.com/uxkjaer/abap_test_runner_cli/runs/3421651368?check_suite_focus=true

DentonGentry commented 3 years ago

It isn't printing much, is it?

It looks like tailscale up only ran once, and blocked until GitHub timed it out. That is what would happen if TAILSCALE_AUTHKEY is not set: tailscale up is blocked waiting for you to click on a link the the browser to authenticate it.

If TAILSCALE_AUTHKEY is not set, you can allocate one at https://login.tailscale.com/admin/settings/authkeys We recommend an ephemeral key for this purpose, because it will be automatically deleted about an hour after the CI runner exits.

uxkjaer commented 3 years ago

I forgot to set my environment in my step 🤦‍♂️