MWB loosing connection repeatively
Microsoft PowerToys version
0.81.1
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
Hello, just fresh installed latest version on my 2 computers and I'm loosing connection every few seconds . Tried to setup as a service but no change. Firewall and AV exceptions set on both computers
Tried to change many settings , no change Both computers run W11 with May update, on same Private Wifi.
✔️ Expected Behavior
No loss of connection
❌ Actual Behavior
06/06 11:19:57.285(44)New connection from client: [OrlithDT]. [11:19:57.2867862] [Info] SocketStuff::TcpSendData 06/06 11:19:57.286(78)SendOrReceiveARandomDataBlockPerInitialIV: Exception writing to the socket stream: System.Net.Sockets.SocketException/Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host... (This is expected when the remote machine closes the connection during desktop switch or reconnection.) [11:19:57.2869380] [Info] SocketStuff::TcpSend 06/06 11:19:57.286(78)TcpSendData: The socket is no longer connected, it could have been closed by the remote host. [11:19:57.2871352] [Info] SocketStuff::MainTCPRoutine 06/06 11:19:57.287(78)TcpReceiveData: The socket is no longer connected, it could have been closed by the remote host. [11:20:00.2538023] [Info] <>c__DisplayClass26_0::<TCPServerThread>b__0 06/06 11:20:00.253(88)New connection from client: [OrlithDT]. [11:20:00.2548703] [Info] SocketStuff::TcpSendData 06/06 11:20:00.254(77)SendOrReceiveARandomDataBlockPerInitialIV: Exception writing to the socket stream: System.Net.Sockets.SocketException/Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host... (This is expected when the remote machine closes the connection during desktop switch or reconnection.) [11:20:00.2550538] [Info] SocketStuff::TcpSend 06/06 11:20:00.255(77)TcpSendData: The socket is no longer connected, it could have been closed by the remote host. [11:20:00.2552323] [Info] SocketStuff::MainTCPRoutine 06/06 11:20:00.255(77)TcpReceiveData: The socket is no longer connected, it could have been closed by the remote host.
Other Software
No response
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Mouse Without Borders within PowerToys connectivity issues (#29831), similarity score: 0.80
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I know its been a while since this was opened but I had the same issue and figured I could add this for others to reference.
This issue occurred when one of my machines was updated to windows 11. For me it did not matter which machine I hosted on, if I connected my machine to the host, the host would not recognize it but the client would.
What I ended up doing to fix the issue:
-
Generate a new key on a machine, then enter that key with the host name on the client device. The issue should still occur where the host name appears in the device layout/computer matrix on the client machine but not the host machine.
-
On the host machine scroll on the MWB menu down to the Troubleshooting section and enable the "Show the original Mouse Without Borders UI" then restart. (I did this for both machines, but you may only need to do it on the host)
-
Once the old UI is open, in the computer matrix, select the checkbox for the cell that is missing the client device name. Then type the machine name of client and hit enter.
Note: It might also work to edit the settings.json file on the host machine to populate the other machine and its ID under the "MachineMatrixString" and "MachinePool" though I have not tested that.
Hope that helps
The Newest version fixes a commonly appearing connection bug. Can you confirm that still happens with the newest version of PowerToys?
/needinfo
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.