Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Java.net.SocketException: getifaddrs not supported
-
Hi;
I am trying Bacnet4j on linux. But when I created bacnet device The error occured. Message is below
java.lang.RuntimeException: java.net.SocketException: getifaddrs not supported
at com.serotonin.bacnet4j.LocalDevice.getAllLocalAddresses(LocalDevice.java:779)
at com.serotonin.bacnet4j.service.unconfirmed.IAmRequest.handle(IAmRequest.java:71)
at com.serotonin.bacnet4j.LocalDevice.handleUnconfirmedRequest(LocalDevice.java:733)
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.runImpl(IpMessageControl.java:555)
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.run(IpMessageControl.java:489)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: getifaddrs not supported
at java.net.VMNetworkInterface.getVMInterfaces(Native Method)
at java.net.NetworkInterface.getNetworkInterfaces(Unknown Source)
at com.serotonin.bacnet4j.LocalDevice.getAllLocalAddresses(LocalDevice.java:768)
...7 moreIt seem the Operating system is not supported getifaddrs. But how can I do.
Thank you!