ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
36 stars 4 forks source link

WebSocket Health Check Fails in PowerShell Universal with IIS Integration #3404

Closed RubenT91 closed 3 months ago

RubenT91 commented 4 months ago

Summary of the new feature / enhancement

When integrating PowerShell Universal with IIS, the health check for the WebSocket feature fails. This issue appears to be related to permissions or configuration settings, particularly when attempting to clear a specific WebSocket class. The failure does not impact the core functionality but affects notification-related features.

Proposed technical implementation details (optional)

To ensure seamless integration and functionality of PowerShell Universal with IIS, we need to:

  1. Identify and document the necessary configuration settings and permissions for enabling WebSocket Protocol in IIS.
  2. Update the health check mechanism to handle scenarios where WebSocket configuration might not be straightforward.
  3. Provide clear guidance in the documentation to prevent similar issues for other users.

Proposed Technical Implementation Details:

Investigation:

Configuration and Permissions:

Documentation Update:

adamdriscoll commented 3 months ago

I've updated the docs: https://docs.powershelluniversal.com/platform/health-checks#iis-websocket

I've also updated the health check to give a clearer error message.