#FastApi python project with poetry and uvicorn on railway

3 messages · Page 1 of 1 (latest)

rancid socket
#

Deployed a project on railway and it works fine. The only issue is when the client calls the API's the responses seem to be http and not https . Uvicorn has started the server as http. I tried getting a cert from letsencrypt for the <myapp>.railway.app. This way I could start the server with uvicorn with this command .-* uvicorn src.main:app --port 5000 --ssl-keyfile=key.pem --ssl-certfile=cert.pem*. However I get this error on letsencrypt. - *There were too many requests of a given type :: Error creating new order :: too many certificates already issued for "railway.app". Retry after 2023-02-04T18:00:00Z: see https://letsencrypt.org/docs/rate-limits/ *. I am kind of stuck right now . I can probably buy a cert somewhere else but I still dont know if it will solve my problem. My client is a next js app.

willow cryptBOT
#

Project ID: e208cb1b-cb01-463a-991a-d5f0cbf2ee6c