mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-11 20:00:28 +01:00
create namespace error : ephemeral_node_inactivity_timeout #90
Closed
opened 2025-12-29 01:22:39 +01:00 by adam
·
16 comments
No Branch/Tag Specified
main
update_flake_lock_action
gh-pages
kradalby/release-v0.27.2
dependabot/go_modules/golang.org/x/crypto-0.45.0
dependabot/go_modules/github.com/opencontainers/runc-1.3.3
copilot/investigate-headscale-issue-2788
copilot/investigate-visibility-issue-2788
copilot/investigate-issue-2833
copilot/debug-issue-2846
copilot/fix-issue-2847
dependabot/go_modules/github.com/go-viper/mapstructure/v2-2.4.0
dependabot/go_modules/github.com/docker/docker-28.3.3incompatible
kradalby/cli-experiement3
doc/0.26.1
doc/0.25.1
doc/0.25.0
doc/0.24.3
doc/0.24.2
doc/0.24.1
doc/0.24.0
kradalby/build-docker-on-pr
topic/docu-versioning
topic/docker-kos
juanfont/fix-crash-node-id
juanfont/better-disclaimer
update-contributors
topic/prettier
revert-1893-add-test-stage-to-docs
add-test-stage-to-docs
remove-node-check-interval
fix-empty-prefix
fix-ephemeral-reusable
bug_report-debuginfo
autogroups
logs-to-stderr
revert-1414-topic/fix_unix_socket
rename-machine-node
port-embedded-derp-tests-v2
port-derp-tests
duplicate-word-linter
update-tailscale-1.36
warn-against-apache
ko-fi-link
more-acl-tests
fix-typo-standalone
parallel-nolint
tparallel-fix
rerouting
ssh-changelog-docs
oidc-cleanup
web-auth-flow-tests
kradalby-gh-runner
fix-proto-lint
remove-funding-links
go-1.19
enable-1.30-in-tests
0.16.x
cosmetic-changes-integration
tmp-fix-integration-docker
fix-integration-docker
configurable-update-interval
show-nodes-online
hs2021
acl-syntax-fixes
ts2021-implementation
fix-spurious-updates
unstable-integration-tests
mandatory-stun
embedded-derp
prtemplate-fix
v0.28.0-beta.1
v0.27.2-rc.1
v0.27.1
v0.27.0
v0.27.0-beta.2
v0.27.0-beta.1
v0.26.1
v0.26.0
v0.26.0-beta.2
v0.26.0-beta.1
v0.25.1
v0.25.0
v0.25.0-beta.2
v0.24.3
v0.25.0-beta.1
v0.24.2
v0.24.1
v0.24.0
v0.24.0-beta.2
v0.24.0-beta.1
v0.23.0
v0.23.0-rc.1
v0.23.0-beta.5
v0.23.0-beta.4
v0.23.0-beta3
v0.23.0-beta2
v0.23.0-beta1
v0.23.0-alpha12
v0.23.0-alpha11
v0.23.0-alpha10
v0.23.0-alpha9
v0.23.0-alpha8
v0.23.0-alpha7
v0.23.0-alpha6
v0.23.0-alpha5
v0.23.0-alpha4
v0.23.0-alpha4-docker-ko-test9
v0.23.0-alpha4-docker-ko-test8
v0.23.0-alpha4-docker-ko-test7
v0.23.0-alpha4-docker-ko-test6
v0.23.0-alpha4-docker-ko-test5
v0.23.0-alpha-docker-release-test-debug2
v0.23.0-alpha-docker-release-test-debug
v0.23.0-alpha4-docker-ko-test4
v0.23.0-alpha4-docker-ko-test3
v0.23.0-alpha4-docker-ko-test2
v0.23.0-alpha4-docker-ko-test
v0.23.0-alpha3
v0.23.0-alpha2
v0.23.0-alpha1
v0.22.3
v0.22.2
v0.23.0-alpha-docker-release-test
v0.22.1
v0.22.0
v0.22.0-alpha3
v0.22.0-alpha2
v0.22.0-alpha1
v0.22.0-nfpmtest
v0.21.0
v0.20.0
v0.19.0
v0.19.0-beta2
v0.19.0-beta1
v0.18.0
v0.18.0-beta4
v0.18.0-beta3
v0.18.0-beta2
v0.18.0-beta1
v0.17.1
v0.17.0
v0.17.0-beta5
v0.17.0-beta4
v0.17.0-beta3
v0.17.0-beta2
v0.17.0-beta1
v0.17.0-alpha4
v0.17.0-alpha3
v0.17.0-alpha2
v0.17.0-alpha1
v0.16.4
v0.16.3
v0.16.2
v0.16.1
v0.16.0
v0.16.0-beta7
v0.16.0-beta6
v0.16.0-beta5
v0.16.0-beta4
v0.16.0-beta3
v0.16.0-beta2
v0.16.0-beta1
v0.15.0
v0.15.0-beta6
v0.15.0-beta5
v0.15.0-beta4
v0.15.0-beta3
v0.15.0-beta2
v0.15.0-beta1
v0.14.0
v0.14.0-beta2
v0.14.0-beta1
v0.13.0
v0.13.0-beta3
v0.13.0-beta2
v0.13.0-beta1
upstream/v0.12.4
v0.12.4
v0.12.3
v0.12.2
v0.12.2-beta1
v0.12.1
v0.12.0-beta2
v0.12.0-beta1
v0.11.0
v0.10.8
v0.10.7
v0.10.6
v0.10.5
v0.10.4
v0.10.3
v0.10.2
v0.10.1
v0.10.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.1
v0.8.0
v0.7.1
v0.7.0
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.5.0
v0.4.0
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Labels
Clear labels
CLI
DERP
DNS
Nix
OIDC
SSH
bug
database
documentation
duplicate
enhancement
faq
good first issue
grants
help wanted
might-come
needs design doc
needs investigation
no-stale-bot
out of scope
performance
policy 📝
pull-request
question
regression
routes
stale
tags
tailscale-feature-gap
well described ❤️
wontfix
Mirrored from GitHub Pull Request
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/headscale#90
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @changchichung on GitHub (Dec 7, 2021).
download headscale binary from latest release and try to create my first namespace , but headscale return some error messages like
any suggestions??
@EvilBlood commented on GitHub (Dec 10, 2021):
Hi i have the same issue with Docker (0.11.0)
@restanrm commented on GitHub (Dec 10, 2021):
You should set
ephemeral_node_inactivity_timeoutto more than 65 seconds in your configuration file. This limit is set to allow small deconnexion of ephemeral nodes without losing the IP address.@EvilBlood commented on GitHub (Dec 10, 2021):
I used the example configuration with 30m for ephemeral_node_inactivity_timeout
@restanrm commented on GitHub (Dec 10, 2021):
Sorry, I'm only a user. I hadn't any issue with setting this. You used the
config-example.yamlfrom 0.11 git tag ?@EvilBlood commented on GitHub (Dec 10, 2021):
I tried the file from main Branch now with the version from tag 0.11 i got:
@restanrm commented on GitHub (Dec 10, 2021):
Have you created a
private-keywith wireguard ?@EvilBlood commented on GitHub (Dec 10, 2021):
my fault! i used the docs from main not from tag 0.11.0
@extense-consulting commented on GitHub (Dec 22, 2021):
Hi, I have this issue as well and unfortunately I've not been able to find a solution in this thread or the issue tracker. I've installed v0.12.0-beta2 and v.0.11.00 and used the config-sample.yaml file to setup. It's still complaining about the
ephemeral_node_inactivity_timeoutparameter not set.Error message:
Error initializing: ephemeral_node_inactivity_timeout () is set too low, must be more than 1m5sconfig.yaml
ephemeral_node_inactivity_timeout: 30m(No double quotes added, just this line from the sample)Error when starting the service:
When using the command:
I did however have an issue with creating the private.key. I had to perform:
sudo wg genkeythe key is displayed
sudo nano /opt/headscale/config/private.keystore the key in the file
Is it possible to help me with this?
@cure commented on GitHub (Dec 23, 2021):
This error message
essentially means that Headscale could not find its configuration file. It should give you a better error message, that's a bug (I will fix that when I find some time).
I would suggest you stick to the v0.11 release for now, and follow the 0.11 release notes: https://github.com/juanfont/headscale/blob/v0.11.0/docs/Running.md
If you start from a clean slate with those instructions and v0.11 release binary, does that help?
@changchichung commented on GitHub (Dec 28, 2021):
@cure
I found that even I download 0.11.0 binary from release , I still need to run the command in directory which cloned from github even I move the binary code to some other directory
take a look at this
so my headscale binary file is in /usr/local/bin which include in $PATH
but when I try to run the command out of the repository folder , that ephemeral_node_inactivity_timeout will happened.
let's go back the repository folder and try the same command.
it works perfectly !
I will say this might be a bug in headscale ??
@cure commented on GitHub (Dec 28, 2021):
@changchichung headscale has a lookup order for its configuration file, please check https://github.com/juanfont/headscale/blob/v0.11.0/docs/Configuration.md:
It sounds like you have not moved your configuration file into either
/etc/headscaleor~/.headscale.@extense-consulting commented on GitHub (Dec 29, 2021):
I checked with 0.11.0 and 0.12.1, I had the same issue as @changchichung . I tested @changchichung solution above, and I can verify that this is a workaround. I added headscale as a service with the
workingdirectoryattribute, this works as well:sudo nano /etc/systemd/system/headscale.service@changchichung commented on GitHub (Dec 30, 2021):
thanks to @cure
after remove related files (config.yaml , private.key ) to /etc/headscale/
now I can use supervisor to manage headscale .
@gbnichol commented on GitHub (Jan 21, 2022):
I ran into the "ephemeral_node_inactivity_timeout () is set too low" issue running headscale in a container with podman (rather than Docker). The problem was that the headscale process was unable to read the config.yaml file. I am running on CentOS 8 with selinux enforcing. The solution was to append :z or :Z to the volume mount arguments.
@wpeckr commented on GitHub (Mar 18, 2022):
You will also get this message if you have a parse error in your `config.yaml'.
@kradalby commented on GitHub (Jun 3, 2022):
I'll reopen this as we need a better error message for "config file not found" and a better default for ephemeral node timeout.