Skip to content

pgwire: python3 py-postgresql driver error #13191

@catroot

Description

@catroot

Tried to connect using py-postgresql driver

postgresql.exceptions.ClientCannotConnectError: could not establish connection to server
  CODE: 08001
  LOCATION: CLIENT
CONNECTION: [failed]
  failures[0]:
    NOSSL socket('192.168.8.170', 26257)
    postgresql.exceptions.ProtocolError: expected message of types b'K', but received b'Z' instead
      CODE: 08P01
      LOCATION: CLIENT
CONNECTOR: [IP4] pq://root@192.168.8.170:26257
  category: None
DRIVER: postgresql.driver.pq3.Driver

Metadata

Metadata

Assignees

Labels

A-sql-pgcompatSemantic compatibility with PostgreSQLA-sql-pgwirepgwire protocol issues.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)meta-issueContains a list of several other issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions