When attempting to add vCenter to vRanger Inventory, it fails with "Error in remote server (502) Bad Gateway"
The proxy is the issue here.
It needs the user/service to authenticate correctly before it will be let pass.
So either the service account does not have permissions to access through the proxy or the proxy is not configured to point to local websites. (vRanger connects through the vCenter website: Port 443)
Please do the following:
1. Login to the vRanger Server as the same user that the vRanger Service is credentialed with.
2. Go to Internet Explorer on the vRanger machine also, Tools - Internet Options - LAN settings - Untick 'Use a proxy server for your LAN'
3. Reattempt to add the VC to your vRanger Inventory