vCenter Client 6 inventory search fails with “Login to the query service failed”

Ok, the next bug after upgrading from VMware vCenter Server 5.5 to vSphere 6.0 Update 2, great.

When I try to search for virtual machines with the vSphere Client 6, the following error occures and the search fails:

The server could not interpret the communication from the client. (The remote server returned an error: (500) Internal Server Error

vSphere Client search error
This only happens when I use the checkbox “Use Windows session credentials” during login to the vSphere Client. If I uncheck the box and type in the necessary credentials, everything works fine. By the way, the error does not occure when using the Webclient.

use windows session credentials

There is a VMware KB describing this situation. It is a known issue affecting vCenter Server and vCenter Server Appliance. According to the KB the issue already exists since vCenter Server Appliance Version 5.0.x.

VMware KB 2063020:
Searching the inventory in the vSphere Client fails with the error: Login to the query service failed (2063020)

6 Comments

  1. Pingback: How to upgrade your vCenter to 6.0 Update 2

  2. Mohammed Kazi

    Hi Andreas,

    Thank You !!..its work when I removed the check mark…but previously this was not the issue, why its now and what is solution to get searched with check mark enable…
    Is that reason because of vcenter 6 and esxi 5.1 ??

  3. Rajasekar Rajamanickam

    Yeah ! Absolutely it is working fine if you uncheck the options.

  4. Mike

    Just another way of forcing you to use the web interface.

  5. Roman Fischer

    We have the same Issue after Upgrading vom vCenter 5.5 to 6.0.
    It worked before using session credentials.

    It’s great VMware published a KB article stating “This is an expected behavior”, but this seems like a bug to me, and not “expected behaviour”…

    Here’s the link to KB 2143566:
    https://kb.vmware.com/kb/2143566

  6. Fred

    my enviroments meet a strange problem, I input the username and password, and I can search the vm, but when I create a new VM, I cannot search it until reboot the inventory service either by vsphere client or vsphere web client. the vcenter is upgrade from 5.5 to 6.0 in windows. Do you have any advise?

Leave a Comment

Your email address will not be published. Required fields are marked *