Closed
Description
We have a user that received this when trying to ssh to their workspace:
check entitlement warnings error: get user me: GET https://coder/api/v2/users/me: unexpected status code 401: You are signed out or your session has expired. Please sign in again to continue.: Try logging in using 'coder login <url>'.
Error: API key expired at "2023-11-24 20:13:30.881157 +0000 UTC".
You are signed out or your session has expired. Please sign in again to continue.
Try logging in using 'coder login <url>'.
kex_exchange_identification: Connection closed by remote host
Since they see a URL from the unsuccessful API call, it's tempting to click that but it won't solve their problem. For re-logging in, instead of <url>
in the message, would it be possible to display the URL there so it's a simple copy and paste operation?
Could the URL be optional so that coder login
will just re-login to the same server?