This happens on the server, we have 2 LWM Server running in Docker containers on different machines.
Does this happen on the client or the server side? It might be due to multiple threads trying to send a datagram over the socket concurrently. I am not sure if we explicitly synchronize access to the socket...
Kai
Hi,
i am getting Could not send datagram error with multiple LWM Servers with M14, any ideas?
Could not send datagram java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:693) at org.eclipse.californium.scandium.DTLSConnector.sendDatagram(DTLSConnector.java:1341)
at org.eclipse.californium.scandium.DTLSConnector.sendFlight(DTLSConnector.java:1322) at org.eclipse.californium.scandium.DTLSConnector.handleTimeout(DTLSConnector.java:1360) at org.eclipse.californium.scandium.DTLSConnector.access$600(DTLSConnector.java:112)
at org.eclipse.californium.scandium.DTLSConnector$RetransmitTask.run(DTLSConnector.java:1494) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev
|