Hi, I am trying to create blocks as per <https://d...
# best-practices
b
Hi, I am trying to create blocks as per https://docs.prefect.io/tutorials/storage/#create-a-storage-block But I am seeing zero blocks to choose from on my Prefect Orion instance 😅😅
✅ 1
This is the blank page I am seeing
m
Do you have any errors in the Orion service logs or in the Network tab from the developer tools? Have you tried registering blocks from a particular module and see if that has any effect on the UI? For example:
Copy code
prefect block register -m prefect_gcp
Maybe a .HAR file could be useful for troubleshooting 🤔
gratitude thank you 1
b
I will try. I suppose I will have access to all the block types from the cli
Setting
PREFECT_API_URL
variable to a numerical IP fixed it. Thanks @Miguel Moncada! @Ryan Peden what fixed it was setting
PREFECT_API_URL
env var in the compose file without the service name
orion
. Apparently:
It looks like all the network requests to your localhost run fine, but the ones to Orion API http://orion:4200/*. are failing
because some URIs are malformed from using the service name
orion
, I guess, resulting in
NS_DOM_ERROR_BAD_URI
errors in the browser.
✨ 1