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

Request to add PostgreSQL Connection Instructions in WarpGate UI #1069

Open
vjmax opened this issue Sep 19, 2024 · 3 comments
Open

Request to add PostgreSQL Connection Instructions in WarpGate UI #1069

vjmax opened this issue Sep 19, 2024 · 3 comments

Comments

@vjmax
Copy link

vjmax commented Sep 19, 2024

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!

@Eugeny
Copy link
Member

Eugeny commented Sep 19, 2024

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

@vjmax
Copy link
Author

vjmax commented Sep 19, 2024

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

@Eugeny
Copy link
Member

Eugeny commented Sep 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants