Could not find a suitable TLS CA certificate bundle

Deploying the fast api tepmplate with 3.11 and pdm https://github.com/railwayapp-templates/fastapi/tree/main Failing on build with "OSError: Could not find a suitable TLS CA certificate bundle" I'm surprised that nixpack doesn't install an ssl cert automatically, so curious what the problem might be.
GitHub
GitHub - railwayapp-templates/fastapi
Contribute to railwayapp-templates/fastapi development by creating an account on GitHub.
Solution:
Nevermind, it wasn't related to railway. Corrupted pdm.lock file was the culprit
Jump to solution
6 Replies
Percy
Percy7mo ago
Project ID: 86760e1b-bf4b-4375-aa05-ff2d1062d73a
Cat Socks
Cat SocksOP7mo ago
86760e1b-bf4b-4375-aa05-ff2d1062d73a
Brody
Brody7mo ago
that template deploys just fine, can you provide a reproducible method to get that error?
Cat Socks
Cat SocksOP7mo ago
I didn't deploy it directly, since I want to use PDM, main.py and railway.json are identical. I've also specified NIXPACKS_PYTHON_VERSION=3.11
Brody
Brody7mo ago
that template also deploys fine with NIXPACKS_PYTHON_VERSION=3.11 please provide a reproducible method to get that error.
Solution
Cat Socks
Cat Socks7mo ago
Nevermind, it wasn't related to railway. Corrupted pdm.lock file was the culprit
Want results from more Discord servers?
Add your server