zilliztech / zilliztech/VectorDBBench

psql: SSL SYSCALL error at docker image

Open
#352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
438
Avg merge
1d 4h
Merged PRs (30d)
1

Description

The error is psql: SSL SYSCALL error: Success

This happens when we use psql or psycopg->libpq5 to connect to a encrypted sslmode=require PostgreSQL 16 endpoint, for PGVecto.rs.

pgvector is not tested, but it might have the same error, as this is the issue of PostgreSQL and libpq5.

https://github.com/zilliztech/VectorDBBench/blob/c45876cef17dee92b3f4d1711b4130aa6ecabe39/Dockerfile#L1

OS version link Status
buster[picked] 11.22 https://packages.debian.org/buster/libpq5 Error
bullseye 13.15 https://packages.debian.org/bullseye/libpq5 Error
bookworm 15.7 https://packages.debian.org/bookworm/libpq5 Success

After my tests on local machine:

  • psql 11 and 13 have the same error
  • psql 14, 15, 16 are ok

So it might be helpful if the Dockerfile could be upgraded to:

FROM python:3.11-bookworm as builder-image

FROM python:3.11-slim-bookworm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the repository's Dockerfile and compare the reported Debian base images and libpq5 versions. Reproduce the SSL connection using psql or psycopg against a PostgreSQL 16 endpoint, then verify that the updated image builds and the connection no longer reports the SSL SYSCALL error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql, python
Domain
databases, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.