Getting '503 :The Service is temporarily unavailable - HttpAdaptorException' in prod env while the same target ip adress I am able to invoke from other env

Hi,

We are getting 503:The Service is temporarily unavailable : HttpAdaptorException. while trying to connect tagert endpoint from prod env.

The same target endpoint we were able to hit from QA env.

Firewall and all other rules were already taken care of.

This is definitely a connection issue but what I am not able to figure out.

2935-capture.jpg

Also we are checking for 'environment.name' and then changing IP address to target prod ip address

context.setVariable("target.copy.pathsuffix", false);

var targetserver = context.getVariable("target.url");

var env_name = context.getVariable("environment.name");

env_name = env_name.trim();

if(env_name=="it-beta")

{ targetserver = targetserver.replace("10.****.**.7*", "10.****.**.8*"); context.setVariable("target.url", targetserver); }

Solved Solved
1 2 535
1 ACCEPTED SOLUTION

Updating IP address routing table made it work.....

View solution in original post

2 REPLIES 2

Dear @Atanu Mazumdar,

1. Are you trying to do a secure (SSL) connection to your target server ? If yes, then you will need to ensure any Keystore/Truststore are created with appropriate certificates in your "it-beta" environment as well.

2. If it is not a secure connection, then you need to check if you are able to connect to the target server from the MPs of "it-beta" environment.

3. Also if you want to use different target servers in different environments, create Target servers in each of the environments. Please refer to this link for more details about Target Servers.

Thanks,

Amar

Updating IP address routing table made it work.....