// [29-11-2025 01:05:39.432 PM] error Error in getProjectByID: Error: Failed query: select "id", "project_name", "project_url", "created_by", "created_at" from "project" "project" where "project"."id" = $1 limit $2 // params: 176426450590235104731-6ac9-4582-a782-595015249db3,1 // [29-11-2025 01:05:39.639 PM] error Error in getAllProjectNamesAndIDs: Error: Failed query: select "id", "project_name", "project_url", "created_by", "created_at" from "project" "project" where "project"."created_by" = $1 // params: g7ob0BKMgD4yokbGICqjIhmDuZ1rN7Uo // GET /dashboard/176426450590235104731-6ac9-4582-a782-595015249db3 200 in 16.7s (compile: 79ms, render: 16.6s) // 2025-11-29T07:05:54.338Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1 // params: YaQ0q3YBwJMwTEPhsxk4NGFEri2BHDs6 // at async Page (app/dashboard/[projectID]/page.tsx:19:19) // 17 | }) { // 18 | // TODO: Design sidebar // > 19 | const session = await auth.api.getSession({ // | ^ // 20 | headers: await headers(), // 21 | }); // 22 | { // query: 'select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1', // params: [Array], // [cause]: Error: write CONNECT_TIMEOUT aws-1-ap-southeast-1.pooler.supabase.com:5432 // at (Error: write CONNECT_TIMEOUT aws-1-ap-southeast-1.pooler.supabase.com:5432) { // code: 'CONNECT_TIMEOUT', // errno: 'CONNECT_TIMEOUT', // address: 'aws-1-ap-southeast-1.pooler.supabase.com', // port: 5432 // } // } // ⨯ [Error [APIError]: Failed to get session] { // status: 'INTERNAL_SERVER_ERROR', // body: [Object], // headers: {}, // statusCode: 500, // digest: '3914836991' // } // GET /dashboard/176426450590235104731-6ac9-4582-a782-595015249db3 200 in 30.2s (compile: 73ms, render: 30.2s) // 2025-11-29T07:05:59.023Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1 // params: YaQ0q3YBwJMwTEPhsxk4NGFEri2BHDs6 // at async Page (app/dashboard/[projectID]/page.tsx:19:19) // 17 | }) { // 18 | // TODO: Design sidebar // > 19 | const session = await auth.api.getSession({ // | ^ // 20 | headers: await headers(), // 21 | }); // 22 | { // query: 'select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1', // params: [Array], // [cause]: Error: write CONNECT_TIMEOUT aws-1-ap-southeast-1.pooler.supabase.com:5432 // at (Error: write CONNECT_TIMEOUT aws-1-ap-southeast-1.pooler.supabase.com:5432) { // code: 'CONNECT_TIMEOUT', // errno: 'CONNECT_TIMEOUT', // address: 'aws-1-ap-southeast-1.pooler.supabase.com', // port: 5432 // } // } // ⨯ [Error [APIError]: Failed to get session] { // status: 'INTERNAL_SERVER_ERROR', // body: [Object], // headers: {}, // statusCode: 500, // digest: '3914836991' // } --------------------------------------------------------------------------------------------- (node:22659) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) 2025-11-29T10:33:06.544Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1 params: YaQ0q3YBwJMwTEPhsxk4NGFEri2BHDs6 at async Heading (app/dashboard/_components/Heading.tsx:11:19) 9 | export async function Heading({ projectID }: { projectID?: string }) { 10 | // Get the current logged in user's email from the session > 11 | const session = await auth.api.getSession({ | ^ 12 | headers: await headers(), 13 | }); 14 | { query: 'select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1', params: [Array], [cause]: Error [PostgresError]: MaxClientsInSessionMode: max clients reached - in Session mode max clients are limited to pool_size at ignore-listed frames { severity_local: 'FATAL', severity: 'FATAL', code: 'XX000' } } ⨯ [Error [APIError]: Failed to get session] { status: 'INTERNAL_SERVER_ERROR', body: [Object], headers: {}, statusCode: 500, digest: '3914836991' } GET /dashboard/176426450590235104731-6ac9-4582-a782-595015249db3 200 in 17.5s (compile: 89ms, render: 17.4s) 2025-11-29T10:33:07.364Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1 params: YaQ0q3YBwJMwTEPhsxk4NGFEri2BHDs6 at async Page (app/dashboard/[projectID]/page.tsx:19:19) 17 | }) { 18 | // TODO: Design sidebar > 19 | const session = await auth.api.getSession({ | ^ 20 | headers: await headers(), 21 | }); 22 | { query: 'select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1', params: [Array], [cause]: Error [PostgresError]: MaxClientsInSessionMode: max clients reached - in Session mode max clients are limited to pool_size at ignore-listed frames { severity_local: 'FATAL', severity: 'FATAL', code: 'XX000' } } ⨯ [Error [APIError]: Failed to get session] { status: 'INTERNAL_SERVER_ERROR', body: [Object], headers: {}, statusCode: 500, digest: '3914836991' } GET /dashboard/176426450590235104731-6ac9-4582-a782-595015249db3 200 in 16.0s (compile: 70ms, render: 16.0s) 2025-11-29T10:33:12.609Z ERROR [Better Auth]: INTERNAL_SERVER_ERROR Error: Failed query: select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1 params: YaQ0q3YBwJMwTEPhsxk4NGFEri2BHDs6 at async Page (app/dashboard/[projectID]/page.tsx:19:19) 17 | }) { 18 | // TODO: Design sidebar > 19 | const session = await auth.api.getSession({ | ^ 20 | headers: await headers(), 21 | }); 22 | { query: 'select "id", "expires_at", "token", "created_at", "updated_at", "ip_address", "user_agent", "user_id" from "session" where "session"."token" = $1', params: [Array], [cause]: Error [PostgresError]: MaxClientsInSessionMode: max clients reached - in Session mode max clients are limited to pool_size at ignore-listed frames { severity_local: 'FATAL', severity: 'FATAL', code: 'XX000' } } ⨯ [Error [APIError]: Failed to get session] { status: 'INTERNAL_SERVER_ERROR', body: [Object], headers: {}, statusCode: 500, digest: '3914836991' }