#API server did not exit within 2 seconds, forcefully closing it.

1 messages · Page 1 of 1 (latest)

worn moat
#

I've upgraded to Redwood 8.4.1 recently and just noticed that the back-end API isn't reloading properly after every save anymore. I get this error:

| GraphQL endpoint at http://localhost:8911/graphql
api | 15:10:12 🌲 incoming request GET xxx /platformMetrics
api | 15:10:12 🌲 GET /platformMetrics: platformMetrics function
api | 15:10:12 🌲 request completed 291ms
api | API server did not exit within 2 seconds, forcefully closing it.

I have to then save a file again to force it to hot reload again for it to work. Is anyone running into this?

hollow raft
#

Hey @worn moat - I saw an issue opened for this a few days ago, was that you?

worn moat
#

Amazing! Thanks for linking it, that'll fix it nicely.

low rampart
#

I have the same problem and it's frustrating to say the least. Cant wait to see this merged. @worn moat did you try using an older version in the meantime - does it work?

alpine iris
#

I just save the file a second time and it comes back w/in a few seconds

hollow raft
#

@gaunt hazel Could you work on this?

gaunt hazel
#

@hollow raft yes, it's already on my list for the week

gaunt hazel
#

The PR is merged. I hava few more PRs I want to merge and issues I need to look into. But I'll try to create a proper new release of RW that includes the PR later this week.

#

For now, if anyone needs this they can try it with the latest canary build (as soon as it's published, which should happen in like 10 minutes)

worn moat
#

Thanks @gaunt hazel ! Nice work.

#

This guy knows the temporary fix ⤴️