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

Add db_ssl as mandatory to v0.17 release notes under the breaking section, or default it to false, when using a pg database #1043

Closed
MichaelSasser opened this issue Dec 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@MichaelSasser
Copy link

Issue description

When I upgraded from v0.16 to headscale/headscale:v0.17, I didn't have db_ssl set in the config. After updating the config according to the breaking section of the release description, I was presented with the following log.

2022-12-05T08:18:16Z FTL go/src/headscale/cmd/headscale/cli/server.go:21 > Error initializing error="cannot parse `host=postgres dbname=headscale user=headscale sslmode= port=5432 password=xxxxx`: failed to configure TLS (sslmode is invalid)"

Adding db_ssl: false resolved the issue.

@MichaelSasser MichaelSasser added the bug Something isn't working label Dec 5, 2022
@MichaelSasser MichaelSasser changed the title Add db_ssl as mandatory to v0.17 release under breaking or default it to false when using a pg database Add db_ssl as mandatory to v0.17 release notes under the breaking section, or default it to false, when using a pg database Dec 5, 2022
kradalby added a commit to kradalby/headscale that referenced this issue Dec 7, 2022
kradalby added a commit to kradalby/headscale that referenced this issue Dec 7, 2022
kradalby added a commit to kradalby/headscale that referenced this issue Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant