mojira.dev
MC-252520

Can't join a multiplayer server on Linux

When trying to join a realm, I get stuck on the "Connecting to the realm" screen before having the "Disconnected" message. I get this error in the logs:

[18:38:44] [Netty Epoll Client IO #0/WARN]: Unexpected exception in the selector loop.
io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented

This seems to be a Linux issue with the Netty library that was fixed in version 4.1.77.Final, but Minecraft 1.19 uses version 4.1.76.Final (see https://github.com/netty/netty/issues/12343 for more information)

 

EDIT: it seems to be preventing the connection to ANY multiplayer server. Updated the title.

EDIT2: For the people who want a temporary fix, I have attached an updated package manifest that downloads the latest Netty version from Maven Central.

Attachments

Comments 3

Hosting a server on Linux also causes a similar error to repeat in the server log every time someone pings the server and constantly while a player is connected (tested with a Windows client connected). It causes the server to only update entities every half-second or so, or at the rate of the error appearing.

Thank you so much for the temporary workaround!

I seem to get this issue exclusively on the LINUX5.10 kernel (EndeavourOS, Arch Linux), which I have no choice but to use due to an expensive piece of hardware that is not supported on any kernel newer.

Either way, I hope this is fixed officially soon, slightly irritating that it's such a simple fix yet hasn't been implemented yet.

This issue has been fixed. To get the fix, you need to restart your Minecraft launcher. It will perform a background library update. If afterwards you still have a connection issue, please make another ticket.

Franckyi

slicedlime

Plausible

Very Important

Networking

1.19

1.19

Retrieved