VMware Horizon Community
HallJ0816
Enthusiast
Enthusiast

VMs not showing up in Online Entities

Has anyone encounter issue were a VM running 2.18.6 agent wasnt showing up in Online Entities page? Even though the VM is powered and has an IP AppVol Manager Version - 2.18.0 VM - Windows 10 1909 Running VDI agent - Citrix Virtual desktop 1912

0 Kudos
3 Replies
Ray_handels
Virtuoso
Virtuoso

I haven't worked with Citrix and Appvolumes zo it could well be this but no idea to be honest.

Only thing I can think of is are these machines domain members? If not they don't show up as active in Appvolumes manager.

You do see the machines in Appvolumes but in Offline mode? What happens if you log into the machine and check the svservce.log file? Normally the reason why Appvolumes cannot connect to the manager should be in there.

0 Kudos
HallJ0816
Enthusiast
Enthusiast

This is what I pulled from Log on one of the VMs that didnt show up in Online Entities

[2020-10-08 23:59:54.605 UTC] [svservice:P2576:T2808] Computer UUID (Microsoft format): 26792D42-A638-5932-389F-E7074468FEF7 [2020-10-08 23:59:54.605 UTC] [svservice:P2576:T2808] Computer UUID (VMware format): 422d7926-38a6-3259-389f-e7074468fef7 [2020-10-08 23:59:54.605 UTC] [svservice:P2576:T2808] Initializing HTTP session [2020-10-08 23:59:54.605 UTC] [svservice:P2576:T2808] Initializing HTTP connection [2020-10-08 23:59:54.605 UTC] [svservice:P2576:T2808] Choosing a manager out of 1 configured manager(s) [2020-10-08 23:59:54.621 UTC] [svservice:P2576:T2808] IsDomainJoinedComputer: NetGetJoinInformation() success, domain name ENT and type is 3 [2020-10-09 00:00:02.918 UTC] [svservice:P2576:T2828] OnCreateSession called (Session ID 1, Handle 0000023FEA4126A0, Params 00000054972FE5D0, Context 0000000000000000) [2020-10-09 00:00:29.983 UTC] [svservice:P2576:T2808] Pre-startup URL: /pre-startup?name=svservice&status=0&uuid=422d7926-38a6-3259-389f-e7074468fef7&osver=10.0.18362&sp=0.0&suite=256&product=1&arch=9&proc=2&agentver=2.18.6.15U&domain=ENT&workstation=I04BMC-ACL6015&ip=172.28.160.9&time=2020-10-09%2000:00:29.983%20UTC&machinesid=S-1-5-21-1420125634-892717805-1673300376 [2020-10-09 00:00:29.983 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 1) [2020-10-09 00:00:29.999 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:00:29.999 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:00:41.999 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:00:41.999 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:00:41.999 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 12 seconds out of 300 max) [2020-10-09 00:00:47.014 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 2) [2020-10-09 00:00:47.014 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:00:47.014 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:00:57.999 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:00:57.999 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:00:57.999 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 28 seconds out of 300 max) [2020-10-09 00:01:03.015 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 3) [2020-10-09 00:01:03.015 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:01:03.015 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:01:13.999 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:01:13.999 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:01:13.999 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 44 seconds out of 300 max) [2020-10-09 00:01:19.000 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 4) [2020-10-09 00:01:19.000 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:01:19.000 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:01:30.002 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:01:30.002 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:01:30.002 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 60 seconds out of 300 max) [2020-10-09 00:01:35.018 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 5) [2020-10-09 00:01:35.018 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:01:35.018 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:01:46.004 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:01:46.004 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:01:46.004 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 76 seconds out of 300 max) [2020-10-09 00:01:51.006 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 6) [2020-10-09 00:01:51.006 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:01:51.006 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:02:02.008 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:02:02.008 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:02:02.008 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 92 seconds out of 300 max) [2020-10-09 00:02:07.009 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 7) [2020-10-09 00:02:07.009 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:02:07.009 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:02:18.012 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002). [2020-10-09 00:02:18.012 UTC] [svservice:P2576:T2808] HttpInitializeRequest: WinHttpSendRequest failed: timeout [2020-10-09 00:02:18.012 UTC] [svservice:P2576:T2808] HttpInitializeRequest: Retrying in 5 seconds (waited 108 seconds out of 300 max) [2020-10-09 00:02:23.013 UTC] [svservice:P2576:T2808] [0] Connecting to LoadBalance(FQDN):443 using HTTPS (attempt 😎 [2020-10-09 00:02:23.013 UTC] [svservice:P2576:T2808] ProcessNTLMType1Buffer: NTLM Type 1: domain: [], workstation: [] version (10.0.18362 ntlm ver 15) [2020-10-09 00:02:23.013 UTC] [svservice:P2576:T2808] WinHttpAddSessionCookies: No stored session cookies to add. [2020-10-09 00:02:34.000 UTC] [svservice:P2576:T2808] WinHttpSendRequestWithSSLCertValidation: WinHttpSendRequest failed (error 12002).

I found another post and recommendation was to add the individual appvolume managers behind the Load Balance VIP into agent register as additional managers that it can communicate to. But it wasn't an confirmed fix Do you have any other suggestions or has anyone else encounter those errors before

0 Kudos
Ray_handels
Virtuoso
Virtuoso

Check this info, was posted by VentziP​ in another thread, helped me with the 4.1 agent connection issue.

I got my issue resolved. It was related to NTLM authentication and cookie invalid session error.

1. make sure that you have in your LB the persistent profile to use Source IP.

2. In APPvol Manager in Configuration under Advanced Settings I turn on Disable Agent Session Cookies

519836_519836.pngpastedImage_0.png

3. Use this KB to disable NTLM on both managers

VMware Knowledge Base

4. restart services

After that I can connect without any errors using the LB.

I hope that will help.