Skip to content

wsl-pro-service : WARNING Daemon: could not connect to Windows Agent: could not get address #12992

@mazouab

Description

@mazouab

Windows Version

Microsoft Windows [version 10.0.19045.5854]

WSL Version

2.4.13.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.167.4-1

Distro Version

Ubuntu 24.04

Other Software

Hello,

I'm having this issue with my WSL, that causes it to crash.

There was a precedent issue, that has no response : #12433.

I have these logs in syslog, from the WSL :

2025-05-28T10:46:54.350178+02:00 MY-LAPTOP wsl-pro-service[9072]: INFO Reconnecting to Windows host in 60 seconds
2025-05-28T10:46:54.350220+02:00 MY-LAPTOP wsl-pro-service[9072]: DEBUG Updated systemd status to "Not connected: waiting to retry"
2025-05-28T10:47:54.410258+02:00 MY-LAPTOP wsl-pro-service[9072]: INFO Daemon: connecting to Windows Agent
2025-05-28T10:47:54.410457+02:00 MY-LAPTOP wsl-pro-service[9072]: DEBUG Updated systemd status to "Connecting"
2025-05-28T10:47:54.411007+02:00 MY-LAPTOP wsl-pro-service[9072]: WARNING Daemon: could not connect to Windows Agent: could not get address: could not read agent port file "/mnt/c/Users/MY-USER/.ubuntupro/.address": open /mnt/c/Users/MY-USER/.ubuntupro/.address: no such file or directory
2025-05-28T10:47:54.411043+02:00 MY-LAPTOP wsl-pro-service[9072]: INFO Reconnecting to Windows host in 60 seconds
2025-05-28T10:47:54.411058+02:00 MY-LAPTOP wsl-pro-service[9072]: DEBUG Updated systemd status to "Not connected: waiting to retry"

Repro Steps

less /var/log/syslog

Expected Behavior

No crash, and no error logs.

Actual Behavior

WSL crashes, and logs.

Diagnostic Logs

No response

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