https://dagster.io/ logo
#ask-community
Title
# ask-community
y

Yuval Grinberg

02/12/2023, 11:19 AM
Hey guys, getting this timeout error in dagit when trying to access a pipeline sensor:
Copy code
Operation name: SensorsRootQuery

Message: (psycopg2.errors.QueryCanceled) canceling statement due to statement timeout

[SQL: SELECT job_ticks.id, job_ticks.tick_body 
FROM job_ticks 
WHERE job_ticks.selector_id = %(selector_id_1)s OR job_ticks.selector_id IS NULL AND job_ticks.job_origin_id = %(job_origin_id_1)s ORDER BY job_ticks.timestamp DESC 
 LIMIT %(param_1)s]
[parameters: {'selector_id_1': 'd49b74d0013645cc688cd7d2de1febd9b4c7d0bb', 'job_origin_id_1': '2770148ec9543f9947163227c4d91c42a44523db', 'param_1': 1}]
(Background on this error at: <https://sqlalche.me/e/14/e3q8>)

Path: ["sensorsOrError","results",0,"sensorState","ticks"]

Locations: [{"line":69,"column":3}]
reproduced numerous times. does anyone have an idea what may cause it?
59 Views