source-academy / backend

Backend of Source Academy @ NUS, LMS extension of Source Academy (Elixir, Ecto, Phoenix, PostgreSQL)
https://sourceacademy.nus.edu.sg
Apache License 2.0
39 stars 50 forks source link

Loading old courses grading causes backend 500 #1173

Open RichDom2185 opened 2 months ago

RichDom2185 commented 2 months ago
image
sentry-io[bot] commented 2 months ago

Sentry Issue: CADET-BACKEND-E08

DBConnection.ConnectionError: tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated)
  File "lib/ecto/adapters/sql.ex", line 1054, in Ecto.Adapters.SQL.raise_sql_call_error/1
  File "lib/ecto/adapters/sql.ex", line 952, in Ecto.Adapters.SQL.execute/6
  File "lib/ecto/repo/queryable.ex", line 232, in Ecto.Repo.Queryable.execute/4
  File "lib/ecto/repo/queryable.ex", line 19, in Ecto.Repo.Queryable.all/3
  File "lib/cadet/assessments/assessments.ex", line 1988, in Cadet.Assessments.submissions_by_grader_for_index/2
...
(3 additional frame(s) were not displayed)
RichDom2185 commented 2 months ago

Seems to be an unhandled issue that only showed up after the Aug 17 deployment