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.

Test Case UdpServerTest.supportsUdpMulticast fails sporadically

See original GitHub issue

When running ./gradlew build the test case UdpServerTest.supportsUdpMulticast sporadically (1 out of 3 builds) fails

reactor.netty.ChannelBindException: Failed to bind on [0:0:0:0:0:0:0:1%0:59042]
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:139)
		at reactor.core.publisher.Mono.block(Mono.java:1727)
		at reactor.netty.udp.UdpServer.bindNow(UdpServer.java:120)
		at reactor.netty.udp.UdpServerTests.portBindingException(UdpServerTests.java:266)
		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.base/java.lang.reflect.Method.invoke(Method.java:566)

UdpServerTests.zip

Expected Behavior

Build runs always without test errors

Actual Behavior

Build fails sometimes with test errors

Steps to Reproduce

Run build

Possible Solution

Your Environment

Reactor version(s) used: reactor-netty 1.0.7 JVM version : OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode) OS and version: Linux 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linux

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
roggenbrotcommented, Jul 26, 2021

I’m not able to reproduce the problem anymore. I will reopen the issue if I’m running into this problem again.

0reactions
violetaggcommented, Jul 26, 2021

@roggenbrot Thanks for the update!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I test Multicast UDP connectivity between two servers?
I have an application installed which uses multicast UDP to propagate events between the two servers and keep them in sync.
Read more >
UDP Communication - Python Wiki
On my computer, at least. Sending to multicast groups is just fine; Here's some functional text:.
Read more >
Detecting failure of UDP multicast receive - Stack Overflow
When testing the 'server' on a laptop, I have noticed that if the laptop enters a 'sleep' state the server's receiving socket becomes...
Read more >
Receiving UDP Multicast Not Working #16335 - flutter ... - GitHub
I'm trying to receive a UDP multicast in my Flutter app on Android. ... import: 'package:flutter/material.dart' at test\widget_test.dart:7:8 ...
Read more >
What is User Datagram Protocol (UDP)? Definition from ...
Learn how User Datagram Protocol works, how it compares to TCP/IP, and popular UDP use cases and applications.
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