PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
16.01k stars 1.57k forks source link

Dashboard not showing any flows and runs #6804

Closed swicaksono closed 2 years ago

swicaksono commented 2 years ago

First check

Bug summary

I was upgrading prefect in my GCP VM to version 2.3.2 from 2.3.1. Before that, there is no error in the UI, but now I can access the dashboard, but it does not show any flows and runs.

This might be related to #6742 so maybe @madkinsz could help me with this. Many thanks.

Reproduction

  1. Upgrade prefect: pip install -U prefect (v.2.3.2)
  2. Set configuration: prefect config set PREFECT_API_URL='http://127.0.0.1:4200/api'
  3. Run on my VM: prefect orion start --host 0.0.0.0

Error

When I access to <SERVER_MACHINE_HOST>:4200 it gave me an error like this.

Screen Shot 2022-09-13 at 15 01 55

Browers

Prefect version

Version:             2.3.2
API version:         0.8.0
Python version:      3.8.11
Git commit:          6e931ee9
Built:               Tue, Sep 6, 2022 12:36 PM
OS/Arch:             linux/x86_64
Profile:             default
Server type:         hosted

Additional context

No response

swicaksono commented 2 years ago

Wow.. silly me :) I just solved this by changing the previous config to PREFECT_API_URL='HOSTNAME_IP:4200/api' and it works.

I will close this.