Postgres node not connecting to Databricks Postgres DB Couldn’t connect with these settings Invalid protocol version. Protocol version: 196608

Hi,

I am using n8n self hosted in AKS Azure Kubernets. My database administrator has created a Databricks Postgres instance and provided the hostname, db user and password configuration details.
I used the same to connect using DBeaver to validate connection parameters and they are verified and working.

The same I am trying to replicate in my n8n self-hosted instance but when connecting to the Postgres Node I am getting:

Couldn’t connect with these settings
Invalid protocol version. Protocol version: 196608

About n8n

n8n Version

1.115.3

Source Code

https://github.com/n8n-io/n8n

License

Sustainable Use License + n8n Enterprise License

Third-Party Licenses

View all third-party licenses

Instance ID

6fd1c0edef4c5d81fa1ddeb1474b5b321d8f00d7b8e2e4bfb8c2db1a157d6fa8

Debug

Copy debug information

hey! so that “Invalid protocol version” error with Databricks Postgres is a known one - usually means the connection’s getting confused about what it’s talking to.

couple things to try:

**1. SSL/TLS settings** - databricks postgres almost always needs SSL. in your postgres node config:

- toggle SSL to “always” or “require” (not “disable”)

- sometimes you need to set “Reject Unauthorized” to false if they’re using self-signed certs

**2. the port** - databricks uses 5432 like normal postgres but double-check your DBA gave you the right one. sometimes they use a different port for security

**3. try the connection string approach** - instead of filling in individual fields, some people have better luck with a connection URI in the format:

```

postgresql://user:password@hostname:5432/database?sslmode=require

```

if n8n supports connection strings in that node

**4. postgres driver version** - this is the annoying one but sometimes databricks endpoints have quirks with certain postgres drivers. since you’re self-hosted, you could check what version of the postgres driver n8n is using and see if there’s a known issue with databricks

**real talk** - if DBeaver works but n8n doesnt, it’s usually a driver or SSL config difference. the “protocol version 196608” specifically suggests the client and server arent handshaking right, which points to SSL config or a mismatch in how the connection is being initiated.

lmk what your SSL settings are set to right now and if bumping it to “require” helps