Getting the following error. I am unsure how to start. My prisma is connected to plantescale, but I don’t think this should be the main issue. Running in local dev and going to “/resources/healthcheck” returns an “OK”. I tried making a new url for the planetscale DB and that didn’t work either.
Anyone have any suggestions?
2024-01-09T01:12:48.807 app[17811104a5e6d8] bos [info] > start
2024-01-09T01:12:48.807 app[17811104a5e6d8] bos [info] > cross-env NODE_ENV=production node .
2024-01-09T01:12:52.233 app[17811104a5e6d8] bos [info] 🚀 We have liftoff!
2024-01-09T01:12:52.234 app[17811104a5e6d8] bos [info] Local: http://localhost:8081
2024-01-09T01:12:52.234 app[17811104a5e6d8] bos [info] On Your Network: http://172.19.144.114:8081
2024-01-09T01:12:52.234 app[17811104a5e6d8] bos [info] Press Ctrl+C to stop
2024-01-09T01:12:55.105 app[17811104a5e6d8] bos [info] prisma:query - 69ms - SELECT COUNT(*) FROM (SELECT `goodunionjobs`.`User`.`id` FROM `goodunionjobs`.`User` WHERE 1=1) AS `sub`
2024-01-09T01:12:55.720 app[17811104a5e6d8] bos [info] HEAD / 500 - - 731.244 ms
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] healthcheck ❌ {
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] error: Response {
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] size: 0,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] [Symbol(Body internals)]: {
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] body: [ReadableStream],
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] type: null,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] size: null,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] boundary: null,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] disturbed: false,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] error: null
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] },
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] [Symbol(Response internals)]: {
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] url: 'http://172.19.144.114:8080/',
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] status: 500,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] statusText: 'Internal Server Error',
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] headers: [Object],
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] counter: 0,
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] highWaterMark: 16384
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] }
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] }
2024-01-09T01:12:55.731 app[17811104a5e6d8] bos [info] }
2024-01-09T01:12:55.737 app[17811104a5e6d8] bos [info] GET /resources/healthcheck 500 - - 788.672 ms
2024-01-09T01:13:05.790 app[17811104a5e6d8] bos [info] prisma:query - 35ms - SELECT COUNT(*) FROM (SELECT `goodunionjobs`.`User`.`id` FROM `goodunionjobs`.`User` WHERE 1=1) AS `sub`
2024-01-09T01:13:06.321 app[17811104a5e6d8] bos [info] HEAD / 500 - - 562.990 ms
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] healthcheck ❌ {
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] error: Response {
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] size: 0,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] [Symbol(Body internals)]: {
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] body: [ReadableStream],
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] type: null,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] size: null,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] boundary: null,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] disturbed: false,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] error: null
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] },
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] [Symbol(Response internals)]: {
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] url: 'http://172.19.144.114:8080/',
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] status: 500,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] statusText: 'Internal Server Error',
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] headers: [Object],
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] counter: 0,
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] highWaterMark: 16384
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] }
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] }
2024-01-09T01:13:06.324 app[17811104a5e6d8] bos [info] }