New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"epoll_wait(..) failed: Function not implemented" on Ubuntu 22.04 #12343
Comments
I think I have an idea… let me investigate |
Motivation: Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS. Modifications: Check if we can actually use epoll_pwait2(...) and it not fails due not implemented. Result: Fixes #12343
Motivation: Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS. Modifications: Check if we can actually use epoll_pwait2(...) and it not fails due not implemented. Result: Fixes #12343
Sorry - I do not think you can wait until 4.1.77 is released. |
We are blocked from upgrading from Spring Boot 2.6.6 to 2.6.7 since the latter upgraded to Neety 4.1.76 which introduced this issue, see https://github.com/spring-projects/spring-boot/releases/tag/v2.6.7 I see that you are half-way through implementing all bug fixes and features planned for Netty 4.1.77. Due to the impact of this issue, is there any chance you could release an interim bugfix release 4.1.76.1 or alternatively release 4.1.77 early. Thanks. |
We will cut a release tomorrow |
I was using Ubuntu 22.04 LTS (Jammy Jellyfish) and kept getting this error. Make sure you pin to Ubuntu 20.04 (Focal Fossa) and avoid this error, until the issue is resolved! |
I am using Ubuntu 22.04 LTS: I am not having this issue since I updated my project to use Spring Boot 2.7.0, which includes Netty 4.1.77.FINAL, which had this issue fixed. |
Fixes a bug on some linux distros, see netty/netty#12343
Motivation: Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS. Modifications: Check if we can actually use epoll_pwait2(...) and it not fails due not implemented. Result: Fixes netty#12343
Ubuntu Jammy/22.04 netty package and the currently used Mojang netty version are incompatible. Downgrading until a fix is released. netty/netty#12343 resolves #21
Motivation: Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS. Modifications: Check if we can actually use epoll_pwait2(...) and it not fails due not implemented. Result: Fixes netty#12343
#1982121: [Test]Deploy function fails on cloud shell which is related to netty/netty#12343
upgrade dependencies to resolve issue netty/netty#12343
Motivation: Its possible that while there is an epoll_pwait2(...) system call it is not implemented and so fail with ENOSYS. Modifications: Check if we can actually use epoll_pwait2(...) and it not fails due not implemented. Result: Fixes #12343
We are using netty-common - 4.1.77.Final and spring boot 2.6.7 and started running into this issue. We have been using this configuration for the past year and it started giving us error 2 days back. |
The important module is transport-native-epoll – maybe you're using an older version of that module. Make sure all Netty modules are of the same version. Try upgrading to the latest. If there are still problems, open a new issue because it'll be a new problem. |
We appear to be hitting netty/netty#12343 Will investigate an upgrade to Netty in a future PR
We appear to be hitting netty/netty#12343 Will investigate an upgrade to Netty in a future PR
We appear to be hitting netty/netty#12343 Note that this defect only appears to happen when running inside of the AWS path to live environment. When run locally, the adaptor doesn't run into this codepath. Will investigate an upgrade to Netty in a future PR
We appear to be hitting netty/netty#12343 Note that this defect only appears to happen when running inside of the AWS path to live environment. When run locally, the adaptor doesn't run into this codepath. Will investigate an upgrade to Netty in a future PR
We appear to be hitting netty/netty#12343 Note that this defect only appears to happen when running inside of the AWS path to live environment. When run locally, the adaptor doesn't run into this codepath. Will investigate an upgrade to Netty in a future PR
The current build is erroring with: > io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented This is because of netty/netty#12343 By switching to the version of Gradle we use within the repo we also downgrade Ubuntu to Focal as a side-effect.
The current build is erroring with: > io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented This is because of netty/netty#12343 By switching to the version of Gradle we use within the repo we also downgrade Ubuntu to Focal as a side-effect.
Expected behavior
Running an application with some exposed endpoints, when you call an endpoint you get a response back.
Actual behavior
Works fine in Ubuntu
20.04
, but in Ubuntu22.04
- with any service and any endpoint - I get the following error:Stack trace
Netty version
JVM version (e.g.
java -version
)OS version (e.g.
uname -a
)The text was updated successfully, but these errors were encountered: