Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

virgo localhost for sdk 6.5 gives time sync error in logs

$
0
0

Hi,

 

To configure virgo server with any vCenter did the following:

For windows copied the webclient.properties, ds, store,jks in vsphere-client/cfg as in the documentation of 6.5

for VCSA followed the fully automated part of the documentation and webclientproperties got genereated in vsphere-clent/cfg.

started the server by running startup.bat in html-clientsdk/vpshere-client/server/bin/startup.bat

Checked the logs -it has the error:

<code>c.vmware.vise.vim.connections.SiteAffinityServerEndpointProvider  CDC is misconfigured. Will not use CDC. java.lang.UnsatisfiedLinkError: no libcdcjni in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)

at java.lang.Runtime.loadLibrary0(Runtime.java:849)

at java.lang.System.loadLibrary(System.java:1088)

at com.vmware.identity.cdc.CdcAdapter.<clinit>(CdcAdapter.java:18)

at com.vmware.identity.cdc.CdcSession.<init>(CdcSession.java:37)

at com.vmware.identity.cdc.CdcFactory.createCdcSessionViaIPC(CdcFactory.java:39)

at com.vmware.vise.vim.connections.SiteAffinityServerEndpointProvider.getCdcData(SiteAffinityServerEndpointProvider.java:201)

at com.vmware.vise.vim.security.sso.impl.SsoCmLocatorImpl.getCdcDataNoException(SsoCmLocatorImpl.java:111)

[ERROR] cm-catalog-manager-pool-5     com.vmware.vim.sso.client.impl.SoapBindingImpl                    SOAP fault javax.xml.ws.soap.SOAPFaultException: The time now Mon Jun 19 13:35:22 IST 2017 does not fall in the request lifetime interval extended with clock tolerance of 600000 ms: [ Mon Jun 19 03:28:08 IST 2017; Mon Jun 19 03:58:08 IST 2017). This might be due to a clock skew problem.

at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)

at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:117)

at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:184)

at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:203)

at com.vmware.vim.sso.client.impl.SoapBindingImpl.sendMessage(SoapBindingImpl.java:161)

at com.vmware.vim.sso.client.impl.SoapBindingImpl.sendMessage(SoapBindingImpl.java:114)

at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.sendRequest(SecurityTokenServiceImpl.java:784)

at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.executeRoundtrip(SecurityTokenServiceImpl.java:714)

at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl.acquireTokenByCertificate(SecurityTokenServiceImpl.java:473)

 

 

 

 

 

[ERROR] cm-catalog-manager-pool-5     com.vmware.vise.vim.security.sso.impl.SsoUtilInternal             Time sync error: VC Server and local machine's clocks are out of sync by more than the accepted tolerance. 

[2017-06-18T15:08:09.233-07:00] [ERROR] cm-catalog-manager-pool-5     com.vmware.vise.vim.security.sso.impl.NgcSolutionUser             Solution user login failed. com.vmware.vim.sso.client.exception.TimeSynchronizationException: Server returned 'request expired' less than 0 seconds after request was issued, but it shouldn't have expired for at least 600 seconds.

at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.checkTimeSyncronization(SecurityTokenServiceImpl.java:758)

at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.executeRoundtrip(SecurityTokenServiceImpl.java:716)

at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl.acquireTokenByCertificate(SecurityTokenServiceImpl.java:473)

at com.vmware.vise.vim.security.sso.impl.SsoUtilInternal.acquireTokenByCertificate(SsoUtilInternal.java:716)

at com.vmware.vise.vim.security.sso.impl.NgcSolutionUser.login(NgcSolutionUser.java:229)

 

</code>

c.vmware.vise.vim.connections.SiteAffinityServerEndpointProvider  CDC is misconfigured. Will not use CDC. java.lang.UnsatisfiedLinkError: no libcdcjni in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.vmware.identity.cdc.CdcAdapter.<clinit>(CdcAdapter.java:18)
at com.vmware.identity.cdc.CdcSession.<init>(CdcSession.java:37)
at com.vmware.identity.cdc.CdcFactory.createCdcSessionViaIPC(CdcFactory.java:39)
at com.vmware.vise.vim.connections.SiteAffinityServerEndpointProvider.getCdcData(SiteAffinityServerEndpointProvider.java:201)
at com.vmware.vise.vim.security.sso.impl.SsoCmLocatorImpl.getCdcDataNoException(SsoCmLocatorImpl.java:111)
[ERROR] cm-catalog-manager-pool-5     com.vmware.vim.sso.client.impl.SoapBindingImpl                    SOAP fault javax.xml.ws.soap.SOAPFaultException: The time now Mon Jun 19 13:35:22 IST 2017 does not fall in the request lifetime interval extended with clock tolerance of 600000 ms: [ Mon Jun 19 03:28:08 IST 2017; Mon Jun 19 03:58:08 IST 2017). This might be due to a clock skew problem.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:117)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:184)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:203)
at com.vmware.vim.sso.client.impl.SoapBindingImpl.sendMessage(SoapBindingImpl.java:161)
at com.vmware.vim.sso.client.impl.SoapBindingImpl.sendMessage(SoapBindingImpl.java:114)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.sendRequest(SecurityTokenServiceImpl.java:784)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.executeRoundtrip(SecurityTokenServiceImpl.java:714)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl.acquireTokenByCertificate(SecurityTokenServiceImpl.java:473)
 
 
 
 
 
[ERROR] cm-catalog-manager-pool-5     com.vmware.vise.vim.security.sso.impl.SsoUtilInternal             Time sync error: VC Server and local machine's clocks are out of sync by more than the accepted tolerance. 
[2017-06-18T15:08:09.233-07:00] [ERROR] cm-catalog-manager-pool-5     com.vmware.vise.vim.security.sso.impl.NgcSolutionUser             Solution user login failed. com.vmware.vim.sso.client.exception.TimeSynchronizationException: Server returned 'request expired' less than 0 seconds after request was issued, but it shouldn't have expired for at least 600 seconds.
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.checkTimeSyncronization(SecurityTokenServiceImpl.java:758)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.executeRoundtrip(SecurityTokenServiceImpl.java:716)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl.acquireTokenByCertificate(SecurityTokenServiceImpl.java:473)
at com.vmware.vise.vim.security.sso.impl.SsoUtilInternal.acquireTokenByCertificate(SsoUtilInternal.java:716)
at com.vmware.vise.vim.security.sso.impl.NgcSolutionUser.login(NgcSolutionUser.java:229)

Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>