webadmin 从 github 部署到 azure

webadmin deploy to azure from github

我正在尝试通过 github 'Deploy to Azure' 将 webadmin 部署到 windows azure...我收到以下错误:

Failed to load resource: the server responded with a status of 500 (Internal Server Error). error: "Unable to translate bytes [F3] at index 22 from specified code page to Unicode."

System.Text.DecoderFallbackException: Unable to translate bytes [F3]
     at index 22 from specified code page to Unicode.
     at System.Text.DecoderExceptionFallbackBuffer.Throw(Byte[] bytesUnknown, Int32 index)
     at System.Text.DecoderExceptionFallbackBuffer.Fallback(Byte[] bytesUnknown, Int32 index)
     at System.Text.DecoderFallbackBuffer.InternalFallback(Byte[] bytes, Byte* pBytes, Char*& chars)
     at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
     at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
     at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
     at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
     at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
     at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
     at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)
     at Newtonsoft.Json.JsonTextReader.ParseValue()
     at Newtonsoft.Json.JsonTextReader.ReadInternal()
     at Newtonsoft.Json.JsonTextReader.Read()
     at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
     at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
     at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
     at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClass8.<ReadFromStreamAsync>b__6()
     at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Slingshot.Controllers.ARMController.<GetTenantsArray>d__67.MoveNext() in c:\code\GitHub\slingshot\Slingshot.Api\Controllers\ARMController.cs:line 436 --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     at Slingshot.Controllers.ARMController.<GetTemplate>d__4c.MoveNext() in c:\code\GitHub\slingshot\Slingshot.Api\Controllers\ARMController.cs:line 334

Is it possible to install webadmin any other way?

提前致谢!

这似乎是 Azure 中与 Azure Active Directory 名称中的 Unicode 字符相关的错误。通过将“ó”字符添加到我的目录名称,我能够重现此错误。

我已经向他们的 GitHub 项目发布了一个问题: https://github.com/projectkudu/slingshot/issues/32

作为临时解决方法,请尝试从 Azure 管理门户中的目录名称中删除 Unicode 字符。请注意,这些更改可能需要一些时间。

可以手动部署 webadmin,但我们还没有相应的文档。