"Pool destroyed" errors when attempting to query MongoDb

We’ve got a few apps linked up a MongoDb-compatible aws docdb server (among other things), and this connection has been working fine for weeks. Nothing has changed with the db server configs, and other (non-retool) apps of ours are working fine communicating with mongo + existing creds.

This morning, all of our mongo queries in retool are now returning the following: { message: "pool destroyed" }. I’ve seen this error in parts of our (non-retool) codebase where we were trying to close the db connection instance before some asynchronous task finished, for instance, but obviously in retool those aspects of the db driver are abstracted away.

Of note, when in the resources section, clicking “test connection” returns a valid, success response.

I’m curious if this may be an issue with Retool’s mongo adapter, or might it be something else more sneaky/internal to our own configs?


Which version of Retool are you using? Is this cloud version, or on premise setup?

We are using the on prem version. I didn’t install the container myself & I’m not certain of the version. Is that exposed somewhere in the application settings (I can’t find it), or might I need to ssh into the box to find that out?

When you are inside of the editor the version will be shown in the top left logo menu:

Great thanks — we’re on v 2.59.4

Sorry for the delay on this. We’ve had a few significant issues surface today and will be able to dig deeper into the cause here tomorrow. We will look into this as soon as we can and reach out if we have trouble reproducing the issue on that version

We ended up syncing on this issue separately, but for the community at large if this issue comes up again: restarting the container running retool resolved this issue. We are continuing to investigate how to prevent and automatically resolve this problem.

This is of course just true while running retool on-prem, let us know if you see the same issue on cloud!