Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

"Authentication required" error when pairing cloud sites in vCloud Availability 3.x (71370)

Last Updated: 8/26/2019Categories: TroubleshootingTotal Views: 15591Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

When you pair cloud sites in the vCloud Availability Provider Portal, the task fails and you see the following error:

Authentication required.

When you repair cloud sites in the vCloud Availability Provider Portal, the task fails and you see the following error on the remote site entry:

Certificate differs from the expected one.

In /opt/vmware/h4/cloud/log/cloud.log on the vCloud Availability vApp Replication Manager, you may see similar messages:

2019-08-26 14:37:09.484 DEBUG - [UI__2766ee5a-8f91-45d8-b913-2fa4c162b973_Dn_p2] [job-59] com.vmware.h4.jobengine.JobExecution     : Task 702be530-5758-44f0-8a7c-39fe9599508c (WorkflowInfo{type='pair', resourceType='site', resourceId='Provider-Site', isPrivate=false, resourceName='Service Provider Site'}) completed with result VcloudSiteInfo{apiPublicUrl='null', isLocal=false, state=PeerState{incomingCommError=null, outgoingCommError=ApiError{code='RemoteAuthenticationFailure', msg='Authentication failure.', args=[], stacktrace='com.vmware.h4.cloud.api.exceptions.RemoteAuthenticationFailureException: Authentication failure.
at com.vmware.h4.cloud.peer.client.PeerCloudFactory.lambda$initErrorDeserializer$0(PeerCloudFactory.java:59)
at com.vmware.rest.client.AbstractRestClient.convert(AbstractRestClient.java:208)
at com.vmware.rest.client.json.RestClient.exchange(RestClient.java:103)
...

2019-08-26 14:47:34.011 ERROR - [UI__6049e825-796f-40ed-ac02-e63733894733_Ez] [https-jsse-nio-8443-exec-10] c.v.h.c.c.error.ExceptionAdvisorBase     : A GET request from root[172.17.195.110] to /vm-replications/summary?sourceSiteType=vcloud&destinationSiteType=vcloud&site=Tenant-Site failed.

com.vmware.exception.CertificateMismatchException: java.security.cert.CertificateException: Certificate seen on the network differs from the certificate we expected
at com.vmware.exception.converter.ClientExceptionConverter.convertException(ClientExceptionConverter.java:50)
at com.vmware.rest.client.AbstractRestClient.genericExchange(AbstractRestClient.java:146)
at com.vmware.rest.client.json.RestClient.exchange(RestClient.java:96)
...

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Cause

This issue can occur when the administrative API session that is used to pair the sites is unable to authenticate because the source IP is not trusted. This can happen because administrative API access is restricted by default from vCloud Availability 3.0.1 onwards.

Resolution

To resolve this issue, you can temporarily disable administrative API session restrictions based on source IP in vCloud Availability.

For each vCloud Availability site, perform the following steps:

Log in to the vCloud Availability Provider Portal.

In the left pane, click Configuration.

Under Security settings, next to Restrict Admin APIs by source IP click Edit.

In the Restrict Admin APIs by source IP window, select Allow admin access from anywhere and click Apply.

With the administrative APIs allowed from anywhere, pair the sites as per the following steps:

In one site, log into the vCloud Availability Provider Portal.

In the left pane, click Sites.

On the Cloud sites page, click New Pairing.

In the New Pairing window, configure the connection to the cloud site, and click Pair.

To complete the pair process, accept the remote vCloud Availability vApp Replication Manager SSL certificate.

Note: Once the sites are successfully paired, the Restrict Admin APIs by source IP setting can be reversed.

Related Information

For more information on how to pair sites, see the Pair Cloud Sites section of the vCloud Availability documentation.

For more information on restricting admin APIs by source IP, see the Restrict Public Administrative Access to vCloud Availability section of the vCloud Availability documentation.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
安装应用程序远程收集器代理失败，并显示“虚拟机引导失败 (Bootstrap Failed for VM)” (71299)

KB
•
VMware Tools バージョン 10.3.10 を使用した Debian 10 の guestId、guestFamily、guestFullName が正しくない (71306)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
VeloCloud Gateway (VCG) の用途と回復性 (71374)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCloud Availability

Related Versions:

VMware vCloud Availability 3.0.x

Take Our Survey

Support Assistant