question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

io.netty.channel.epoll.EpollChannelOption#IP_RECVORIGDSTADDR not working

See original GitHub issue

Expected behavior

Remote address as recipient in DatagramPacket

java[9671]: [epollEventLoopGroup-19-1] DEBUG [id: 0xc15eca1c, L:/0.0.0.0:8484] READ: DatagramPacket(/10.40.32.1:57334 => /176.103.130.136:53, PooledUnsafeDirectByteBuf(ridx: 0, widx: 41, cap: 2048)), 41B

Actual behavior

Udp server local address as recipient in DatagramPacket

java[9563]: [epollEventLoopGroup-19-1] DEBUG [id: 0xac9e540e, L:/0.0.0.0:8484] READ: DatagramPacket(/10.40.32.1:59030 => /0.0.0.0:8484, PooledUnsafeDirectByteBuf(ridx: 0, widx: 50, cap: 2048)), 50B

Netty version

Starting with 4.1.61.Final

JVM version (e.g. java -version)

openjdk version “14.0.1” 2020-04-14 OpenJDK Runtime Environment (build 14.0.1+7-Debian-2buster1) OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-2buster1, mixed mode, sharing)

OS version (e.g. uname -a)

Linux 4.19.0-8-cloud-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
abezhovetscommented, Apr 21, 2021

@normanmaurer it works, thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Netty 4.1.16.Final Could not initialize class io.netty.channel ...
I use brpc(a rpc framework) with netty 4.1.16.Final to create epoll event loop, but see following error: Exception in thread ...
Read more >
java.lang.UnsupportedOperationException at io.netty.channel ...
In my system EPOLL is false. When I run the server it is working fine. When I run the client, I get the...
Read more >
Native transports - Netty.docs
Because the native transport is not part of the Netty core, you need to pull the netty-transport-native-epoll as a dependency in your Maven...
Read more >
Is this netty problem a show stopper? - Google Groups
Found Netty's native epoll transport in the classpath, but epoll is not available ... at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:30). at java.lang.
Read more >
io.netty.channel.epoll.EpollEventLoop - Netty 4.1.72.Final 源码
15 */ 16 package io.netty.channel.epoll; 17 18 import io.netty.channel. ... 467 // See https://github.com/netty/netty/issues/3848 468 if ((ev & (Native.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found