Hi everyone! Is PREFECT_SERVER_API_HOST=0.0.0.0 st...
# ask-community
g
Hi everyone! Is PREFECT_SERVER_API_HOST=0.0.0.0 still valid in Prefect 2.16.0 and later? Marvin says there is no reference in the documentation but if I do not set then Prefect will not accept requests from any IP
n
Marvin is often wrong unfortunately, it only looks at snapshots of docs and doesnt remember everything you can always look in the prefect repo to see. yes this setting is still supported
🙌 1
g
@Nate does it happen that you know why Orion seems freezing when I start the first time after the upgrade from 2.14.0 to 2.16.0?
it gives this
Copy code
Jun 20 16:15:46 ip-172-30-1-174 systemd[1]: Started Starts Prefect Orion.
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]:  ___ ___ ___ ___ ___ ___ _____
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]: | _ \ _ \ __| __| __/ __|_   _|
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]: |  _/   / _|| _|| _| (__  | |
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]: |_| |_|_\___|_| |___\___| |_|
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]: Configure Prefect to communicate with the server with:
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]:     prefect config set PREFECT_API_URL=<http://0.0.0.0:4200/api>
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]: View the API reference documentation at <http://0.0.0.0:4200/docs>
Jun 20 16:15:53 ip-172-30-1-174 start_orion.sh[3582]: Check out the dashboard at <http://0.0.0.0:4200>
but it seems doing something. It is not even listening on the port 4200 (I run
sudo netstat -ntlp
)
looks like a false alarm. Probably the migration took a while, it is working now