# ask-community

Daniel Cho

01/30/2023, 4:24 PM
Hi I got this error message:
Copy code
Operation name: InstanceOverviewInitialQuery

Message: (psycopg2.OperationalError) server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

[SQL: SELECT c.relname FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace WHERE n.nspname = %(schema)s AND c.relkind in ('r', 'p')]
[parameters: {'schema': 'public'}]
(Background on this error at: <>)

Path: ["workspaceOrError","locationEntries",0,"locationOrLoadError","repositories",0,"schedules"]

Locations: [{"line":26,"column":15}]
What could possibly cause a psycopg2 error? From what I observed the dagster daemon would run for a day or so before this error occured.


01/30/2023, 4:39 PM
hi @Daniel Cho there were some issues with a recent release of psycopg2 that were incompatible with dagster. have you upgraded to the latest version of dagster? if so, or if you upgrade and see the same issue, let me know so i can pass it on to the team