FlowFuse / FlowFuse/flowfuse

Error: ConnectionManager.getConnection was called after the connection manager was closed!

Open
#6,353 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

Sentry Issue: [FLOWFUSE-BACKEND-3W](https://flowfuse.sentry.io/issues/5296669793/?referrer=github_integration)

```
Error: ConnectionManager.getConnection was called after the connection manager was closed!
File "/usr/src/forge/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js", line 70, in ConnectionManager.getConnection
throw new Error("ConnectionManager.getConnection was called after the connection manager was closed!");
File "/usr/src/forge/app/node_modules/sequelize/lib/sequelize.js", line 305, in
const connection = await (options.transaction ? options.transaction.connection : this.connectionManager.getConnection(options));
File "/usr/src/forge/app/node_modules/retry-as-promised/dist/index.js", line 65, in
Promise.resolve(callback({ current: options.$current }))
File "", in new Promise
File "/usr/src/forge/app/node_modules/retry-as-promised/dist/index.js", line 54, in retryAsPromised
return new Promise(function (resolve, reject) {
...
(5 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.