edge function no longer works

hello everyone, my edge function has stopped working mysteriously and im having alot of trouble trying to get it back up and running, the edge function is a vital piece of my software and wont work without it, please if anyone is knowledable id appreciate any help!
24 Replies
garyaustin
garyaustin3w ago
When did it stop working? Has it stopped in all regions or just some? https://discord.com/channels/839993398554656828/1402718503638663280
voicingbutton
voicingbuttonOP3w ago
hello!, it stopped working last night around 9pm, while right now we are only in 1 reagion, yes it essentially has stopped recieving any data, ive tried sending some requests manually via postman, but i get a 404 not found error,
garyaustin
garyaustin3w ago
Have you messed with the new apikeys? Your issue does not sound like related to that one.
voicingbutton
voicingbuttonOP3w ago
no i havent, the code and keys havent been touched,which is strange because last night i was testing it and it was working fine, but today, it stopped recieving anything. if you need anything file or code wise i can provide it
garyaustin
garyaustin3w ago
I probably can't help much as I don't use them a whole lot and if it is on SB side they would need to handle it. Is the function showing up still in the dashboard UI? Are the logs showing anything at all for it? How are you calling it (besides your Postman test)? Does the test feature do anything in the UI? Have you tried redeploying it?
voicingbutton
voicingbuttonOP3w ago
1. yes the function still shows up on the dahboard ui. 2. theres nothing in the logs at all, as if its shutdown 3. well its being called by an external service using a webhook, it sends data to my edge function which then inserts it into the database. i have confirmed that it is enabled and setup on their end. 4. no the test feature deos nothing right now 5. yes i have redeplyed it, and even de-linked it and re-linked it, still nothing, which is very puzzling?
garyaustin
garyaustin3w ago
Try a different region? Do you have a support request in?
voicingbutton
voicingbuttonOP3w ago
yeah i put in a support request, but since im on the free plan it might be a minuet before they repond, and what do you mean by a different region?
garyaustin
garyaustin3w ago
You said you are running it from one region. I assume you mean you are calling it from one region. https://supabase.com/docs/guides/functions/regional-invocation
voicingbutton
voicingbuttonOP3w ago
yes ive tried a different reagion im in us-central, ive tried running it in eu-west, and still the same outcome.
garyaustin
garyaustin3w ago
Not seeing any other reports other than the 2.1 but they were getting error messages. What is us-central? You are not doing anything specific with deno 2 or 2.1 are you?
voicingbutton
voicingbuttonOP3w ago
us-central is one of the regions in america, i believe i am on deno 2
garyaustin
garyaustin3w ago
I don't see that in the list of available regions is why I ask. https://supabase.com/docs/guides/functions/regional-invocation
voicingbutton
voicingbuttonOP3w ago
oh ok, sorry i assumed the ca-central was us-central, im on us-east then
garyaustin
garyaustin3w ago
So they did revert to deno 1.45 a couple of regions. But up until this week I think they were all on that. Early in the week they switched some to 2.1
No description
No description
garyaustin
garyaustin3w ago
But US-east was and still is 1.45.
voicingbutton
voicingbuttonOP3w ago
well i just discover something, i looked at my error logs, it says im on deno v1.45.2, and im in the region eu-west 3 (paris), but in my infustructure tab in the dashboard it says us-east as my region, is it supposed to be like that?
garyaustin
garyaustin3w ago
That is your instance region? The edge functions normally run in any region closest to users unless you override that per the link I had before.
voicingbutton
voicingbuttonOP3w ago
oh ok, that makes sense, since the third party is based in europe but its weird how the edge function just stopped working, would it be best to wait for SB support to look into it?
garyaustin
garyaustin3w ago
Versus what? But I don't have anymore things for you to check. Nothing in the logs is very odd for a running function especially if called from the TEST tab in the UI.
voicingbutton
voicingbuttonOP3w ago
im re running a test through the dashboard ui to see if there was something i missed, i can provide the logs if it works ok thats weird, i ran the test and it returned successful?
ikanlautmakannasi
it also not working for me I use gemini API, but its sometime work sometime not but not work > work the logs didnt record anything nvm I already fix it
voicingbutton
voicingbuttonOP3w ago
how did you fix it?
ikanlautmakannasi
not actually fix it but I realize it didnt work in pwa but work in web

Did you find this page helpful?