Fabrice Toussaint
05/05/2021, 8:24 AMrequests.exceptions.ReadTimeout: HTTPConnectionPool(host='prefect-apollo.prefect', port=4200): Read timed out. (read timeout=15)
? It does not happen all the time but it happens so often that a lot of tasks fail because of it.
Our Prefect server is deployed using Kubernetes on GCP and the pod seems to be getting enough resources.Kevin Kho
05/05/2021, 1:44 PMFabrice Toussaint
05/05/2021, 1:47 PMKevin Kho
05/05/2021, 1:48 PMprefect.context.config.cloud.request_timeout
or prefect.context.config.server.request_timeout
Fabrice Toussaint
05/05/2021, 1:48 PMKevin Kho
05/05/2021, 1:49 PMFabrice Toussaint
05/05/2021, 1:50 PMKevin Kho
05/05/2021, 2:19 PMconfig.cloud
Fabrice Toussaint
05/05/2021, 2:20 PMserver.cloud
?Kevin Kho
05/05/2021, 2:20 PMprefect.context.config.cloud.request_timeout
Fabrice Toussaint
05/05/2021, 2:21 PMKevin Kho
05/05/2021, 2:25 PMPREFECT__CONTEXT__CONFIG__CLOUD__REQUEST_TIMEOUT
Fabrice Toussaint
05/05/2021, 2:27 PMKevin Kho
05/05/2021, 2:47 PMFabrice Toussaint
05/05/2021, 2:49 PMKevin Kho
05/05/2021, 2:55 PMFabrice Toussaint
05/05/2021, 2:56 PMKevin Kho
05/05/2021, 2:56 PMprefect agent kubernetes start --env KEY=VALUE
Fabrice Toussaint
05/05/2021, 2:57 PMKevin Kho
05/05/2021, 3:06 PMFabrice Toussaint
05/05/2021, 3:07 PMAdam Lewis
05/06/2021, 8:59 PMKevin Kho
05/06/2021, 9:02 PMprefect.context.config.cloud.request_timeout
Adam Lewis
05/06/2021, 9:03 PMprefect.context.config.cloud.request_timeout=60
in the script where I register my flow (before registering it)? @Kevin KhoKevin Kho
05/06/2021, 9:04 PMAdam Lewis
05/06/2021, 9:04 PMKevin Kho
05/06/2021, 9:24 PM