Hi,
We are planning to retire F5 load balancer and trying to implement load balancer future within apigee/google. I created 2 http targets with user defined port, however apigee is appending port 80.I tried to change the port but no luck.
Can someone guide me with correct direction with possible solution.
The issue you’re facing is almost always caused by a <URL> tag in your TargetEndpoint configuration. When the <URL> tag is present, it takes precedence over the <LoadBalancer> configuration, causing Apigee to ignore the host and port defined in your TargetServers.
The Problem: <URL> Overrides Your Configuration
When your HTTPTargetConnection looks like the example below, Apigee will connect to http://some-hostname, which defaults to port 80 for HTTP, completely ignoring your load balancer settings.
To fix this, you must remove the <URL> tag and instead define only the resource path using the <Path> tag. This tells Apigee to get the host and port information from your TargetServer definitions.
I just verfied. SSL is disabled and 7171 port is a http port. it is not appending 7171 to the target url instead it is http://hostname/mvisv2/uv/sub573/tmww/
Your backend requires an HTTPS connection, but your TargetServers in Apigee are likely configured for plain HTTP. When a TargetServer in Apigee is not configured for SSL, Apigee attempts to make a plain HTTP connection. In that case, it often ignores the specified custom port and defaults to the standard HTTP port, which is 80. This explains exactly the behavior you are seeing.
our backend port is 7171 and it is not https enabled. it is a plain custom http port. inside target server configuration, I have disabled ssl and configured custom port however by default it is taking 80 port.
In that case my recommendation here would be to look through all your configurations and see if you are able to find were the endpoint is being set incorrectly. A good place to start would be < AssignMessage > or < Javacript > policies.