Subscribers to the vCenter Server content library may encounter an error when attempting to connect to the Publisher URL. The error message displayed is:
"The remote library is not reachable".
The issue occurs when a proxy is enabled on the Source vCenter Server Appliance (VCSA), preventing the connection from reaching the destination vCenter Server.
Exclude the destination vCenter Server Appliance (VCSA) from being routed through the proxy server using the following steps below:
SSH into the vCenter Server Appliance:
Navigate to the Proxy Configuration Directory:
cd /etc/sysconfigvi proxy
4. Exclude the Destination VCSA from Proxy Routing:
Find the NO_PROXY option within the file.
Modify the NO_PROXY entry to include the Fully Qualified Domain Name (FQDN) and IP address of the destination vCenter Server Appliance.
Example syntax for the NO_PROXY setting:
NO_PROXY="localhost, 127.0.0.1, vc.example.com, <ip-address>" 5. Save the Changes and Exit:
6. Restart the vCenter Server Appliance (Optional):
Update /var/lib/vmware-envoy-system-proxy/config.json file with the correct settings. Leave any irrelevant PROXY entries blank. Add comma-separated entries to the NO_PROXY line as needed.
Important: Do NOT update the /etc/sysconfig/proxy file.
{ "http_proxy": { "scheme": "<the proxy url schema>", // example: http "host": "<the proxy url host>", // example: example.com, 123.123.123.123, subdomian.example.com "port": <port if any else null>, "username": "<username of the proxy credential if any else null>", "password": "<password of the proxy credential if any else null>" }, // if exists or null "https_proxy": { "scheme": "<the proxy url schema>", // example: http, https "host": "<the proxy url host>", // example: example.com, 123.123.123.123, subdomian.example.com "port": <port if any else null>, "username": "<username of the proxy credential if any else null>", "password": "<password of the proxy credential if any else null>" }, // if exists or null, "ftp_proxy": { "scheme": "<the proxy url schema>", // example: ftp "host": "<the proxy url host>", // example: example.com, 123.123.123.123, subdomian.example.com "port": <port if any else null>, "username": "<username of the proxy credential if any else null>", "password": "<password of the proxy credential if any else null>" }, // if exists or null "no_proxy": ["<comma separated values if any else leave as is>"]}
If copied, ensure removal of '// example' sections and white space.
Service restart is not needed.
The above must be in valid JSON format