Problems with Postgres Memory Node in n8n - cannot use pool

I used the postgres-memory node connected to supabase in n8n and it functions with the first human message, but at the second human message, I get this error:
Error in sub-node ‘Postgres Chat Memory‘
Cannot use a pool after calling end on the pool

I have no idea how to solve this problem. I looked in all the settings in supabase and n8n…
See the attached image:

# Debug info

## core

- n8nVersion: 1.74.0

- platform: npm

- nodeJsVersion: 22.12.0

- database: postgres

- executionMode: regular

- concurrency: -1

- license: enterprise (production)

- consumerId: 5a5…

## storage

- success: all

- error: all

- progress: false

- manual: true

- binaryMode: memory

## pruning

- enabled: true

- maxAge: 336 hours

- maxCount: 10000 executions

## client

- userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/ (khtml, like gecko) chrome/ safari/

- isTouchDevice: false

Generated at: 2025-01-14T14:04:37.811Z

1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

n8n version:
1.74.0
Database (default: SQLite):
PostgreSQL - is a project in supabase
n8n EXECUTIONS_PROCESS setting (default: own, main):
regular
Running n8n via (Docker, npm, n8n cloud, desktop app):
npm - is hosted on render.
Operating system:
I work with windows and macOs

Hi @DariRuProg

I have the same problem :frowning:

3 Likes

This just started happening to me too after getting the latest update. Anyone figure out how to solve?

2 Likes

Dear @jan,
Could you please have someone from the team check on this? Having the same issue on production flows, our AI Agents are failing unfortunately.
Seems urgent

3 Likes

I have the same issue hix

1 Like

Hi guys
Can you tell me if this bug has been resolved?
I need this node to move forward with a project.

1 Like

Hi guys, good news, we got a fix for this ready to be released. Hopefully will go out this week still.

Sorry for this and thanks for your patience :pray:

5 Likes

thank you for your feedback, we hope to fix it ASAP as it affects the productions.
thanks again.

2 Likes

same problem…

2 Likes

similar problem

1 Like

Same. Try to rolling back n8n version

which version are you using

Hi everyone, we’ve just released the fix with version 1.75.1
If anyone can update and test again to see if it is resolved, we’d appreciate the feedback! :slight_smile:

1 Like

I have updated to 1.74.2, which is the latest available, and the error persists.

1 Like

Not working for me :frowning:
image

Edit: Could you please add an option to downgrade to 1.73.1? That version was working fine

Thanks for the feedback. We’re working on it! :pray:

For the meantime, if you’re on cloud and want to downgrade to version 1.73.1 please message our n8n support at [email protected]

Thanks for your patience in the meantime!

Thank you very much for being hands-on solving the problem. At the moment, I don’t have any production workflow affected, so I can use Window Buffer Memory while testing other workflows until you solve it. Thank you very much.

Seems to function now after the last update.
1.75.2 works!

Thanks for the great job!