RDS 2012 R2 with 1 GW, 1 CB and 3 SH's. 2 collections and less than 10 users (at the moment). This happens to every user. So, what appears to be, once a day the GW becomes unresponsive. You can't login (it hangs at Please wait....). You can't stop the VM with stop-vm <vm-name>. No one can connect from external (get can not connect to computer). All i can do is turn off from hyper-v manager. Upon reboot, everyone can connect. Here windows logs->application:
Warning3/12/2016 2:46:06 AMASP.NET 4.0.30319.01309Web Event
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 3/12/2016 2:46:06 AM Event time (UTC): 3/12/2016 7:46:06 AM Event ID: 35e264785287416cbffae5de6d0edf3e Event sequence: 428 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/RDWeb/Feed-2-131022325701111364 Trust level: Full Application Virtual Path: /RDWeb/Feed Application Path: C:\Windows\Web\RDWeb\Feed\ Machine name: RDGateway Process information: Process ID: 4224 Process name: w3wp.exe Account name: IIS APPPOOL\RDWebAccess Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.PrepareRdpFile(String& rdp_contents, String fileExtension, String ts_name, String alias, String& rdp_file_url, String& rdp_file_name, DateTime requestTime) at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.ProcessPublishedApp(String alias, String name, String resourceFile, String fileExtension, Byte[] iconContents, UInt32 pceIconSize, Int32 resourceType, FileExtensionInfo[] fileAssociations, String[] folderNames, String securityDescriptor, ArrayList& apps, DateTime requestTime, UInt64 lastUpdateTime) at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime) at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason removedReason) at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason) Request information: Request URL: Request path: User host address: User: Is authenticated: False Authentication Type: Thread account name: IIS APPPOOL\RDWebAccess Thread information: Thread ID: 172 Thread account name: IIS APPPOOL\RDWebAccess Is impersonating: False Stack trace: at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.PrepareRdpFile(String& rdp_contents, String fileExtension, String ts_name, String alias, String& rdp_file_url, String& rdp_file_name, DateTime requestTime) at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.ProcessPublishedApp(String alias, String name, String resourceFile, String fileExtension, Byte[] iconContents, UInt32 pceIconSize, Int32 resourceType, FileExtensionInfo[] fileAssociations, String[] folderNames, String securityDescriptor, ArrayList& apps, DateTime requestTime, UInt64 lastUpdateTime) at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.GetFreshApps(DateTime requestTime) at Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor.OnCacheItemRemoved(String key, Object value, CacheItemRemovedReason removedReason) at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason) Custom event details:
Error3/11/2016 5:26:14 PMESENT455Logging/Recovery
svchost (3576) Error -1032 (0xfffffbf8) occurred while opening logfile C:\Windows\system32\LogFiles\Sum\Api.log
Warning3/12/2016 3:34:23 AMVSS31None
Volume Shadow Copy Service Warning: A writer with name System Writer and ID {e8132975-6f93-4464-a53e-1050253ae220} waited 4294967 seconds for in-progress calls to complete before shutting down.
Error3/12/2016 9:16:24 AMPerflib1008None
The Open Procedure for service "BITS" in DLL "C:\Windows\System32\bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code
Warning3/12/2016 9:19:21 AMWinlogon6005None
The winlogon notification subscriber <Profiles> is taking long time to handle the notification event (Logon).
Here is Microsoft-Windows-TerminalServices-Gateway/Admin:
Error3/5/2016 11:19:20 PMTerminalServices-Gateway523(4)
The connection authorization policy "RDG_CAP_AllUsers" could not be created. The following error occurred: "183".
But there is already a RDG_CAP_AllUsers.........
Error3/5/2016 11:19:21 PMTerminalServices-Gateway543(5)
The resource authorization policy (RAP) "RDG_AllDomainComputers" could not be created. The following error occurred: "183". To resolve this issue, ensure that you have configured RAP settings correctly and set the correct value and permissions for the RAP.xml file and the RAPStore registry key.
But this policy already exists.........
Here is Microsoft-Windows-TerminalServices-Gateway/Operational:
Nothing but information in here........
Here is Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin:
Warning3/12/2016 10:02:09 AMTerminalServices-RemoteConnectionManager20499None
Remote Desktop Services has taken too long to load the user configuration from server \\server.domain.com for user administrator
This appears to be from when the GW was in a non-responsive state according to the time stamp......
I scanned for viruses and nothing was found (used malwarebytes). Any ideas?