Skip to content

Error code: Wsl/Service/E_UNEXPECTED #14014

@aidanhs

Description

@aidanhs

Windows Version

Microsoft Windows [Version 10.0.26200.7462]

WSL Version

WSL version: 2.6.1.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Linux version 6.6.87.2-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Work on C++ code in WSL for a while, maybe let the computer sleep and/or hibernate, while leaving a terminal open as well as an VScode-based editor connected to the WSL workspace.

Expected Behavior

Everything should continue working

Actual Behavior

Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED

This has happened three times over the past week. It can be fixed with a wsl --shutdown, but it's quite annoying that my editor session is and I have to close all of my terminals in my multiplexer to reboot wsl.

Probably a dupe of #13159.

Diagnostic Logs

Both of these logs say something about protocol errors in windows performance analyzer:

  • Protocol error: Received message size: 16, type: 3, sequence: 256. Expected type: 3, expected sequence: 257, channel: WslCorePort
  • Protocol error: Received message size: 16, type: 3, sequence: 10. Expected type: 3, expected sequence: 11, channel: WslCorePort

WslLogs-2026-01-03_01-12-48.zip
WslLogs-2025-12-27_23-35-43.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions