Good afternoon all
Im getting an Exception, 'Unexpected status code: 400' error when trying to add a host to my vco installation.
Host: vCenter IP
Port: 443
Secure Channel is checked
Path: /sdk
Session Per User (I've also tried
Domain: corp.domain.com
Connection Test = Success
Username/Password = Same used for connection test.
Im running VCenter 5.1.0 and vCO_VA-5.1.0.0-817595
Any help would be greatly appreciated...
Graham
Have you imported the certificate of the vCenter server first ?
Have you tried to replace the hostname with the IP address ?
Thanks for the reply,
Sorry for the delay but I thought I'd replied from my brickberry on Friday and just realised it hadn’t sent...
I have tried by IP and also ensured that the vCenter certificate is installed correctly as is the sso certs, there is also nothing in the logs to indicate what the issue is... I'm currently at a loss as to what the root cause is :smileyconfused:
I've also ensured there is no firewall or port issues...
Regards
Graham
Hi Graham
Do you have solution for this problem I have a same issues
Hi,
Looks like I am facing the same issue !
Were you able fix this issue ?
regards,
Kevin
Are the times of vCenter/SSO and vCO synchronized?
Because this may cause the issue you have.
Regards
Ivan
Hi Ivan,
Yup, they are - In fact at first I had the VCO installed on the same box as the Vcenter/SSO. since it was giving this error, I de-installed and setup the appliance. and the same error persists.
regards,
Kevin
I have had the same problem with applaince, but in my case I had a firewall between appliance and the vCenter. So we open TCP ports, that didn't resolve problem but after opening UDP ports that fixed problem straight away
UP, I 've the same problem.
NTP : OK
certificates: OK
vCenter 5.1.1
vCO applaince: 5.1.1
No firewall
Works with my first vCenter, but not not with the second, error 400. vCenter are identical, same architecture, same version.
I don't understand why. I tried with http on second vCenter, but error 301.
Do you think i can purge configuration about the second vcenter in vCO ? (not just delete server), delete all information in vCO ?
Any help would be greatly appreciated...
Error detail:
com.vmware.vim.vmomi.client.common.UnexpectedStatusCodeException: Unexpected status code: 400
at com.vmware.vim.vmomi.client.common.Response$Status.getStatus(Response.java:59)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126)
at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:526)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:507)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeFetch(MethodInvocationHandlerImpl.java:287)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:165)
at sun.proxy.$Proxy47.getContent(Unknown Source)
at com.vmware.vmo.plugin.vi4.config.VlsiHelper.getServiceInstanceContent(VlsiHelper.java:226)
at com.vmware.vmo.plugin.vi4.config.VlsiHelper.login(VlsiHelper.java:174)
at com.vmware.vmo.plugin.vi4.config.VlsiHelper.<init>(VlsiHelper.java:137)
at com.vmware.vmo.plugin.vi4.config.ConnectionTester.call(ConnectionTester.java:117)
at com.vmware.vmo.plugin.vi4.config.ConnectionTester.call(ConnectionTester.java:18)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Problem solved for me with KB
I use an another port than 80 for my vCenter, that's the problem. And my vCO is an upgrade of 5.1.0 version...
Can you check vc http port whether it is with the default value of 80 or it was changed. In vc plugin for vco 5.1.1 there is a configuration option to set a different http port for connection to vcenter.
Hi dvatov, that's exactly the problem, and the solution is described in KB. (see my previous message)
regards,