Skip to content
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

Intermittent connection issue after connecting to the remote host using tailscale #145

Open
eman-cirrusgo opened this issue Dec 9, 2024 · 4 comments

Comments

@eman-cirrusgo
Copy link

eman-cirrusgo commented Dec 9, 2024

Hello,

We are using this step within our GitHub workflow, the ping to a remote server after this step sometimes works and sometimes it, doesn't, how can I check further where is the issue?

      - name: Connect to Tailscale
        uses: tailscale/github-action@v2
        with:
          oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
          oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
          tags: tag:xxx
          version: 1.52.0
      - name: ping the server
        run: |
          ping -c 5 $SSH_HOST
        env:
          SSH_HOST: ${{ secrets.CICD_SSH_HOST }}   
@grelland
Copy link

grelland commented Dec 9, 2024

Don't have an answer, but can confirm we are periodically experiencing the same issue on GitHub Actions hosted runners which connect to our Tailnet. Interested in learning more about how to debug it.

@lukasmrtvy
Copy link

Related #107

@eman-cirrusgo
Copy link
Author

eman-cirrusgo commented Dec 10, 2024

I keep getting this in the debug status, and it's becoming to happen frequently...

# Health check:
#     - no DERP home
pong from *** (100.x.x.x) via DERP(dbi) in 632ms
pong from *** (100.x.x.x) via DERP(dbi) in 220ms
pong from *** (100.x.x.x) via DERP(dbi) in 221ms
pong from *** (100.x.x.x) via DERP(dbi) in 223ms
pong from *** (100.x.x.x) via DERP(dbi) in 226ms
pong from *** (100.x.x.x) via DERP(dbi) in 220ms
pong from *** (100.x.x.x) via DERP(dbi) in 220ms
pong from *** (100.x.x.x) via DERP(dbi) in 221ms
pong from *** (100.x.x.x) via DERP(dbi) in 221ms
pong from *** (100.x.x.x) via DERP(dbi) in 221ms
direct connection not established

@kim-anchorzero
Copy link

For others who have made the jump to v3 of the action, there was a default timeout of 2 minutes added to the longevity of the connection where the previous was 5m. 16d7e0b#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants