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

Troubles with setup #6

Open
artshevchenko opened this issue Sep 2, 2022 · 0 comments
Open

Troubles with setup #6

artshevchenko opened this issue Sep 2, 2022 · 0 comments

Comments

@artshevchenko
Copy link

artshevchenko commented Sep 2, 2022

Hi! A great idea, this is what is really missing in the open source version of Prefect.

Describe the bug
During the installation process, according to the README (Docker hub image), at the stage of executing the JS code in the browser console, I received the following error in browser console when I tried to execute let auth = (document.getElementsByTagName('a')[0].__vue__.$store.state)... (web page contains only "Unauthorized"):

Uncaught TypeError: Cannot read properties of undefined (reading '__vue__')
    at <anonymous>:1:50

After changing env var ALLOW_PUBLIC_ACCESS to true I got the following error on the web page:

TypeError: Cannot read properties of null (reading 'split')
  at required (/usr/src/app/node_modules/requires-port/index.js:13:23)
  at Object.common.setupOutgoing (/usr/src/app/node_modules/http-proxy/lib/http-proxy/common.js:101:7)
  at Array.stream (/usr/src/app/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js:127:14)
  at ProxyServer.<anonymous> (/usr/src/app/node_modules/http-proxy/lib/http-proxy/index.js:81:21)
  at HttpProxyMiddleware.middleware (/usr/src/app/node_modules/http-proxy-middleware/dist/http-proxy-middleware.js:22:32)
  at processTicksAndRejections (node:internal/process/task_queues:96:5)

When I tried to execute let auth = (document.getElementsByTagName('a').... again, I got the same error:

Uncaught TypeError: Cannot read properties of undefined (reading '__vue__')
    at <anonymous>:1:50

To Reproduce
Steps to reproduce the behavior:

  1. Setup Database according to README
  2. Setup proxy using pre-built docker image
  3. Create API Keys and distribute to users/services according to README
  4. Doing "Using API Key via Browser" according to README
  5. See error
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

No branches or pull requests

1 participant