abedshamia
(Abedalrahman Shamia)
1
Sudden Massive Spike in Edge Requests (404 errors)
- Normal daily edge requests: ~2M/day
- After recent deploy: Sudden spike to ~30-40M/day
- Deployment: Using Next.js 12.3.4
The problem is that I’m Getting constant 404 errors (multiple times per millisecond) for these paths:
/_next/static/{buildId}/_ssgManifest.js
/_next/static/{buildId}/_buildManifest.js
/_next/static/chunks/webpack-{hash}.js
Impact
- Massive increase in costs as these 404s count as edge requests
What I’ve Tried
- Redeploying the same deployment
- Deploying with new commits
- Purging the Cache Data
None of these solutions resolved the issue. The high volume of 404 errors with those paths persists.
Additional Context
- This started after a simple deployment last week
- Cannot consistently reproduce the issue
- Logs show these requests happening every millisecond in production
Questions
- Has anyone encountered similar spikes in edge requests?
- Any suggestions for debugging these constant 404 errors?
- Are there known issues with Next.js 12.3.4 that could cause this?
- This started after a simple deployment last week but I doubt that this is the reason.
- Logs show these requests happening every millisecond in production
Any help or guidance would be greatly appreciated. This is significantly impacting our costs.
system
(system)
2
There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.
A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
anshumanb
(Anshuman Bhardwaj)
3
Hi @abedshamia, welcome to the Vercel Community!
I’m sorry that you’re facing such issue. Could you share the following information:
- Your
next.config.js/ts
file contents
- What was the change after which you noticed these spikes?
- Can you try reverting the deployments to an older version where traffic was normal to see that fixes it?
1 Like
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.