You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the latest code and version 6.7.0 have connection timeout, but I use the browser and use the same user password is normal access, has been unable to resolve.
java.lang.NullPointerException
at vmware.samples.common.authentication.VimAuthenticationHelper.logout(VimAuthenticationHelper.java:105)
at vmware.samples.common.SamplesAbstractBase.logout(SamplesAbstractBase.java:411)
at vmware.samples.common.SamplesAbstractBase.execute(SamplesAbstractBase.java:448)
at vmware.samples.vcenter.vm.list.ListVMs.main(ListVMs.java:128)
Exception in thread "main" com.vmware.vapi.client.exception.ConnectionException: https://172.23.3.105:443/api invocation failed with "org.apache.http.conn.ConnectTimeoutException: Connect to 172.23.3.105:443 [/172.23.3.105] failed: connect timed out"
at com.vmware.vapi.internal.protocol.client.rpc.http.HttpClient.send(HttpClient.java:188)
at com.vmware.vapi.internal.protocol.client.msg.json.JsonApiProvider.sendRequest(JsonApiProvider.java:186)
at com.vmware.vapi.internal.protocol.client.msg.json.JsonApiProvider.invoke(JsonApiProvider.java:539)
at com.vmware.vapi.internal.bindings.Stub.invoke(Stub.java:241)
at com.vmware.vapi.internal.bindings.Stub.invokeMethodAsync(Stub.java:191)
at com.vmware.vapi.internal.bindings.Stub.invokeMethod(Stub.java:137)
at com.vmware.cis.SessionStub.create(SessionStub.java:46)
at com.vmware.cis.SessionStub.create(SessionStub.java:37)
at vmware.samples.common.authentication.VapiAuthenticationHelper.loginByUsernameAndPassword(VapiAuthenticationHelper.java:73)
at vmware.samples.common.SamplesAbstractBase.login(SamplesAbstractBase.java:309)
at vmware.samples.common.SamplesAbstractBase.execute(SamplesAbstractBase.java:433)
at vmware.samples.vcenter.vm.list.ListVMs.main(ListVMs.java:128)
Environment
SDK version:
6.7.0 and 7.0.3.0
Java version:
1.8
vSphere version:
6.7.0
Steps or code snippet to reproduce
Actual behavior
Abnormal connection
Expected behavior
Normal connection
The text was updated successfully, but these errors were encountered:
Description
I use the latest code and version 6.7.0 have connection timeout, but I use the browser and use the same user password is normal access, has been unable to resolve.
java.lang.NullPointerException
at vmware.samples.common.authentication.VimAuthenticationHelper.logout(VimAuthenticationHelper.java:105)
at vmware.samples.common.SamplesAbstractBase.logout(SamplesAbstractBase.java:411)
at vmware.samples.common.SamplesAbstractBase.execute(SamplesAbstractBase.java:448)
at vmware.samples.vcenter.vm.list.ListVMs.main(ListVMs.java:128)
Exception in thread "main" com.vmware.vapi.client.exception.ConnectionException: https://172.23.3.105:443/api invocation failed with "org.apache.http.conn.ConnectTimeoutException: Connect to 172.23.3.105:443 [/172.23.3.105] failed: connect timed out"
at com.vmware.vapi.internal.protocol.client.rpc.http.HttpClient.send(HttpClient.java:188)
at com.vmware.vapi.internal.protocol.client.msg.json.JsonApiProvider.sendRequest(JsonApiProvider.java:186)
at com.vmware.vapi.internal.protocol.client.msg.json.JsonApiProvider.invoke(JsonApiProvider.java:539)
at com.vmware.vapi.internal.bindings.Stub.invoke(Stub.java:241)
at com.vmware.vapi.internal.bindings.Stub.invokeMethodAsync(Stub.java:191)
at com.vmware.vapi.internal.bindings.Stub.invokeMethod(Stub.java:137)
at com.vmware.cis.SessionStub.create(SessionStub.java:46)
at com.vmware.cis.SessionStub.create(SessionStub.java:37)
at vmware.samples.common.authentication.VapiAuthenticationHelper.loginByUsernameAndPassword(VapiAuthenticationHelper.java:73)
at vmware.samples.common.SamplesAbstractBase.login(SamplesAbstractBase.java:309)
at vmware.samples.common.SamplesAbstractBase.execute(SamplesAbstractBase.java:433)
at vmware.samples.vcenter.vm.list.ListVMs.main(ListVMs.java:128)
Environment
6.7.0 and 7.0.3.0
1.8
6.7.0
Steps or code snippet to reproduce
Actual behavior
Abnormal connection
Expected behavior
Normal connection
The text was updated successfully, but these errors were encountered: