I am trying to deploy an Azure Function in python to a Function App, but I keep getting this error message in logs. Service Health shows no issue, I've double checked all connection strings, and checked the available solutions which suggest removing WEBSITE_RUN_FROM_PACKAGE from settings. This same function app was previously working fine, started having this issue two days ago.
Logs for the error as as follows:
Syncing triggers...
9:42:56 AM extract-attachment1: Syncing triggers (Attempt 2/6)...
9:43:07 AM extract-attachment1: Syncing triggers (Attempt 3/6)...
9:43:29 AM extract-attachment1: Syncing triggers (Attempt 4/6)...
9:44:11 AM extract-attachment1: Syncing triggers (Attempt 5/6)...
9:45:32 AM extract-attachment1: Syncing triggers (Attempt 6/6)...
9:45:34 AM: Error: Encountered an error (ServiceUnavailable) from host runtime.