Waypoint cache doesn’t appear to reset after changing context. I have removed the waypoint context file with .hcl in an attempt to clear cache, but that didn’t work. Additionally, we have deleted the .waypoint directory in an attempt to clear cache. But, nothing seems to reset the mismatch that waypoint is using to connect to the remote waypoint server vs what’s in the default context.
Information below is redacted somewhat but the mismatch can be seen between the context insepct and connection info when connecting to Waypoint.
We understand they should be the same, but they are not. How can we reset it?
user@Users-MacBook-Pro-2 cicdtestproject % waypoint context list
| NAME | PLATFORM | SERVER ADDRESS
----±-----------------±---------±----------------------------------------------------------
- | UsersNewContext | n/a | DNS-URL-FOR-AWS.compute.amazonaws.com:9701
user@Users-MacBook-Pro-2 cicdtestproject % waypoint context inspect UsersNewContext
» Context Info:
** address: DNS-URL-FOR-AWS.compute.amazonaws.com:9701**
** tls: true**
** tls skip verify: true**
** require auth: true**
** platform: n/a**
» Workspace Info:
** Name: default**
user@Users-MacBook-Pro-2 cicdtestproject % waypoint token new -vvv
2022-08-23T10:37:08.211-0400 [INFO] waypoint: waypoint version: full_string=“v0.9.0 (2a7b89036)” version=v0.9.0 prerelease=“” metadata=“” revision=2a7b89036
2022-08-23T10:37:08.211-0400 [TRACE] waypoint: starting interrupt listener for context cancellation
2022-08-23T10:37:08.211-0400 [TRACE] waypoint: interrupt listener goroutine started
2022-08-23T10:37:08.211-0400 [DEBUG] waypoint: home configuration directory: path=/Users/user/Library/Preferences/waypoint
2022-08-23T10:37:08.212-0400 [TRACE] waypoint: no API client provided, initializing connection if possible
2022-08-23T10:37:08.212-0400 [TRACE] waypoint.server: Local server may be created later - server credentials optional
2022-08-23T10:37:08.212-0400 [INFO] waypoint.server: attempting to source credentials and connect
2022-08-23T10:37:08.214-0400 [DEBUG] waypoint.serverclient: connection information: address=IP.ADDR.FOR.WAYPOINT:9701 tls=false tls_skip_verify=false send_auth=true has_token=true
2022-08-23T10:37:18.214-0400 [ERROR] waypoint: failed to create client: error=“context deadline exceeded”
! failed to create client: context deadline exceeded
2022-08-23T10:37:18.214-0400 [TRACE] waypoint: stopping signal listeners and cancelling the context
user@Users-MacBook-Pro-2 cicdtestproject %