Repository navigation
Conversation
tailscaled's stderr goes to ~/tailscaled.log, so when the daemon exits at startup the job only reports that the local socket is unreachable. The cause, such as a missing /dev/net/tun, stays in a file that goes away with the runner. When debug logging is enabled, append the last 20 lines of that log to the timeout error, with credentials in URLs redacted. Otherwise say that re-running with debug logging will include it. Updates tailscale#140 Signed-off-by: Jeremy Schoemaker <jeremy@shoemoney.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
tailscaledexits at startup, the action times out with "failed to connect to local tailscaled" and the real cause sits in~/tailscaled.log, which nobody can read on a hosted runner. #140, #226 and #286 are all people hitting this.In #154 oxtoacart asked that tailscaled output only be shown when debug logging is enabled, so this follows that:
user:pass@in URLs is redacted, since tailscaled logs proxy URLs.Not done: no special-case hints for known causes such as a missing
/dev/net/tun.The repo has no unit tests, so I ran the helper against a sample log:
dist/is rebuilt andprettier --checkpasses. Thestdioarray reformat is prettier's doing now that the line fits.Updates #140