Skip to content

Fix installer telemetry silently dropped by TLS 1.0 handshake failure - #972

Merged
albertospelta merged 1 commit into
mainfrom
alberto/fix-wix-CA-telemetry
Sep 3, 2026
Merged

Fix installer telemetry silently dropped by TLS 1.0 handshake failure#972
albertospelta merged 1 commit into
mainfrom
alberto/fix-wix-CA-telemetry

Conversation

@albertospelta

Copy link
Copy Markdown
Member

The installer custom actions stopped sending telemetry when the Application Insights ingestion endpoint dropped support for TLS 1.0 and 1.1. The custom action runs inside the native SfxCA host with no managed entry assembly, so the CLR applies the .NET Framework 4.0 compatibility quirks regardless of the assembly target framework and ServicePointManager.SecurityProtocol defaults to SSL 3.0 and TLS 1.0 only. The endpoint closes the connection during the handshake, the SDK catches the exception inside InMemoryTransmitter and reports it only through its own EventSource, and Flush() returns cleanly: the MSI log showed TrackEvent as executed while no event was ever delivered.

Helpers now enables TLS 1.2 before creating the TelemetryClient.

Bravo.Installer.Wix.CA.dll in installer/wix/src/assets is rebuilt from these sources.

The installer custom actions stopped sending telemetry when the Application Insights ingestion endpoint dropped support for TLS 1.0 and 1.1. The custom action runs inside the native SfxCA host with no managed entry assembly, so the CLR applies the .NET Framework 4.0 compatibility quirks regardless of the assembly target framework and ServicePointManager.SecurityProtocol defaults to SSL 3.0 and TLS 1.0 only. The endpoint closes the connection during the handshake, the SDK catches the exception inside InMemoryTransmitter and reports it only through its own EventSource, and Flush() returns cleanly: the MSI log showed TrackEvent as executed while no event was ever delivered.

Helpers now enables TLS 1.2 before creating the TelemetryClient.

Bravo.Installer.Wix.CA.dll in installer/wix/src/assets is rebuilt from these sources.
@albertospelta
albertospelta merged commit 6a72460 into main Sep 3, 2026
2 checks passed
@albertospelta
albertospelta deleted the alberto/fix-wix-CA-telemetry branch September 3, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant