Patroni list member failed .
Published: 2023-11-24 03:43:55

This mmeber :
[root@postgres_node1 ~]# etcdctl endpoint status --write-out=table --endpoints=$ENDPOINTS
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
|      ENDPOINT      |        ID        | VERSION | DB SIZE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
| 192.168.80.71:2379 | 1671254cb93bed8d |  3.5.10 |   25 kB |     false |      false |        12 |     127048 |             127048 |        |
| 192.168.80.72:2379 | 759d5a6ab1c33a5b |  3.5.10 |   20 kB |      true |      false |        12 |     127048 |             127048 |        |
| 192.168.80.73:2379 | fdc25be1ad7812b4 |  3.5.10 |   20 kB |     false |      false |        12 |     127048 |             127048 |        |
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+

I wanna query patroni family mmeber , but get error in bellowing :
[root@postgres_node1 ~]# patronictl -c /etc/patroni/patroni.yml list
2023-11-23 22:40:08,095 - ERROR - Failed to get list of machines from :/v2: LocationValueError('No host specified.',)
2023-11-23 22:40:08,096 - ERROR - Failed to get list of machines from 9/v2: MaxRetryError("HTTPConnectionPool(host='9', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbb320>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
2023-11-23 22:40:08,097 - ERROR - Failed to get list of machines from 3/v2: MaxRetryError("HTTPConnectionPool(host='3', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbb630>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
2023-11-23 22:40:08,097 - WARNING - failed to resolve host .: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
2023-11-23 22:40:08,097 - ERROR - Failed to get list of machines from ./v2: MaxRetryError("HTTPConnectionPool(host='.', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbbac8>: Failed to establish a new connection: getaddrinfo returns an empty list',))",)
2023-11-23 22:40:08,098 - ERROR - Failed to get list of machines from 7/v2: MaxRetryError("HTTPConnectionPool(host='7', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbbcf8>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
2023-11-23 22:40:08,099 - ERROR - Failed to get list of machines from 2/v2: MaxRetryError("HTTPConnectionPool(host='2', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbbd68>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
2023-11-23 22:40:08,100 - ERROR - Failed to get list of machines from 8/v2: MaxRetryError("HTTPConnectionPool(host='8', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbbb38>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
2023-11-23 22:40:08,100 - ERROR - Failed to get list of machines from 0/v2: MaxRetryError("HTTPConnectionPool(host='0', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbb4e0>: Failed to establish a new connection: [Errno 111] Connection refused',))",)
2023-11-23 22:40:08,101 - ERROR - Failed to get list of machines from 6/v2: MaxRetryError("HTTPConnectionPool(host='6', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fbbef0>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
2023-11-23 22:40:08,102 - WARNING - failed to resolve host ,: [Errno -2] Name or service not known
2023-11-23 22:40:08,102 - ERROR - Failed to get list of machines from ,/v2: MaxRetryError("HTTPConnectionPool(host=',', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fce080>: Failed to establish a new connection: getaddrinfo returns an empty list',))",)
2023-11-23 22:40:08,103 - ERROR - Failed to get list of machines from 1/v2: MaxRetryError("HTTPConnectionPool(host='1', port=80): Max retries exceeded with url: /v2/machines (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7da2fce128>: Failed to establish a new connection: [Errno 22] Invalid argument',))",)
^C
Aborted!



Any someone please help me .