You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
Describe the bug
Url service stopped working and keep showing the following confusing error instead.
The release did not provide a URL and the URL service is disabled on the
server, so no further URL information can be automatically provided. If
this is unexpected, please ensure the Waypoint server has both the URL service
enabled and advertise addresses set.
Waypoint-server logs clearly state something completely different (URL service client successfully initialized):
2023-09-15T13:31:47.616Z [DEBUG] waypoint.server.singleprocess.url_service: API token not set in config, initializing guest account
2023-09-15T13:31:47.617Z [DEBUG] waypoint.server.singleprocess.url_service: using saved URL guest token
2023-09-15T13:31:47.852Z [DEBUG] waypoint.server.singleprocess.url_service: connection is ready
2023-09-15T13:31:47.853Z [INFO] waypoint.server.singleprocess.url_service: URL service client successfully initialized
Here is the error logged when waypoint tries to register a new hostname from the url service:
2023-09-15T14:39:39.231Z [ERROR] waypoint.server.grpc: failed to register hostname: error="rpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: x509: certificate has expired or is not yet valid: current time 2023-09-15T14:37:44Z is after 2023-09-01T10:30:41Z\""
2023-09-15T14:39:39.231Z [INFO] waypoint.server.grpc: error creating default hostname: err="rpc error: code = Unavailable desc = failed to register hostname"
I tried TRACE verbosity level but it does not provide extra details besides the above information.
And yes, auto_url is true on the waypoint.hcl level.
I've also made sure the advertise-addr is defined (I was using helm values defaults previously):
Steps to Reproduce
I have no idea what went wrong. Waypoint.hcl content did not change and neither did our gitlab-ci definition. From the pipeline output it seems like the problem really started around the unknown TLS certificate expiration date.
Expected behavior
Temporary hostname is created when all conditions are met.
I would suggest to improve url service logging and log the whole network communication on TRACE verbosity level. That would help to identify the failing endpoint and the real reason for it.
Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
By looking at my waypoint server logs I was able to see that the cert issue seems related to the https://control.hzn.network domain, which is the default for -url-control-addr on a fresh waypoint server install. I'm planning to do some digging today to try to figure out whether the url service will work without that value set, but since all of this was working previously it feels like our only recourse is for someone at hashicorp to kick whatever cert rotation process is failing on that domain. Although throughout this whole time the waypoint url status reported by hashicorp has stayed green so that does leave me some hope that this is a misconfiguration w/our installs. https://status.hashicorp.com/
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Url service stopped working and keep showing the following confusing error instead.
Waypoint-server logs clearly state something completely different (URL service client successfully initialized):
Here is the error logged when waypoint tries to register a new hostname from the url service:
I tried
TRACE
verbosity level but it does not provide extra details besides the above information.And yes, auto_url is
true
on the waypoint.hcl level.I've also made sure the advertise-addr is defined (I was using helm values defaults previously):
Waypoint self-signed certificate is obviously re-generated after every server start:
Steps to Reproduce
I have no idea what went wrong. Waypoint.hcl content did not change and neither did our gitlab-ci definition. From the pipeline output it seems like the problem really started around the unknown TLS certificate expiration date.
Expected behavior
Temporary hostname is created when all conditions are met.
I would suggest to improve url service logging and log the whole network communication on TRACE verbosity level. That would help to identify the failing endpoint and the real reason for it.
Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
Additional context
N/A
The text was updated successfully, but these errors were encountered: