Ricardo Gaspar
04/07/2022, 3:45 PM2.0b2
and starting the server (on an EC2 machine) with an IP on a different port. (self-hosted).
I’m able to connect to it via browser (I’ve set all the security groups and routes to allow me to connect to it on a browser).
However it seems that internally Prefect Orion is still interacting with the default host and port. So the UI doesn’t render all the info (see screenshot in the thread)
Is there something extra I need to change?Kevin Kho
04/07/2022, 3:52 PMRicardo Gaspar
04/07/2022, 3:55 PMefect-server.service - Prefect Server
Loaded: loaded (/etc/systemd/system/prefect-server.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2022-04-07 15:15:26 UTC; 4min 22s ago
Main PID: 13902 (prefect)
Tasks: 5 (limit: 18834)
Memory: 179.3M
CGroup: /system.slice/prefect-server.service
├─13902 /usr/bin/python3 /usr/local/bin/prefect orion start --ui --host 10.1.211.196 --port 8080
└─13904 /usr/bin/python3 /usr/local/bin/uvicorn --factory prefect.orion.api.server:create_app --host 10.1.211.19>
Apr 07 15:15:26 ip-10-1-211-196 systemd[1]: Started Prefect Server.
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: Starting...
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: ___ ___ ___ ___ ___ ___ _____ ___ ___ ___ ___ _ _
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: | _ \ _ \ __| __| __/ __|_ _| / _ \| _ \_ _/ _ \| \| |
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: | _/ / _|| _|| _| (__ | | | (_) | /| | (_) | .` |
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: |_| |_|_\___|_| |___\___| |_| \___/|_|_\___\___/|_|\_|
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: Configure Prefect to communicate with the server with:
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: prefect config set PREFECT_API_URL=<http://10.1.211.196:8080/api>
Apr 07 15:15:27 ip-10-1-211-196 prefect[13902]: Check out the dashboard at <http://10.1.211.196:8080>
I’ve even set these values as environment variables and they show config on my profile:
root@ip-10-1-211-196:~# prefect config view --show-sources
PREFECT_PROFILE='default'
PREFECT_ORION_API_HOST='10.1.211.196' (from env)
PREFECT_ORION_API_PORT='8080' (from env)
So the UI doesn’t render all the info (see screenshot in the thread)Moss Ebeling
04/08/2022, 3:53 AMKevin Kho
04/08/2022, 3:54 AMMoss Ebeling
04/08/2022, 3:56 AMKevin Kho
04/08/2022, 3:57 AMAnna Geller
04/08/2022, 10:19 AM