{"id":1193,"date":"2015-09-28T07:33:28","date_gmt":"2015-09-28T07:33:28","guid":{"rendered":"https:\/\/www.davidpapkin.net\/?p=1193"},"modified":"2015-09-28T07:33:28","modified_gmt":"2015-09-28T07:33:28","slug":"troubleshooting-and-analysis-of-azure-web-apps-with-kudu-by-david-papkin","status":"publish","type":"post","link":"https:\/\/davidpapkin.com\/?p=1193","title":{"rendered":"Troubleshooting and analysis of Azure Web Apps with KUDU by David Papkin"},"content":{"rendered":"<p><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/07\/cropped-cropped-cropped-David-Papkin-Bandung-black-tshirt-e14427561909742.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2541\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/07\/cropped-cropped-cropped-David-Papkin-Bandung-black-tshirt-e14427561909742.jpg\" alt=\"david papkin\" width=\"62\" height=\"60\" \/><\/a>This post by David Papkin is\u00a0Troubleshooting and analysis of Azure Web Apps with KUDU.<\/p>\n<p>After setting up a Website in Microsoft Azure, using Azure Web Apps, Kudu provides troubleshooting and analysis<\/p>\n<p>Kudu is the engine behind <a href=\"https:\/\/www.windowsazure.com\/en-us\/develop\/nodejs\/common-tasks\/publishing-with-git\/\">git deployments in Azure Web Sites<\/a>. It can also run outside of Azure.<\/p>\n<p>To access KUDU, Access it througfh <a href=\"https:\/\/YOURWEBSITE.scm.azurewebsites.net\">https:\/\/<em>YOURWEBSITE<\/em>.scm.azurewebsites.net<\/a><\/p>\n<p><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/accesskudu2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4551\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/accesskudu2-300x136.png\" alt=\"David Papkin - Access Kudu\" width=\"300\" height=\"136\" \/><\/a><\/p>\n<p><strong>Environment<\/strong> &#8211; Useful information about the environment<\/p>\n<p><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/Azure-environment1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4561\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/Azure-environment1-284x300.png\" alt=\"David Papkin - Azure environment\" width=\"284\" height=\"300\" \/><\/a><\/p>\n<p><strong>Debug console<\/strong> (CMD prompt, Powershell )<\/p>\n<p>Clicking on the Debug Console, then CMD or PowerShell opens a Command prompt or a Powershell prompt console, respectively. The screencap below shows a Powershell session.\u00a0You can do a variety of Powershell and commands, such as <strong>get-process <\/strong>or <strong>dir<\/strong>.<\/p>\n<p><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/CMDpromnpt1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4571\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/CMDpromnpt1-300x80.png\" alt=\"David Papkin - Kudu CMD\" width=\"300\" height=\"80\" \/><\/a><\/p>\n<p><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/powershell.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4501\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/powershell-300x154.png\" alt=\"David Papkin - Access Kudu\" width=\"300\" height=\"154\" \/><\/a><\/p>\n<p><strong>Process Explorer.<\/strong> You can look at the Id-PID of the W3WP process and see if it changes when you run a request. If it does, the process is likely crashing and that needs to be analyzed further to see why.<\/p>\n<p><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/processexplorer1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4581\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/processexplorer1-300x78.jpg\" alt=\"David Papkin - Process Explorer\" width=\"300\" height=\"78\" \/><\/a><\/p>\n<p><strong>Tools<\/strong> \u2013 Diagnostic dump,Log,Web hooks, Download deployment script,Support.<\/p>\n<p style=\"padding-left: 30px;\"><strong><em>Diagnostic dump<\/em><\/strong>. This downloads logs which can be used for troubleshooting purposes.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/DIagDump1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4591\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/DIagDump1-300x67.jpg\" alt=\"David Papkin - Diag DUmp\" width=\"300\" height=\"67\" \/><\/a><\/p>\n<p style=\"padding-left: 30px;\"><strong>Support<\/strong> will bring up a new Browser window , <strong>Azure App Service Support\u00a0<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/support.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-4531\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/support.png\" alt=\"David Papkin - Support\" width=\"143\" height=\"118\" \/><\/a><\/p>\n<p style=\"padding-left: 60px;\">Options Are Observe, Analyze, Mitigate<\/p>\n<p style=\"padding-left: 60px;\"><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/observe1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4601\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/observe1-300x205.jpg\" alt=\"David Papkin - Observe\" width=\"300\" height=\"205\" \/><\/a><\/p>\n<p style=\"padding-left: 60px;\"><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/analyze1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4611 alignleft\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/analyze1-300x224.jpg\" alt=\"David Papkin - Analyze\" width=\"300\" height=\"224\" \/><\/a><\/p>\n<p style=\"padding-left: 60px;\"><a href=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/mitigate.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-4621\" src=\"http:\/\/davidpapkin.azurewebsites.net\/wp-content\/uploads\/2015\/09\/mitigate-300x139.jpg\" alt=\"David Papkin - Mitigate\" width=\"300\" height=\"139\" \/><\/a><\/p>\n<p>This concludes this post on using KUDU to troubleshoot your Azure Web App<\/p>\n<p>For further information,<\/p>\n<p><a href=\"https:\/\/github.com\/projectkudu\/kudu\/wiki\">https:\/\/github.com\/projectkudu\/kudu\/wiki<\/a><\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/b\/benjaminperkins\/archive\/2014\/03\/24\/using-kudu-with-windows-azure-web-sites.aspx\">http:\/\/blogs.msdn.com\/b\/benjaminperkins\/archive\/2014\/03\/24\/using-kudu-with-windows-azure-web-sites.aspx<\/a><\/p>\n<p>This concludes this post by David Papkin troubleshooting and analysis of Azure Web Apps with KUDU<\/p>\n<h6>DAVID PAPKIN<\/h6>\n<h6>MSBA,CEH,CCNP,F5 LTM,ITIL,MCSE,MCT,RHCE,VCP<\/h6>\n<h6><a href=\"https:\/\/azurewebsites.net\">HTTPS:\/\/AZUREWEBSITES.NET<\/a><\/h6>\n<h6><a href=\"https:\/\/davidpapkin.net\">HTTPS:\/\/DAVIDPAPKIN.NET<\/a><\/h6>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post by David Papkin is\u00a0Troubleshooting and analysis of Azure Web Apps with KUDU. After setting up a Website in Microsoft Azure, using Azure Web Apps, Kudu provides troubleshooting and analysis Kudu is the engine behind git deployments in Azure&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,4,8],"tags":[67,98,109,173],"class_list":["post-1193","post","type-post","status-publish","format-standard","hentry","category-azure","category-david-papkin","category-microsoft","tag-david-papkin","tag-kudu","tag-microsoft-azure","tag-web-apps"],"_links":{"self":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts\/1193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1193"}],"version-history":[{"count":0,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts\/1193\/revisions"}],"wp:attachment":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}