Closed evelant closed 1 year ago
@evelant Are you experiencing this issue both locally and after you deploy to production? There seems to be an ongoing Deno Deploy outage that may be the cause of this https://denostatus.com/
This issue is only happening in production. My code did not change. This started happening immediately after I restarted my production Supabase instance.The Deno Deploy issue doesn’t appear to be related as far as I can tell.
I’m not sure how this is possible, but the failure appears to be here https://github.com/denoland/deno/blob/a6c47ee74023f6ef683988cabc8caa95406e3c99/ext/net/01_net.js#L169 where Deno is calling into its native rust code here https://github.com/denoland/deno/blob/a6c47ee74023f6ef683988cabc8caa95406e3c99/ext/net/ops.rs#L673. That’s why I suspect that it could be an issue with Supabase’s custom runtime, but I can’t be certain.
Hopefully we can figure this out, my app is still in a total outage due to this.
Andrew
On May 5, 2023, at 2:31 PM, Lakshan Perera @.***> wrote:
@evelant https://github.com/evelant Are you experiencing this issue both locally and after you deploy to production? There seems to be an ongoing Deno Deploy outage that may be the cause of this https://denostatus.com/
— Reply to this email directly, view it on GitHub https://github.com/supabase/edge-runtime/issues/81#issuecomment-1536625270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGRWVOZEUTXHTKBHQW76R3XEVBQLANCNFSM6AAAAAAXXKQD5Q. You are receiving this because you were mentioned.
@evelant We don't run the Edge Runtime in production. I will share this with Deno Deploy team to see if they can find what the issue is.
Hmm perhaps it is an issue with Deno Deploy. My staging instance (which was not restarted or changed in any way) is experiencing the same problem.
@laktek some more clues here https://github.com/denoland/deploy_feedback/issues/382#issuecomment-1536587625
It appears there may have been a change in Deno Deploy to remove "disabled ops" entirely. It seems they may have silently removed APIs even though existing code was using them.
Yep, I got an update from Deno Deploy team that they are rolling out a fix for it.
At least as of now it's still down. Did they give any ETA on this fix?
Looks like it waa fixed https://github.com/denoland/deploy_feedback/issues/382
Bug report
Describe the bug
After restarting project postgresjs can no longer connect, it throws
ops.op_set_keepalive is not a function
. There have been no changes to my code. I only restarted my project via the Supabase dashboard due to an unrelated issue.It seems that maybe there were some changes to the edge runtime that cause some deno APIs to no longer function correctly?
To Reproduce
Expected behavior
Code that worked previously should continue to work unless a breaking change has been announced
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
N/A