Skip to content

WorkSpace stuck in STARTING / Unhealthy

0

Hi,

I'm experiencing an intermittent issue where a WorkSpace gets stuck after waking up from AutoStop mode. The issue does not happen every time.

Environment:

  • Protocol: WSP (DCV)
  • Running Mode: AutoStop
  • OS: Windows Server 2022
  • Directory: Microsoft AD

Symptoms:

  • Authentication completes successfully (port 443 works)
  • After authentication, the Windows WorkSpaces client shows a gray loading screen indefinitely — no error message appears
  • WorkSpace state in console: STARTING, Connection State: UNKNOWN
  • After a manual Reboot from the console: state changes to Unhealthy

What I've checked:

  • No AWS Health events open for WorkSpaces in the region
  • No error messages in the WorkSpaces console
  • Resource utilization is within normal range (CPU, Memory, Disk)
  • Outbound traffic is fully open on both attached security groups
  • Issue is intermittent — does not happen on every AutoStop wake-up

AWS documentation reference: According to the WorkSpaces troubleshooting docs, this symptom pattern (auth succeeds, streaming fails, gray loading screen) indicates that port 443 works but the DCV streaming connection on port 4195 (TCP/UDP) is failing. The doc suggests either:

  1. A client-side firewall/proxy blocking port 4195
  2. A Windows Firewall rule inside the WorkSpace blocking UDP 4195 on the management interface

Questions:

  1. Given that the WorkSpace is now Unhealthy even after a Reboot, is this still likely a port 4195 issue, or does Unhealthy indicate something deeper (e.g. WorkSpace agent, internal service failure)?
  2. Is there a way to inspect Windows Firewall or WorkSpaces agent logs without being able to connect to the WorkSpace?
  3. Is there a CloudWatch metric or log that can detect the Unhealthy state automatically and trigger a Reboot or alert?
  4. Is this a known intermittent issue with DCV/WSP and AutoStop in specific regions?

Thanks

asked 2 months ago144 views

1 Answer
0

When a WorkSpace becomes stuck in STARTING and then transitions to Unhealthy after a reboot, this indicates the WorkSpace is not responding to health checks. While your initial troubleshooting around port 4195 is relevant for the streaming connection issue, the Unhealthy state suggests a more fundamental problem with the WorkSpace itself rather than just network connectivity.

Regarding your specific questions:

  1. The Unhealthy state indicates the WorkSpace is failing health checks, which points to issues beyond just port 4195. Common causes include applications blocking network connections, high CPU utilization (though you've ruled this out), a changed computer name, or critical services not running properly—particularly the SkyLightWorkspaceConfigService, which is essential for WorkSpace operation.

  2. Unfortunately, when a WorkSpace is in an Unhealthy state and unreachable, your options for inspection are limited. If you cannot connect via the WorkSpaces client, you could try connecting through RDP as an alternative protocol to access the WorkSpace and check Windows Firewall rules and service status. However, if the WorkSpace is completely unreachable by any protocol, you may need to rebuild it.

  3. For the Unhealthy state specifically, you should verify that the SkyLightWorkspaceConfigService is running. Additionally, ensure Windows Firewall and any third-party firewalls have rules allowing inbound and outbound traffic on the required ports. If your firewall uses stateless filtering, you'll also need to open ephemeral ports 49152-65535 for return communication.

  4. If rebooting doesn't resolve the issue and the WorkSpace remains unreachable, rebuilding the WorkSpace from the Amazon WorkSpaces console is the recommended next step. This will restore the WorkSpace to a healthy state while preserving user data on the D: drive.

For the intermittent nature of this issue with AutoStop, I'd recommend ensuring all Windows updates are current and that no third-party security software is interfering with the WorkSpace agent or required services during the wake-up process.
Sources
Troubleshooting a Windows WorkSpace marked as unhealthy - Best Practices for Deploying WorkSpaces
Troubleshoot WorkSpaces client issues - Amazon WorkSpaces
Workspace - Amazon WorkSpaces Service

answered 2 months ago

AWS
SUPPORT ENGINEER

reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.