warpgate icon indicating copy to clipboard operation
warpgate copied to clipboard

Request to add PostgreSQL Connection Instructions in WarpGate UI

Open vjmax opened this issue 1 year ago • 3 comments

I have configured a PostgreSQL target in WarpGate and need assistance with the correct connection command. I have set up the warpgate.yaml configuration file as follows:

**postgres:
  enable: true
  listen: "0.0.0.0:55432"
  external_port: ~
  certificate: yes/tls.certificate.pem**

I added the PostgreSQL target through the WarpGate UI, but unlike the SSH and MySQL targets, there are no example connection commands provided for PostgreSQL.

Steps Taken:

Connection Attempt: Used the following command to connect but it did not work:

psql -U "admin#targetname" --host "warpgatehost" --port 55432

I’m unsure of the correct format for the psql command or if additional configuration is required.

Request:

Could you please provide:

An example command for connecting to a PostgreSQL target through WarpGate. Any additional configuration that might be necessary.

Thank you!

vjmax avatar Sep 19 '24 07:09 vjmax

Are you doing it on the branch (#1021) build? It's still not ready and is missing things like these.

Eugeny avatar Sep 19 '24 07:09 Eugeny

I have used this package - https://nightly.link/warp-tech/warpgate/workflows/build/postgres

vjmax avatar Sep 19 '24 07:09 vjmax

Gotcha - that PR isn't ready yet and is missing connection instructions, but your command should be correct (you can also try : instead of # as target separator, both are supported).

What's the connection error? Are there any messages in the warpgate output? You can add --debug for more verbose logging

Eugeny avatar Sep 19 '24 07:09 Eugeny

Already done

Eugeny avatar May 19 '25 21:05 Eugeny