Prisma 7.10.0 P1011 on Intel macOS 12.7.6 with Supabase Session pooler; strict node-postgres TLS succeeds
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 44/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- node.js, postgresql, typescript
Research direction
Start with the reported P1011 from migrate status on macOS 12.7.6 and compare Prisma’s strict TLS behavior with the successful node-postgres 8.23.1 connection described in the issue. Check the related report at issue 29600 for context. The cause and relevant Prisma files or tests are not identified in the payload; done means identifying the TLS failure and a supported workaround that preserves certificate and hostname verification.
Written by the indexing model from the issue text.
Description
Package and version
What happened?
Prisma 7.10.0 fails to establish a secure TLS connection to a Supabase PostgreSQL Session pooler on an Intel Mac running macOS 12.7.6.
The read-only migrate status command fails with error P1011 and exit code 1.
A separate connection using node-postgres 8.23.1 succeeds against the same TEST database with certificate-chain and hostname verification enabled.
The CA certificate is valid and readable, and Prisma's certificate path and TLS settings have been checked.
The exact cause of the TLS failure remains unknown. A similar macOS issue has been reported at https://github.com/prisma/orm/issues/29600.
Please advise whether this is a known macOS native TLS issue and whether there is a supported workaround that preserves full certificate and hostname verification.
What did you expect to happen?
Prisma should establish a secure connection to the Supabase PostgreSQL TEST database using the configured CA certificate, with full certificate-chain and hostname verification enabled.
The read-only migrate status command should complete successfully and report the database's migration status without producing a P1011 TLS error.
Minimal reproduction
Using Prisma 7.10.0 with a Supabase PostgreSQL Session pooler on port 5432:1. Configure a PostgreSQL datasource using a private TEST connection URL with sslmode=require, sslaccept=strict and sslcert pointing to a valid CA PEM file.
2. Run node node_modules/prisma/build/index.js migrate status --config prisma.test.config.ts.
3. Observe Prisma error P1011 and exit code 1.
The same TEST endpoint connects successfully through node-postgres with certificate-chain and hostname verification enabled.No migration deployment is required to reproduce the failure. Credentials and connection URLs are intentionally omitted.
Environment
- Operating system: macOS 12.7.6- Mac architecture: Intel x86_64
- Node.js: 24.21.0
- Node.js OpenSSL: 3.5.8
- Prisma CLI and engines: 7.10.0
- Prisma engine commit: 0edf323efd1d98336f3f0a68684b56f689b900d3
- node-postgres: 8.23.1
- Database: Supabase PostgreSQL, Session pooler, port 5432
- Package manager: npm
- TLS settings: sslmode=require, sslaccept=strict, sslcert (CA PEM file)
- Error: P1011
- Prisma process exit code: 1
Additional context
No response
- Dominant language
- TypeScript
- Stars
- 47.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 227
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from prisma/orm
-
bug/1-unconfirmed kind/bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
get-platform: distros with ID_LIKE=alpine are not detected as musl, so glibc engines are used on Alpine-based imagesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
prisma/orm#31281 · 1 comment ·
Maintainers usually reply within 1 day
-
adapter-pg: connectToShadowDb connects to the main database when built from a connection stringMay be free again @cestercian claimed this 10 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
prisma/orm#31196 · 1 comment ·
Maintainers usually reply within 1 day
-
[Prisma 8] Type-check time grows exponentially with chained .include() callsPossibly taken @SiKreuz claimed this 13 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
prisma/orm#31161 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
prisma/orm#31125 · 4 comments · 6 reactions ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tashfeenahmed/freellmapi#2305 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
prime-radiant-inc/evener#8335 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#1921 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 65/100
microsoft/monaco-editor#5626 ·
Maintainers usually reply within 1 day