My website edge function throws error while my website has no deployments for a long time #7431
-
Page to Investigatehttps://www.liuxuan30.com/projects/featured-reverse-eng-ios-daemon-journey Steps to Reproducejust open the page, I have a page counter, which code is:
The dashboard gives me logs:
it seems the POST API stops working. I haven't touch the code or deploy for a long time. It has been working all the time. Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
I have tested my code on my local machine with prodctuion credentials, it could update the counter correctly from 115 to 116. however, the official URL cannot update the counter. So It seems both the upstash redis API and my code is solid. The issue is on the vercel server side. |
Beta Was this translation helpful? Give feedback.
-
proof of working above.
I use production keys to debug this function, all working. No idea why it reports above errors. |
Beta Was this translation helpful? Give feedback.
-
but the value is simply:
The incr caller is:
|
Beta Was this translation helpful? Give feedback.
-
I do see below errors, but I haven't deployed for a long time. Is this related? My errors does not contain 'INTERNAL' but 'EDGE_FUNCTION_INVOCATION_FAILED' |
Beta Was this translation helpful? Give feedback.
-
Hello, @liuxuan30 the best way for us to reproduce and undestand what's happening is to create a repo reproduction. Can you create a GitHub repo pushing the minimal code to reproduce the code? It should to use the same dependencies (Next.js, upstash) with the same version 🙏 |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
New deployments fixed the issue. Could you tell me why my site is impacted?
It has been online for a year and nothing changed. I don't get it why I'm impacted nor the error message could suggest such a fix.