lima-vm / lima-vm/lima

guest agent events closed unexpectedly error="rpc error: code = Unavailable desc = error reading from server: EOF"

Open
#2,558 7 comments 0 reactions 0 assignees View on GitHub
bug status/more-info-needed
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

Hello,

I am working on a M1 MacBook with Sonoma 14.6.1

Recently I updated Lima from 0.21.0 to 0.23.1 via brew. Subsequently when starting my container up I see:

WARN[0012] [hostagent] failed to set up forwarding tcp port 111 (negligible if already forwarded) error="listen tcp4 0.0.0.0:111: bind: address already in use"
WARN[0012] [hostagent] guest agent events closed unexpectedly error="rpc error: code = Unavailable desc = error reading from server: EOF"

Then workflows in the container which used to work now fail because attempted connections to a remote database started timing out. I would therefore suspect this might be related to the errors I see above.

When stopping the container I also now see a new error:

ERRO[0001] [hostagent] accept tcp 127.0.0.1:58584: use of closed network connection

As far as I could workout brew does not support reverting versions of software, so I have no way to go back to Lima 0.21? Is there any suggestion as to how to fix the above warnings and errors?

Thanks,

Mark

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.