Сбой восстановления пакета с приложением Azure function - PullRequest
0 голосов
/ 22 апреля 2020

Я создал приложение с функцией BLOB-объектов в Azure и добавил файл function.proj в список файлов проекта. Тем не менее, когда я сохраняю файл function.proj, пакет показывает следующее сообщение и завершается ошибкой со следующим сообщением:

2020-04-22T09:24:39  Welcome, you are now connected to log-streaming service. The default timeout is 2 hours. Change the timeout with the App Setting SCM_LOGSTREAM_TIMEOUT (in seconds).
2020-04-22T09:25:23.354 [Information] Restoring packages.
2020-04-22T09:25:23.385 [Information] Starting packages restore
2020-04-22T09:25:24.188 [Information] System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
2020-04-22T09:25:24.189 [Information] at Internal.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
2020-04-22T09:25:24.189 [Information] at Internal.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
2020-04-22T09:25:24.189 [Information] at Internal.Win32.RegistryKey.SetValue(String name, String value)
2020-04-22T09:25:24.189 [Information] at System.Environment.SetEnvironmentVariableFromRegistry(String variable, String value, Boolean fromMachine)
2020-04-22T09:25:24.190 [Information] at System.Environment.SetEnvironmentVariable(String variable, String value, EnvironmentVariableTarget target)

Я вижу, что эта проблема была решена по приведенной ниже ссылке github:

https://github.com/Azure/azure-functions-host/issues/4665

Но я все еще сталкиваюсь с этой проблемой.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...