Deployment history not loading and git deployment is not updating RRS feed

  • Question

  • I have been using Git deployment for a while and now it is not updating the deployment. Last time it did that I manually synced the deployment through the management site. Now when I go to deployment history to do a manual sync, it tells me a 500 error when loading the deployment history. I have just started seeing this today. Any idea what's going on? Azure bug?
    Wednesday, July 24, 2013 9:47 PM

All replies

  • I would start by getting the diagnostic dump (  In the dump zip, there is a trace.xml (logFiles\git\trace).  That should give some clue.  Let us know if need any help digesting the trace file.


    Wednesday, July 24, 2013 10:55 PM
  • I found the diagnostics and this is what is getting logged when I try to look at my deployment history.

    2013-07-25T15:48:00    Error occurred, type: error, text: Root element is missing., stackTrace:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
       at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
       at Kudu.Core.Deployment.XmlLogger.GetDocument()
       at Kudu.Core.Deployment.XmlLogger.Log(String value, LogEntryType type)
       at Kudu.Core.Deployment.CascadeLogger.Log(String value, LogEntryType type)
       at Kudu.Core.Deployment.ProgressLogger.Log(String value, LogEntryType type)
       at Kudu.Core.Deployment.LoggerExtensions.LogUnexpetedError(ILogger logger)
       at Kudu.Core.Deployment.DeploymentManager.VerifyDeployment(String id, Boolean isDeploying)
       at Kudu.Core.Deployment.DeploymentManager.GetResult(String id, String activeDeploymentId, Boolean isDeploying)
       at Kudu.Core.Deployment.DeploymentManager.<EnumerateResults>d__23.MoveNext()
       at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Kudu.Core.Deployment.DeploymentManager.GetResults()
       at Kudu.Services.Deployment.DeploymentController.<GetResults>d__b.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Kudu.Services.Deployment.DeploymentController.GetDeployResults()
       at lambda_method(Closure , Object , Object[] )
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()
       at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)

    Thursday, July 25, 2013 3:50 PM
  • I have a same problem without any clues, can you help? Suwat Ch
    Sunday, July 28, 2013 3:20 AM
  • I am moving this to the GIT deployment forum for better visibility. Here's the new link for this thread:

    Jim Cheshire | Microsoft

    Monday, July 29, 2013 2:13 PM