Skip to content

Attached USB randomly detaches after some idle time #1228

@f1ow03

Description

@f1ow03

Hi!
This is my first time using this software and I noticed that after some random amount of time (when my PC idles) all attached usbs are getting detached. WSL keeps running, USBIPD service keeps running but usb devices are all detached. I have no idea where to start with this issue. Windows event viewer gives me this error:

Category: Usbipd.ConnectedClient
EventId: 3

An exception occurred while communicating with the client:

Exception:
System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine..
---> System.Net.Sockets.SocketException (10053): An established connection was aborted by the software in your host machine.
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError, CancellationToken) + 0x4b
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16) + 0xbf
at System.IO.Stream.d__46.MoveNext() + 0x82
--- End of stack trace from previous location ---
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16) + 0x46
at Usbipd.Tools.d__0.MoveNext() + 0xb8
--- End of stack trace from previous location ---
at Usbipd.Interop.UsbIp.d__17.MoveNext() + 0x123
--- End of stack trace from previous location ---
at Usbipd.AttachedClient.d__12.MoveNext() + 0x293
--- End of stack trace from previous location ---
at Usbipd.ConnectedClient.d__8.MoveNext() + 0x14a6
--- End of stack trace from previous location ---
at Usbipd.ConnectedClient.d__8.MoveNext() + 0x17bf
--- End of stack trace from previous location ---
at Usbipd.ConnectedClient.d__8.MoveNext() + 0x18f9
--- End of stack trace from previous location ---
at Usbipd.ConnectedClient.d__5.MoveNext() + 0x32f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions