-
Notifications
You must be signed in to change notification settings - Fork 87
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
Random DNS issue when using Github Actions #107
Comments
Are you using a Dockerfile runner or the Tailscale-supplied action.yml? What's your GitHub runner type/version? |
I tried both the GitHub actions and the manual installation, run on ubuntu-latest, and 20.04 (seems more stable). |
I was running into a lot of transient DNS resolution failures, followed this recommendation and it seems to be working a lot better: #51 (comment) |
I too encounter a lot of transient DNS errors, my deployment pipelines randomly fail like this:
It was working fine a few weeks ago, now I have to restart my deployment pipelines a lot. |
I saw this a while back, but it seemed to go away for a while, then it became a problem again about a week ago. We are using the standard hosted runner and the following action. When it started causing us problems last week, we added the Tailscale version based on the same issue @matthewjthomas referenced, #51. It has not made a difference. This is our action. name: 'connect_tailscale'
description: 'Connects to Tailscale'
inputs:
ts_oauth_client_id:
description: 'TS_OAUTH_CLIENT_ID'
required: true
ts_oauth_secret:
description: 'TS_OAUTH_SECRET'
required: true
runs:
using: 'composite'
steps:
- name: Tailscale
uses: tailscale/github-action@v2
with:
version: 1.64.0
oauth-client-id: ${{ inputs.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ inputs.TS_OAUTH_SECRET }}
tags: tag:github
args: --accept-routes --accept-dns |
We are also experiencing DNS timeouts with tailscale in our ci. Our setup
|
We found that the tailscale action is "reporting ready" to quickly. I'd like to have a more consistent way of waiting for DNS to become ready though. |
I'm trying to use TailScale GitHub actions on the latest (I also tested different versions) version of TailScale and getting these DNS Issues.
It also happens when attempting to install it manually on the machine while it is running,
I've tried injecting the nameserver and the search to
/etc/resolve.conf
But it doesn't help in this case.
On the Admin console, I've defined the machine as an Ephermal and pre-approved machine.
It happens only on GitHub action machines.
This issue is something that happens and sometimes does not.
Thanks.
The text was updated successfully, but these errors were encountered: