Oliver Götze
07/21/2021, 1:34 PMapollo_1 | PayloadTooLargeError: request entity too large
(full traceback in the thread)
When this error is thrown, no further log entries will be written for that particular flow run.
Logging continues however for other flow runs.
I've been able to mitigate this problem by decreasing the number of log messages, i.e. merging similar log messages into a single entry before sending them to logging.
Nevertheless I was wondering if there's a way to make the logging more resilient? Maybe Prefect Cloud performs better in such a scenario?Oliver Götze
07/21/2021, 1:36 PMgraphql_1 | INFO: 172.22.0.6:50274 - "POST /graphql/ HTTP/1.1" 200 OK
apollo_1 | PayloadTooLargeError: request entity too large
apollo_1 | at readStream (/apollo/node_modules/raw-body/index.js:155:17)
apollo_1 | at getRawBody (/apollo/node_modules/raw-body/index.js:108:12)
apollo_1 | at read (/apollo/node_modules/body-parser/lib/read.js:77:3)
apollo_1 | at jsonParser (/apollo/node_modules/body-parser/lib/types/json.js:135:5)
apollo_1 | at Layer.handle [as handle_request] (/apollo/node_modules/express/lib/router/layer.js:95:5)
apollo_1 | at trim_prefix (/apollo/node_modules/express/lib/router/index.js:317:13)
apollo_1 | at /apollo/node_modules/express/lib/router/index.js:284:7
apollo_1 | at Function.process_params (/apollo/node_modules/express/lib/router/index.js:335:12)
apollo_1 | at next (/apollo/node_modules/express/lib/router/index.js:275:10)
apollo_1 | at cors (/apollo/node_modules/cors/lib/index.js:188:7)
Kevin Kho
Oliver Götze
07/22/2021, 7:14 AM@task(name="handle_transformation_run", log_stdout=True)
def handle_transformation_run(transformation_job, dpt_instance_path):
spec = importlib.util.spec_from_file_location("run_transformation_p1", module_path)
transformation_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(transformation_module)
Kevin Kho
Oliver Götze
07/23/2021, 12:13 PMKevin Kho
Fabrice Toussaint
07/30/2021, 7:25 AMKevin Kho
helm
to download the images they are already built there. I think what needs to happen is to exec
into the Apollo pod and edit the source? But that would not help if another pod were created.
Oliver here might know more than me. You might need to edit the source and create your own container to pass to helm? It seems very involved to get it to work.Oliver Götze
08/03/2021, 7:08 AM