Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Internal server errror in azure webapp

$
0
0

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?

Regards

kvbformg


Viewing all articles
Browse latest Browse all 8156

Trending Articles