Build error: Error while cloning repository

This is a very troublesome error, I can only get a “503” in Dev mode, I tried moving it to Zero GPU space and got a build error with no information.
You might want to ask the staff on the HF Discord.

In the case of these strange errors, the cause is usually that something is wrong with the Spaces-related settings or server settings. The user can only work around it by using a roundabout way, not a solution. However, if the error message does not provide this much information, there is no way to work around it…
Usually error messages are not meant to harass, but to debug…

My guess is that this error is not due to any recent changes you have made to Spaces, but that you got caught up in some change on the HF side. You probably can’t get around it without changing something fundamentally.
There are plenty of Spaces that use Dockerfile or github resources, so that’s not the only cause. I really don’t know.

1 Like