Failed Function build due to "Unable to clone code repository: fatal: remote error"
- 0
- React Native
- Functions
Hello. We recently pushed some code into our main branch and this error showed up during our function build. I went through some of the earlier threads, but couldn't understand if this is a GitHub issue or something to do with AppWrite.
This is also the first time this issue came up since we have been pushing to main consistently without any problem. Not sure if last weeks issue caused some disturbance?
I am tempted to disconnect my github repository and reconnect, but not sure if that would break anything so holding off to the experts for suggestions. :appwritecheers:
Appreciate all the help! Thank you:appwriteparty:
Here is the full error:
Unable to clone code repository: fatal: remote error: upload-pack: not our ref 0000000000000000000000000000000000000000
/usr/src/code/vendor/appwrite/server-ce/src/Appwrite/Platform/Workers/Builds.php:235
#0 /usr/src/code/vendor/appwrite/server-ce/src/Appwrite/Platform/Workers/Builds.php(93): Appwrite\Platform\Workers\Builds->buildDeployment(Object(Utopia\Storage\Device\DOSpaces), Object(Appwrite\Event\Func), Object(Appwrite\Event\Event), Object(Appwrite\Event\Usage), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Utopia\VCS\Adapter\Git\GitHub), Object(Utopia\Database\Document), Object(Utopia\Database\Document), Object(Utopia\Database\Document), Object(Utopia\Database\Document), Object(Utopia\Logger\Log))
#1 /usr/src/code/vendor/appwrite/server-ce/src/Appwrite/Platform/Workers/Builds.php(55): Appwrite\Platform\Workers\Builds->action(Object(Utopia\Queue\Message), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Appwrite\Event\Event), Object(Appwrite\Event\Func), Object(Appwrite\Event\Usage), Object(Utopia\Cache\Cache), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Utopia\Storage\Device\DOSpaces), Object(Utopia\Logger\Log))
#2 /usr/src/code/vendor/utopia-php/queue/src/Queue/Server.php(248): Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}(Object(Utopia\Queue\Message), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Appwrite\Event\Event), Object(Appwrite\Event\Func), Object(Appwrite\Event\Usage), Object(Utopia\Cache\Cache), Object(Appwrite\Cloud\Database\ProxyDatabase), Object(Utopia\Storage\Device\DOSpaces), Object(Utopia\Logger\Log))
#3 [internal function]: Utopia\Queue\Server->Utopia\Queue\{closure}('4')
#4 /usr/src/code/vendor/utopia-php/queue/src/Queue/Adapter/Swoole.php(37): call_user_func(Object(Closure), '4')
#5 [internal function]: Utopia\Queue\Adapter\Swoole->Utopia\Queue\Adapter\{closure}(Object(Swoole\Process\Pool), '4')
#6 {main}
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...