Internal server errror in azure webapp RRS feed

  • Question

  • Hello,

    I have webapp (used for webapi calls) hosted in azure. Web api calls working fine till tuesday. I haven't updated anything since last 2 months. Suddenly from yesterday onwards some of the api calls not responding properly. Client side I am getting exception as 

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at

    When I try to access api call directly in browser I am getting message as "The page cannot be displayed because an internal server error has occurred.���`I�%&/m�{J�J��t��`$ؐ@�������iG#)�*��eVe]f@�흼��{����{����;�N'���?\fdl��J�ɞ!���?~|?"�"

    I even tried remote debugging directly from production and I couldn't find any issue. I could see complete response [Return as HTTPResponsemessage with xml content] at end of the method, but in browser results showing as different. (Internal server error)

    I have several get and post methods in the same applications. Some methods working fine and some not. I checked code implemented same way for all methods. I tried several ways of debugging with different data but I couldn't see anything wrong while debugging. 

    Could you please help me on this why I am not getting result out?



    Thursday, October 4, 2018 9:10 PM

All replies

  • Hi kvbformg,

    Thank you for posting here.

    Since your question is more related to Azure web app, you could post a new thread in Azure and ASP.NET forum for suitable support.


    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 9, 2018 2:06 AM