0

I have two endpoints: main and failover. When apim sends request to main endpoint, it returns http/500 with SoapFault next apim processes the error and starts prepare request to second(faiover) endpoint and hangs on class XFormURLEncodedBuilder (code line: String line = bufferedReader.readLine).

Is there a possibility to configure apim to retry (de facto failover) when it receives http/500 with SoapFault from the first endpoint.

andpel
  • 1

1 Answers1

0

AFAIK there is no global configuration as such to enable endpoint failover.

ycr
  • 12,828
  • 2
  • 25
  • 45
  • Thanks, What you mean global configuration. I have one api with two backend endpoint (main and second - which should work as failover but not working). My question is, apim in this configuration work as designed or it is my configuration mistake – andpel Feb 27 '23 at 09:27
  • @andpel failover should work as expected. I can't really say what's going on with the provided information. – ycr Feb 27 '23 at 12:30
  • Could you help, request should be http post? (or is no matter) – andpel Feb 28 '23 at 14:37
  • @andpel can you add the full error logs? SOAP Request has to be POST requests. – ycr Mar 01 '23 at 00:42