Skip to content

CLI can't refresh auth token, crashing running process #438

@ITViking

Description

@ITViking

Describe the bug
I'm using the cli inside of a container. It's a guarantee that I will at some point hit this error while it is running and doing it's thing: Error: couldn't refresh token: unable to authenticate or connect to host 20.238.147.183:22 │ │ there may be an issue determining which ssh-key to use, or there may be an issue establishing a connection to the host │ │ the error returned was: ssh: handshake failed: EOF

To Reproduce
Steps to reproduce the behavior:

  1. login to lagoon cli using lagoon login
  2. wait 10-15 minutse
  3. run lagoon login again and it should now hit the error shown in the picture above.

Expected behavior
preferably the CLI would have some sort of token refresh system in place making the need for refersh actions taken on the users side unnecessary.

Screenshots
Image

Desktop (please complete the following information):
both in terminal and in pod

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions