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
After a successful login a file ulr gets written to ~/.config/coderv2. After timeout one have to set the login url parameter again.
coder-config]$ coder login
build info: Get "https:///api/v2/buildinfo": http: no Host in request URL
running command"coder login": Failed to check server "https:"for first user, is the URL correct and is coder accessible from your browser? Error - has initial user:
github.com/coder/coder/v2/cli.(*RootCmd).login.func1
/home/runner/actions-runner/_work/coder/coder/cli/login.go:185
- Get "https:///api/v2/users/first": http: no Host in request URL
Desired behaviour
If file url exists the login url should be taken from this file. No need to pass login url again.