Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Agent node error - self-signed certificate in certificate chain #12686

Open
viktorbezdek opened this issue Jan 17, 2025 · 1 comment
Open
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@viktorbezdek
Copy link

Bug Description

I am using postgres via supabase. Connecting via session pooler for IPv4 compatibility. Everything works fine using Postgres node. SQL agent node fails with self-signed certificate error.

Recording:

Image

Stack trace:

Error: self-signed certificate in certificate chain at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34) at TLSSocket.emit (node:events:518:28) at TLSSocket._finishInit (node:_tls_wrap:1076:8) at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:862:12)

N8N version: 1.74.3 (Self Hosted)

To Reproduce

Image

Expected behavior

SQL agent is expected to connect to postgres successfully.

Operating System

OSX 15.2 (24C101) via docke-compose (Docker 4.37.2 (179585))

n8n Version

1.74.3

Node.js Version

v20.18.1

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Jan 17, 2025

Hey @viktorbezdek,

We have created an internal ticket to look into this which we will be tracking as "N8N-8146"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants