I have two service stack api’s that are hosted in Api Gateway in aws. I have a service gateway set between the two and occasionally when making calls I am getting the following exception/response:
ServiceStack.ServiceClientBase: System.Net.WebException: The remote server returned an error: (502) Bad Gateway. at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack.Client\ServiceClientBase.cs:line 1346
Any thoughts as to why this might be occuring or what I might do to get more information?