Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login to UI when automatic upgrades is misconfigured #37060

Closed
nklaassen opened this issue Jan 22, 2024 · 0 comments · Fixed by #37091
Closed

Unable to login to UI when automatic upgrades is misconfigured #37060

nklaassen opened this issue Jan 22, 2024 · 0 comments · Fixed by #37091
Assignees
Labels
bug test-plan A list of tasks required to ship a successful product release.

Comments

@nklaassen
Copy link
Contributor

Expected behavior:
I should always be able to log in to the web UI, even if some non-critical feature like automatic upgrades is misconfigured

Current behavior:
I see only local login options (not able to log in with passwordless or SSO):
Screenshot 2024-01-19 at 5 07 56 PM

and errors in the browser console:

GET https://nic-test.cloud.gravitational.io/web/config.js net::ERR_ABORTED 500 (Internal Server Error)
login:1 Refused to execute script from 'https://nic-test.cloud.gravitational.io/web/config.js' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

I believe this happens because getWebConfig returns early here after encountering an error fetching the target version for automatic upgrades. The upgrade base URL is currently configured as https://updates.releases.teleport.dev/v1/stable/cloud/v15 which is not set up for v15 yet.

Bug details:

  • Teleport version: v15.0.0-alpha.5
  • Recreation steps
  • Debug logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug test-plan A list of tasks required to ship a successful product release.
Projects
None yet
2 participants