utmapp / utmapp/UTM

SSH session to guest disconnects randomly (and other host/guest socket connections)

Open
#5,986 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
I have long running ssh sessions connected to my UTM session, after a while they can get disconnected and won't reconnect to the guest.

When that happens, I can't ssh back in. The guest is still responsive by interacting with it directly.

Note: I noticed that there may be a general thing where sockets between guest and host disconnect - it's especially noticable when I use pulseaudio on the host and connect to it from the guest, you can be playing music and then it stops working because it has become disconnected.

It seems like there is a general issue with the host/guest connection.

Other things that may be related, are the interface going down (which can be fixed in the guest by taking it down and back up), and maybe even the virtio issues.

**Configuration**
* UTM Version: 4.4.4 (93)
* macOS Version: Ventura (13.2.1)
* Mac Chip (Intel, M1, ...): M2
* Guest: Ubuntu 23.04, Linux stu-vm-ubuntu 6.6.4-060604-generic #202312030734 SMP PREEMPT_DYNAMIC Sun Dec 3 07:47:40 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

**Debug log**
[debug-utm-20231221.log.zip](https://github.com/utmapp/UTM/files/13744988/debug-utm-20231221.log.zip)

Note - debug log is a little long, I had been using the machine for a while before this occured, and then a bit afterwards until I had to kill it because of the bug where the guest is unresponsive except for the mouse pointer moving (it acts in exactly the same way as it does when you remove the PCI device the virtio GPU exposes in the guest).

**Upload VM**
[config.plist.zip](https://github.com/utmapp/UTM/files/13744983/config.plist.zip)

If your issue is related to a specific VM, please upload the config.plist from your VM's .utm directory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.