502 - Web server received an invalid response while acting as a gateway or proxy server

Anil Bandela asked on August 12, 2019 17:25

Am facing this issue and I found event log like this I added in below.

Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.

Exception type: System.Web.HttpUnhandledException Stack trace: at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Message: Unable to connect to the remote server

Exception type: System.Net.WebException Stack trace: at System.Net.HttpWebRequest.GetResponse() at Core.HttpClient.GetResponse(HttpWebRequest request) at Service.Cpd.CpdRequestService.MakeGetRequest[T](String action, NameValueCollection idCollection) at Service.MembershipDashboardService.GetDashboardDataForUser(Guid userGuid, String membershipDescription) at SiteWebParts.Memberships.SiteWebParts_Memberships_DashboardInfo.GetCpdMembershipData() at SiteWebParts.Memberships.SiteWebParts_Memberships_DashboardInfo.LoadAllDashboardData() at System.Web.UI.Control.OnLoad(EventArgs e) at CMS.Base.Web.UI.AbstractUserControl.OnLoad(EventArgs e) at CMS.PortalEngine.Web.UI.CMSAbstractWebPart.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xx.xx.x.xxx:443

Exception type: System.Net.Sockets.SocketException Stack trace: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

Recent Answers


Juraj Ondrus answered on August 13, 2019 14:15

The error is coming from MMT.Axelos.* - this sounds like something custom. You may want to check with the developers of this code what it is doing and why it is failing. It looks like the code is used by some custom web part SiteWebParts_Axelos_Memberships_DashboardInfo

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.