Skip to content

read-only API left running indefinitely after receiving unhandled exception #1352

@CharlieC3

Description

@CharlieC3

Describe the bug
After receiving an unhandled exception (unhandledRejection read ECONNRESET read ECONNRESET), the API started terminating, but wasn't able to do so completely.

Console log

API WebSocket channels closed.
API Server was force killed after taking longer than 5000ms to shutdown
Closing API http server...
Closing Profiler server...
API http server closed.
Profiler server closed
Closing DB...
PgNotifier closed channel: stacks-api-pg-notifier
DB is taking longer than expected to shutdown, possibly hanging indefinitely
DB is taking longer than expected to shutdown, possibly hanging indefinitely
DB is taking longer than expected to shutdown, possibly hanging indefinitely
DB is taking longer than expected to shutdown, possibly hanging indefinitely
DB is taking longer than expected to shutdown, possibly hanging indefinitely
...

version 6.0.3

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions