Open masx200 opened 7 months ago
I'm getting what I believe is a similar error when trying to connect to my Supabase Postgres instance, now that Supabase has migrated to IPV6.
Error: Database issue
at getBotIdForMessage (file:///src/routes/api/gmCallback.tsx:126:15)
at eventLoopTick (ext:core/01_core.js:182:7)
at async POST (file:///src/routes/api/gmCallback.tsx:35:31)
at async handler (https://deno.land/x/fresh@1.6.3/src/server/context.ts:288:14)
at async ext:deno_http/00_serve.js:457:18
An error occurred during route handling or page rendering.
AddrNotAvailable: Cannot assign requested address (os error 99)
at async Object.connect (ext:deno_net/01_net.js:511:55)
at cachedError (https://deno.land/x/postgresjs@v3.4.3/src/query.js:170:23)
at new Query (https://deno.land/x/postgresjs@v3.4.3/src/query.js:36:24)
at sql (https://deno.land/x/postgresjs@v3.4.3/src/index.js:113:11)
at getBotIdForMessage (file:///src/routes/api/gmCallback.tsx:116:32) {
name: "AddrNotAvailable",
code: "EADDRNOTAVAIL"
}
At least that's my best guess, can't seem to find another reason why this only fails on Deno Deploy for me.
Problem description
Steps to reproduce
Expected behavior
Environment
No response
Possible solution
No response
Additional context
No response