Mar 192019
 
VMware Horizon View Logo

I noticed after upgrading to VMware Horizon View 7.8 and VMware Unified Access Gateway 3.5, when attempting to log in to a VMware Horizon View Connection Server via the Horizon Client, I would get stuck on “Authenticating”. If using the HTML client, it would get stuck on “Logging in”.

This will either timeout, or eventually (after numerous minutes) finally load. This occurs both with standard authentication, as well as 2FA/MFA/RADIUS authentication.

The Problem

Originally, I thought this issue was related to 2FA and/or RADIUS, however after disabling both, the issue was still present. In the VDM debug logs, you may find something similar to below:

2019-03-19T16:07:44.971-06:00 INFO  (1064-181C)  UnManagedMachineInformation Wake-on-LAN packet sent to machine comp.domain.com

2019-03-19T16:07:34.296-06:00 INFO (1064-17F0) UnManagedMachineInformation wait ended for startup update, returning false
2019-03-19T16:07:34.296-06:00 INFO (1064-17F0) UnManagedMachineInformation Could not wake up PM comp.domain.com within timeout

The Fix

The apparent delay “Authenticating” or “Logging In” is caused by a Wake On LAN packet being sent to an unmanaged physical workstation that has the VMware View Agent installed. This is occurring because the system is powered off.

After powering on all unmanaged View agents running on physical computers, the issue should be resolved.

  2 Responses to “VMware Horizon View stuck on Authenticating after logging in”

  1. Hello,

    I happened to find your post while searching for information on the exact same issue with version 7.8. We install the View Agent on several physical machines as part of a DR solution. The fix you described also resolves the issue for us. So thank you very much for sharing that information! That being said, the fact that an unmanaged machine(s) that happens to be powered off or having an issue responding gets in the way of authenticating to View and ultimately connecting to a different machine seems like more of a bug to me. I’m considering opening an SR with VMware.

  2. Glad it helped!

    I agree, this shouldn’t be happening. I tried to notify VMware via Twitter, but didn’t hear back.

    I noticed in the logs that it’s sending a Wake On LAN packet, which makes sense, but instead of waiting, it should proceed and just mark the Horizon target as unavailable until it comes online.

    Either way, glad the post was read!

    Cheers!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)