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

Prefect Server UI is Blank on latest master #582

Closed
peterroelants opened this issue Jan 31, 2021 · 2 comments · Fixed by #583
Closed

Prefect Server UI is Blank on latest master #582

peterroelants opened this issue Jan 31, 2021 · 2 comments · Fixed by #583
Assignees

Comments

@peterroelants
Copy link

Description

The Prefect UI stays Blank when starting prefect server on latest master (db0f6521f9fad3891b885aaa961c0462d61f2692). There is a AuthSdkError message in the JS console. See screenshot:

PrefectScreenShot

Full JS Console Error:

okta-auth-js.umd.js:361 Uncaught AuthSdkError: No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})
    at http://localhost:8080/js/defaultVendors~app~253ae210.2d09f131.js:287:48
    at new e (http://localhost:8080/js/defaultVendors~app~253ae210.2d09f131.js:287:780)
    at r.<anonymous> (http://localhost:8080/js/defaultVendors~app~253ae210.2d09f131.js:356:84)
    at new r (http://localhost:8080/js/defaultVendors~app~253ae210.2d09f131.js:356:201)
    at Object.4360 (http://localhost:8080/js/app~d0ae3f07.c02a2b6e.js:1:52687)
    at s (http://localhost:8080/js/app~d0ae3f07.c02a2b6e.js:1:595)
    at Object.ca94 (http://localhost:8080/js/app~d0ae3f07.c02a2b6e.js:1:236587)
    at s (http://localhost:8080/js/app~d0ae3f07.c02a2b6e.js:1:595)
    at Module.56d7 (http://localhost:8080/js/app~d0ae3f07.c02a2b6e.js:1:110723)
    at s (http://localhost:8080/js/app~d0ae3f07.c02a2b6e.js:1:595)
i @ okta-auth-js.umd.js:361
t @ okta-auth-js.umd.js:190
(anonymous) @ okta-auth-js.umd.js:157
r @ okta-auth-js.umd.js:157
(anonymous) @ okta-auth-js.umd.js:36
r @ okta-auth-js.umd.js:36
(anonymous) @ okta-auth-js.umd.js:291
e @ okta-auth-js.umd.js:291
(anonymous) @ okta-auth-js.umd.js:361
r @ okta-auth-js.umd.js:361
4360 @ index.js:13
s @ bootstrap:89
ca94 @ app~d0ae3f07.c02a2b6e.js:1
s @ bootstrap:89
56d7 @ app~d0ae3f07.c02a2b6e.js:1
s @ bootstrap:89
0 @ app~d0ae3f07.c02a2b6e.js:1
s @ bootstrap:89
n @ bootstrap:45
(anonymous) @ bootstrap:267
(anonymous) @ app~d0ae3f07.c02a2b6e.js:1

Expected Behavior

Prefect UI to work as before.

Reproduction

  • Pull latest master
  • Install dev pip install -e ".[dev]"
  • Set backend to server: prefect backend server
  • Start server: prefect server start
  • Go to http://localhost:8080/ in chrome

Environment

Pip installed prefect in clean conda environment conda version = 4.9.2.

Prefect diagnostics:

{
  "config_overrides": {},
  "env_vars": [],
  "system_information": {
    "platform": "Linux-5.8.0-41-generic-x86_64-with-glibc2.10",
    "prefect_backend": "server",
    "prefect_version": "0.14.5+17.gdb0f6521f",
    "python_version": "3.8.5"
  }
}

Tested on Chrome Version 88.0.4324.96 (Official Build) (64-bit) (Same issue both normal and incognito mode), similar behaviour in Firefox.

@znicholasbrown znicholasbrown transferred this issue from PrefectHQ/prefect Jan 31, 2021
@znicholasbrown znicholasbrown self-assigned this Jan 31, 2021
@peterroelants
Copy link
Author

@znicholasbrown The issue seems to be back on the new prefecthq/ui:core-0.14.6 image. I don't have this issue on core-0.14.5.

@Samreay
Copy link

Samreay commented Feb 3, 2021

+1 from me on this too, and can also confirm that rolling back to 0.14.5 got the UI generating for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants