Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undici Next 14 Fetch error with next-sanity. Help! #1648

Open
jastaffen opened this issue Aug 14, 2024 · 0 comments
Open

Undici Next 14 Fetch error with next-sanity. Help! #1648

jastaffen opened this issue Aug 14, 2024 · 0 comments

Comments

@jastaffen
Copy link

I am seeing intermittent errors in my Vercel logs where fetch fails with the cause of "SocketError: Other Side closed". Apparently this has to do with some sort of undici problem. The internet recommends I use a fetch polyfill, but I know I can't stitch that into the next-sanity plugin. ()

Versions:
1.) next v14.2.5
2.) next-sanity 9.4.5
3.) node v20.8.0
4.) npm v10.1.0

I haven't been able to reproduce this error but I am seeing it in my logs.

Here's a screenshot of what I'm seeing in my vercel logs. This error has occurred over 60 times in the past 24 hours! Any help or insights would be much appreciated.

Screenshot 2024-08-13 at 7 21 36 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant