https://prefect.io logo
Title
a

Anat Tal Gagnon

09/14/2022, 7:47 PM
Hi guys, I need super urgent help!! My prefect UI stopped loading suddenly!
1
m

Mason Menges

09/14/2022, 7:52 PM
Hey @Anat Tal Gagnon this might seem tedious but can you try accessing the ui with the url specifically, i.e.
<http://127.0.0.1:4200>
I recall something similar happening to me before and that worked for me though I haven't seen it happen for a minute when accessing the Orion UI, also does this occur on multiple browsers or just the 1
r

Ryan Peden

09/14/2022, 7:55 PM
And as a quick follow up, are running this using Docker Compose? That's what it looks like. If so, did you change the
ports
setting or environment variables in your
docker-compose.yml
file at all? Here's what I use if I want to quickly spin up Orion using Docker Compose:
version: "3.9"
services:
  ### Prefect Orion API
  orion:
    image: prefecthq/prefect:2.4.0-python3.10
    restart: always
    volumes:
      - prefect:~/.prefect
    entrypoint: ["prefect", "orion", "start"]
    environment:
      - PREFECT_ORION_API_HOST=0.0.0.0
    ports:
      - 4200:4200
      
volumes:
  prefect:
That typically starts up and shares port 4200 with the host so I can load it in my browser at http://localhost:4200
a

Anat Tal Gagnon

09/14/2022, 7:59 PM
thank you, trying now on the side
Hi, issue was with my env file... not sure what exactly happened but it's resolved now 🙏
👍 2
r

Ryan Peden

09/15/2022, 12:02 PM
Glad to hear you solved it! And thank you for following up to let us know what the issue was.