Vivek Kaushal
04/27/2022, 12:33 PMCould not upgrade the database!
graphql_1 | Error: HTTPConnectionPool(host='hasura', port=3000): Max retries exceeded with url: /v1/query (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f25746773d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
apollo_1 | Checking GraphQL service at <http://graphql:4201/health> ...
towel_1 | {"severity": "ERROR", "name": "prefect-server.Lazarus", "message": "Unexpected error: ValueError([{'extensions': {'path': '$.selectionSet.flow_run', 'code': 'validation-failed'}, 'message': 'field \"flow_run\" not found in type: \\'query_root\\''}])", "exc_info": "Traceback (most recent call last):\n File \"/prefect-server/src/prefect_server/services/loop_service.py\", line 60, in run\n await self.run_once()\n File \"/prefect-server/src/prefect_server/services/towel/lazarus.py\", line 37, in run_once\n return await self.reschedule_flow_runs()\n File \"/prefect-server/src/prefect_server/services/towel/lazarus.py\", line 89, in reschedule_flow_runs\n limit=500,\n File \"/prefect-server/src/prefect_server/database/orm.py\", line 501, in get\n as_box=not apply_schema,\n File \"/prefect-server/src/prefect_server/database/hasura.py\", line 85, in execute\n as_box=as_box,\n File \"/prefect-server/src/prefect_server/utilities/graphql.py\", line 84, in execute\n raise ValueError(result[\"errors\"])\nValueError: [{'extensions': {'path': '$.selectionSet.flow_run', 'code': 'validation-failed'}, 'message': 'field \"flow_run\" not found in type: \\'query_root\\''}]"}
Vivek Kaushal
04/27/2022, 12:50 PMprefect server start
command though, so a version mismatch should ideally not happen, right?Anna Geller
prefect diagnostics
? btw are you just getting started with Prefect? perhaps you can start directly with 2.0Vivek Kaushal
04/27/2022, 1:09 PM{
"config_overrides": {},
"env_vars": [],
"system_information": {
"platform": "Linux-5.10.109-104.500.amzn2.x86_64-x86_64-with-glibc2.2.5",
"prefect_backend": "server",
"prefect_version": "1.2.0",
"python_version": "3.7.10"
}
}
Vivek Kaushal
04/27/2022, 1:11 PMAnna Geller
Anna Geller
Vivek Kaushal
04/27/2022, 1:16 PMIf you check your docker images, what Prefect and Hasura image versions do you see?I see
core-1.2.0
as the prefect version and v2.1.1
as the hasura version. The issue still persists though.Vivek Kaushal
04/27/2022, 1:16 PMyou may also sign up for Prefect CloudThanks for the suggestion Anna, looking into cloud as an option as well!
Anna Geller
export HASURA_GRAPHQL_V1_BOOLEAN_NULL_COLLAPSE=true
Kevin Kho