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:Jump to solution
Nevermind, it wasn't related to railway. Corrupted pdm.lock file was the culprit
6 Replies
Project ID:
86760e1b-bf4b-4375-aa05-ff2d1062d73a
86760e1b-bf4b-4375-aa05-ff2d1062d73a
that template deploys just fine, can you provide a reproducible method to get that error?
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
that template also deploys fine with
NIXPACKS_PYTHON_VERSION=3.11
please provide a reproducible method to get that error.Solution
Nevermind, it wasn't related to railway. Corrupted pdm.lock file was the culprit