Launch timed out, space was not healthy after 30 min
Hi! Having this issue, that my space always ends to runtime error, even with default app.py file (tried it earlier). Whole thing is working like it should be in gradio, but somehow not doing anything in huggingface. Logs end like this. Running on local URL:http://0.0.0.0:7860To create a public link, setshare=Trueinlaunch().Anyway to fix this issue?Link to spaceModel25000 - a Hugging Face Space by Ottis
2023-01-22T17:44:06Z
I’m also facing the same issue.Commenting here to follow the thread.
2023-01-22T18:37:43Z
Seems like issue with huggingface free plan, i upgraded cpu and its working as intented now
2023-01-22T20:00:08Z
Same hereKept thinking I was doing something wrong.
2023-01-22T22:56:29Z
Same here… it took me the whole day to figure out that it’s not an issue on my side.
2023-01-23T08:00:40Z
Same here. Any idea if this is going to be fixed, or do we have to start paying now? I’ve had issues for the past few days.Thanks
2023-01-23T16:28:13Z
We had some issues over the weekend of crypto miners taking over a significant amount of CPU hosts. We’re working on mitigating this so spaces should work better now. Sorry about that!
2023-01-24T07:51:26Z
It is working now. Thanks a lot!
2023-03-15T20:28:02Z
I am currently also experiencing this error. It has happened a few times over the past couple of days.I am however not using Gradio at the moment I switched over to using fastapi/uvicorn.I also tried using Gradio, but due to some general timeout issues tried switching to fastapi/uvicorn. The program always ends up saying that the application has successfully started and then it just stalls for 30 minutes before giving the above-mentioned error.Is there a reason that it is unable to detect that the build/run successfully completed?
2023-03-15T20:53:38Z
Well, I think I figured it out for anyone experiencing the same error in the future. As far as I can tell the app has to be hosted on port 7860 and it has to have another response than 404 for ‘/’
2023-07-20T12:26:15Z
I tried changing port from 19530 to 7860. It gave the following errorraise MilvusException(Status.CONNECT_FAILED,pymilvus.exceptions.MilvusException: <MilvusException: (code=2, message=Fail connecting to server on 127.0.0.1:7860. Timeout)>
2023-07-20T13:07:50Z
I have the same issue atreverse_image_search_space - a Hugging Face Space by chandrakalagowdaRuntime errorLaunch timed out, space was not healthy after 30 minThis app did run successfully on my mac 13.3 ventura. Though it took an unusually long time(~1.5hrs) in running the app file locally.@sguggerPlease suggest what could be wrong
2023-08-21T06:17:52Z
thanks worked
2024-08-30T16:02:45Z
This solution work for me.if __name__ == "__main__":
    app.run(host="0.0.0.0", port=7860)
2025-01-12T17:35:00Z
Thank you Bro. You are a Life Saver