Could not find a suitable TLS CA certificate bundle

derek-reinHOBBY

a year ago

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.

0 Replies

derek-reinHOBBY

a year ago

86760e1b-bf4b-4375-aa05-ff2d1062d73a


a year ago

that template deploys just fine, can you provide a reproducible method to get that error?


derek-reinHOBBY

a year ago

I didn't deploy it directly, since I want to use PDM, main.py and railway.json are identical.


derek-reinHOBBY

a year ago

I've also specified NIXPACKSPYTHONVERSION=3.11


a year ago

that template also deploys fine with NIXPACKS_PYTHON_VERSION=3.11 please provide a reproducible method to get that error.


derek-reinHOBBY

a year ago

Nevermind, it wasn't related to railway. Corrupted pdm.lock file was the culprit


Could not find a suitable TLS CA certificate bundle - Railway Help Station