-
Notifications
You must be signed in to change notification settings - Fork 336
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
1.33.0-php8.3 has problem with connection to Postgresql using pdo_pgsql driver #1457
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@Stafox Looks like the base image changed from What are the permissions on |
the problem definetely does not connected to permissions. i have tried all possible, as well, as providing the file. no luck. the main problem that it shoud not request the cerificate at all, in case your connection is made with sslmode=require (what is default mode) as i mentioned, after rolling back to previous version the problem has gone |
What docker version you're running and on what OS? What's the libseccomp version on your host OS? Thinks kinda sorta looks like another case of docker-library/official-images#16829 |
the problem was reproduced on Ubuntu 24.04 (Docker version 27.3.1, build ce12230) and macos (Docker version 27.2.0, build 3ab4256).
|
That's recent enough! So probably my idea was a miss. Looking at https://gitlab.alpinelinux.org/alpine/aports/-/issues/14565 and psycopg/psycopg2#1535 it looks like it's coming up from an updated libpq library - with some ideas to try in psycopg/psycopg2#1535 (comment) and psycopg/psycopg2#1535 (comment) |
@Stafox Do the workarounds mentioned above work for you? |
@callahad Providing certificate is not an option for me at all in current setup. So, no for now I use previous version 1.32.1 as workaround |
After update to this version I started to experience problem with connection to remote postgres databases (have tried Google Cloud SQL and Digital Ocean Managed DB).
It does not allow to establish connection due to error with certificate.
connection to server at "****" (xxx.xxx.xx.xxx), port 25060 failed: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
.After switching back to 1.32.1-php8.3 the error has gone.
The text was updated successfully, but these errors were encountered: