Launch timed out, space was not healthy after 30 min (space keeps on building)
The space keeps on building and after 30 mins it gives runtime error Launch timed out, space was not healthy after 30 minimage2472×456 72.7 KBHave tried restarting and factory rebuilt. Port is already 7860
2023-11-27T09:27:33Z
image828×576 9.17 KB
2023-11-27T09:27:54Z
Same here.
2023-12-01T04:32:56Z
Hi@Anne31415and@wajid, could you please share more details about your Spaces? The default timeout during runtime is 30 minutes. Our infra expects a service to bind to the exposed port within 30 minutes, otherwise, it throws that error.
2023-12-01T19:42:19Z
The same is happening to me. Every space I create from autotrain just never stop building and after 30 minutes I get the error Runtime error Launch timed out, space was not healthy after 30 min Container.
2023-12-01T19:48:40Z
hi@MatteoWood,Could you please try to increase thestartup_duration_timeoutparam? inside the yaml README.mdand if you keep getting error with the Autotrain template, please create a new issue on the categoryherestartup_duration_timeout: 1hhuggingface.coSpaces Configuration ReferenceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2023-12-01T20:18:26Z
Hi@radames,Of course, thank you. I’ll update you in 1 hour then.I’m not sure it will be enough, though… the training seems to start fine, it’s just ending because the space never reach the running status. In my opinion 30 minutes or 1 hour is not solving the problem unfortunately. Here’s the space: MatteoWood/autotrain-bert-large-uncased-0In case it is not working, in around 30 hours the fine-tuning should end: would modifing the startup_duration_timeout parameter to something like 40h be a work-around?Best
2023-12-01T21:02:51Z
interesting, probably better start a new thread with@abhishek,startup_duration_timeoutonly affects the expected time for a service to bind on the exposed port 7860, so maybe is something can be fixed on the autotrain app
2023-12-01T21:46:07Z
I confirm the errorRuntime error Launch timed out, space was not healthy after 60 min
2023-12-04T07:41:33Z
I’ve now encountered this problem for the third time. None of my spaces were starting or building anymore. I haven’t changed anything in the code, or anything else for that matter, and then a few hours later (without any changes), everything starts working again. These hours are just very frustrating because you never know how long it will be before it starts working again. Right now its working.I can give you more details about the space - what do you need to know?
2023-12-04T15:09:00Z
I am facing the same error and i am using a paid GPU currently so my training just stops due to runtime error after 30 min. Please provide a solution for this because it is still being billed for these 30 min.@radamesplease provide a solution for this.