You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to update to the latest version as the old version starts to fail the connection to prefect cloud as well.
After fighting with the same error, I decided to erase all the data under .prefect. It seems solving the authentication problem but now prefect never uses the cloud server anymore, even after I have set PREFECT_SERVER_ALLOW_EPHEMERAL_MODE='False' in prefect.toml
Below is the snippet to use dask Slumcluster to run prefect flow. Any help is very appreciated!
Thanks for the bug report @chiang-yuan! I think your settings might not be propagating to your cluster. Can you print the current settings in a task submitted to your cluster with print(prefect.settings.get_current_settings().api.url)? That'll help us see what API URL the tasks running in your cluster use.
hi @desertaxle thanks for the help. To avoid complication from dask cluster, I ran a pure flow with default runner but it also uses the temporary server and all the flow and task prints out None for your command.
08:08:25.591 | INFO | prefect - Starting temporary server on http://127.0.0.1:8090
See https://docs.prefect.io/3.0/manage/self-host#self-host-a-prefect-server for more information on running a dedicated Prefect server.
08:08:40.734 | INFO | Flow run 'sandy-starling' - Beginning flow run 'sandy-starling' for flow 'run-fcc'
fcc flow None
Retrieving SummaryDoc documents: 100%
1/1 [00:00<00:00, 123.99it/s]
vm task None
vm task None
If I run the command directly it also prints out None
Bug summary
I have been trying to update to the latest version as the old version starts to fail the connection to prefect cloud as well.
After fighting with the same error, I decided to erase all the data under
.prefect
. It seems solving the authentication problem but now prefect never uses the cloud server anymore, even after I have setPREFECT_SERVER_ALLOW_EPHEMERAL_MODE='False'
inprefect.toml
Below is the snippet to use dask Slumcluster to run prefect flow. Any help is very appreciated!
Version info
Additional context
PREFECT_PROFILE='default'
PREFECT_API_KEY='********' (from profile)
PREFECT_API_URL='https://api.prefect.cloud/api/accounts/f7d40474-9362-4bfa-8950-ee6a43ec00f3/workspaces/d4bb0913-5f5e-49f7-bfc5-06509088baeb' (from profile)
PREFECT_HOME='/pscratch/sd/c/cyrusyc/.prefect' (from env)
PREFECT_SERVER_ALLOW_EPHEMERAL_MODE='False' (from profile)
The text was updated successfully, but these errors were encountered: