Issue with using Uvicorn inside a windows service #1410
Unanswered
msminhas93
asked this question in
Potential Issue
Replies: 1 comment
-
I got this problems too, may I ask how do you resolve it ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying to run uvicorn on Windows 10 inside a Windows Service.
However, I'm facing issues with starting uvicorn from within the service.
My OS is: Windows 10 Version 1909 (OS Build 18363.2158)
My conda environment is created using the following yml file:
I'm using a very basic sample from FastAPI:
Uvicorn script:
Now for the Windows Service I have tried two approaches.
But I get the following error:
It seems that it was already handled as per this #526
But I'm still facing issues. Any suggestions are welcome.
I get the following error:
I know the error seems incomplete. However, this is what I got by using log_to_stderr from multiprocessing.
I'm not sure why I'm getting thread related errors since I don't use threading anywhere.
Beta Was this translation helpful? Give feedback.
All reactions