Skip to content

Console is logging: "API resolved without sending a response for..." #1

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

Closed
ajzeller opened this issue Feb 10, 2020 · 3 comments
Closed

Comments

@ajzeller
Copy link

Many thanks for putting this tutorial together @kukicado , this was very helpful to get me up and running with MongoDB and Next.js.

Your code is working for me, however each API call throws
API resolved without sending a response for /api/daily, this may result in a stalled requests. to the console similar to issue 10439.

I was wondering if you are able to replicate this issue and if you had a fix?

@kukicado
Copy link
Owner

HI @ajzeller, I do get the same issue. It has something to do with the way I'm handling the middleware. I will try it with the canary build of next as it might be a framework issue (since the code still runs as intended), but let me double check this and get back to you! :)

@nickavignone
Copy link
Contributor

nickavignone commented Feb 12, 2020

fixed here
PR

@ajzeller
Copy link
Author

Much appreciated @nickavignone!

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

3 participants