Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastapi dev runs stuck #11573

Open
1 task done
kingcwt opened this issue May 13, 2024 · 4 comments
Open
1 task done

fastapi dev runs stuck #11573

kingcwt opened this issue May 13, 2024 · 4 comments

Comments

@kingcwt
Copy link

kingcwt commented May 13, 2024

Privileged issue

  • I'm @tiangolo or he asked me directly to create an issue here.

Issue Content

The first time I ran fastapi dev, there was no problem, but I encountered a code error. Then after I modified the code and saved it, a WARNING: WatchFiles detected changes in 'tool/index.py'. Reloading... then got stuck and could not exit.

image
@ankit-brijwasi
Copy link

Any updates on this @kingcwt? facing the same issue!

@3to1null
Copy link

Could be related to: encode/uvicorn#2000

@Omachonu-prosper
Copy link

I currently have a slightly different issue from yours @kingcwt but it's still an issue with fastapi cli (dev and run)
The Code
image

The Error
image
image

@AIdjis
Copy link

AIdjis commented May 28, 2024

do not use the fastapi dev to run your application just use uvicorn instead, i do not face any issue with uvicorn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants