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

Native Postgresql connection without ssl enabled #285

Closed
jenggo opened this issue Feb 10, 2023 · 3 comments · Fixed by #286
Closed

Native Postgresql connection without ssl enabled #285

jenggo opened this issue Feb 10, 2023 · 3 comments · Fixed by #286

Comments

@jenggo
Copy link

jenggo commented Feb 10, 2023

I've following manual on how to config native probe for postgresql (https://github.com/megaease/easeprobe/blob/main/docs/Manual.md#78-native-client-probe-configuration)

here's my code:

client:
  - name: Posgresql
    driver: postgres
    host: postgis:5432
    username: xxxxx
    password: xxxxx

  - name: Pgbouncer
    driver: postgres
    host: pgbouncer:5432
    username: xxxxxx
    password: xxxxxx

and here's report:

Posgresql Failure ❌
postgis:5432 - ⏱ 4ms
Error (client/postgres): pgdriver: SSL is not enabled on the server
> EaseProbe v2.0.0 @ c0d124fc3faa at 2023-02-10 10:49:53 UTC

Pgbouncer Failure ❌
pgbouncer:5432 - ⏱ 2ms
Error (client/postgres): pgdriver: SSL is not enabled on the server
> EaseProbe v2.0.0 @ c0d124fc3faa at 2023-02-10 10:49:54 UTC

i'm using docker deployment method

@haoel
Copy link
Contributor

haoel commented Feb 10, 2023

Thanks for reporting this issue, I can reproduce this problem, I will give a fix as soon as I can.

@haoel
Copy link
Contributor

haoel commented Feb 10, 2023

@jenggo To get the patch, you need to check out the latest code to build the binary by yourself at this moment. let me know if it works, otherwise please reopen this issue. thanks for understanding.

@jenggo
Copy link
Author

jenggo commented Feb 10, 2023

confirmed 👍

Posgresql Recovery - ( 6h18m44s Downtime ) ✅
postgis:5432 - ⏱ 45ms
Success (client/postgres): Check PostgreSQL Server Successfully!
> EaseProbe v2.0.0 @ 6e6f46fa3ab2 at 2023-02-10 17:08:37 UTC

Pgbouncer Recovery - ( 6h18m44s Downtime ) ✅
pgbouncer:5432 - ⏱ 11ms
Success (client/postgres): Check PostgreSQL Server Successfully!
> EaseProbe v2.0.0 @ 6e6f46fa3ab2 at 2023-02-10 17:08:38 UTC

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

Successfully merging a pull request may close this issue.

2 participants