Problem in getting PG version
Sanghren opened this issue · 1 comments
Sanghren commented
Hello,
I'm currently trying to run PGHoard in a kubernetes cluster and I am having an issue with pghoard at startup , I have the following error message upon start :
│ INFO Creating a new basebackup for 'pghoard-5bf44d68f8-jwsgt' because there are currently none │
ERROR Problem in getting PG server version │
│ Traceback (most recent call last): │
│ File "/usr/local/lib/python3.5/dist-packages/pghoard/pghoard.py", line 157, in check_pg_server_version │
│ with closing(psycopg2.connect(connection_string)) as c: │
│ File "/usr/local/lib/python3.5/dist-packages/psycopg2/__init__.py", line 130, in connect │
│ conn = _connect(dsn, connection_factory=connection_factory, **kwasync) │
│ psycopg2.InterfaceError: only protocol 3 supported
I am using postgres 11.6 .
Any idea what is going on there ?
Sanghren commented
Never mind, I'm a moron and was connecting to the wrong pod x)