-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Describe the bug
Description
Tabularis fails to connect to a PostgreSQL instance exposed locally via kubectl port-forward.
The client returns the following error:
Error: error communicating with database: failed to lookup address information: nodename nor servname provided, or not known
However, the same database connection works correctly when using pgAdmin and psql, which suggests the database itself and the port-forward are functioning correctly.
This indicates a potential issue in how Tabularis resolves or parses the connection parameters.
To Reproduce
Steps to reproduce
1. Expose PostgreSQL service locally using port-forward:
kubectl port-forward svc/postgres 5432:5432
2. Connect using pgAdmin:
Host: localhost Port: 5432 Database: postgres User: postgres
Connection succeeds.
3. Attempt the same connection in Tabularis using identical parameters.
4. Tabularis returns:
Error: error communicating with database: failed to lookup address information: nodename nor servname provided, or not known
OS Version
macOS 26.3.1
Tabularis Version
v0.9.6