Unable to receive multicast on a multi network interface host

Can anyone please help?
I am not able to receive multicast on a multi network interface host.
This is the code:
public class LegacyMulticast {
public static void main(String[] args) throws IOException {
InetSocketAddress group = new InetSocketAddress("224.10.20.30", 12345);
NetworkInterface iface = NetworkInterface.getByName("eth3");
MulticastSocket socket = new MulticastSocket();
socket.setSoTimeout(5000);
socket.joinGroup(group , iface);
byte[] b = new byte[4096];
DatagramPacket datagram = new DatagramPacket(b, b.length);
try {
socket.receive(datagram);
System.out.println("Success");
catch (SocketTimeoutException ste) {
System.out.println("Failure");
socket.leaveGroup(group, iface);
The funny thing is that when I start this code, Wireshark detects IGMP join on the correct network interface caused by joinGroup call, followed by constant UDP traffic on correct port which I aim to receive and finally I see correct IGMP leave caused by leaveGroup call and the UDP traffic stops.
I just don't receive anything on socket.receive call.
I am trying to figure this one out for days now. Pls help someone :)
P.S. I suspected security, but System.getSecurityManager() call returns null.
P.P.S. I also tried implementing this with NIO, but with same result.

public class LegacyMulticast {
public static void main(String[] args) throws IOException {
InetSocketAddress group = new InetSocketAddress("224.10.20.30", 12345);
NetworkInterface iface = NetworkInterface.getByName("eth3");
MulticastSocket socket = new MulticastSocket(12345);
socket.setSoTimeout(5000);
socket.joinGroup(group , iface);
byte[] b = new byte[4096];
DatagramPacket datagram = new DatagramPacket(b, b.length);
try {
socket.receive(datagram);
System.out.println("Success");
catch (SocketTimeoutException ste) {
System.out.println("Failure");
socket.leaveGroup(group, iface);
This is still not working.
The multicast is coming from the network (not localhost), OS is Windows 7.
When I start a multicast stream localy via VLC application on this same group and port, I receive the traffic in this Java application OK.
Once again, Wireshark detects IGMP join and leave and multicast traffic flow on eth3 network interface initiated by the Java application, but it just doesn't see the UDP datagrams.

Similar Messages

  • Unable to receive internet connection over wifi connection.  Shows that I am connected to the network, but do not have internet access.  Checked my firewall and turned it off.  What else am I missing or should be doing differently?

    Unable to receive internet connection over wifi connection.  Shows that I am connected to the network, but do not have internet access.  Checked my firewall and turned it off.  What else am I missing or should be doing differently?

    You might want to try resetting your router and your modem - just unplug the cords, leave them unplugged for about 3-5 minutes and then replug the modem and then the router in that order.
    This may or may not correct your problem - call back if it doesn't.
    Clinton

  • I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.

    I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.
    The internet goes out and I have to reset network setting each and every time. This is only a temporary solution which by the time I release the line with Spring or leave the apple store the issue is back. Sprint indicates that it is a know issue with the Iphone 5 and apple says it is a network issue as Sprint's network is not up to par with the Iphone and can not meet the expectations on the Iphone 5.
    I have attached a few picture, as you can see it clearly says I have 5 bars and 3g available but I have no connections what so ever.
    This issue affects all data and so I can not send or receive picture messages, use apps, or access the internet. The data goes in and out intermittently and it seems the phone chooses what I can and can't do.
    For example I can watch Youtube or Vevo videos but I can not access Facebook or Instagram.
    Is anyone else having this issue?
    I will soon loose my patience....
    I have reset my phone three time and have reset network and other setting mutltiple times.

  • I am suddenly unable to receive calls on my iPhone 4S.  Is it possible that the age of the phone will affect its ability to receive calls? HELP!

    I am suddenly unable to receive calls on my iPhone 4S. 
    I have spent 2 hour-long sessions with technical support and although they were very nice, it is still not fixed.
    When I try to call the phone from a land line, it doesn't ring AND it doesn't recognize that a call is coming in (no missed call) BUT if I leave a message, it records it.
    Is it possible that the age of the phone will affect its ability to receive calls?
    HELP!

        MarketingMary,
    I am truly sorry to hear that your are unable to receive calls on your device. Thank you tbo27 for providing great troubleshooting steps. Making sure call forwarding is not active by dial *73 is great. Have you already reset network settings also? http://vz.to/RTz70g Are you able to make calls fine? Make sure Do not Disturb is not active. Settings>Do Not Disturb
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • I am unable to receive or send email from my IPAD.  The error message says "Connection to server failed".  Help!! geandreamer44

    I am unable to receive or send email from my IPAD.  The error message says "Connection to server failed".  Help!! geandreamer44

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    If that doesn't help, tap Settings > General > Reset > Reset Network Settings
    You will have to re enter your Wi-Fi password.
    If nothing above helped, restart your router.
    No data is lost due to a reset.

  • Mac Mail & POP Error Message - Unable to receive, Able to send

    I am in a bind -- our company (okay, me) had gotten fed up using Yahoo Small Business email (multiple problems with customer service, they deleted my email, their tech fixes take weeks, I could go on and on...), so we switched to Network Solutions, a company I've used personally and been pretty happy with. HOWEVER, we've switched over and a remote party who uses Mac Mail to access his email set up using the exact settings suggested by Network Solutions and is unable to receive email. He's able to send it (using Earthlink as the outgoing mail server), but he's unable to receive it, and it's becoming a BIG pain.
    He's running:
    Mac OS 10.4.6
    Mac Mail 2.0.7
    He receives the error message:
    "The server error encountered was: The server "mail.latitude-entertainment.com" cannot be contacted on port 110."
    He operates wirelessly using a home router for multiple computers and has Earthlink DSL.
    One bizarre twist: He's even not able to access the webpage for webmail (http://mail.latitude-entertainment.com)
    At first I thought it was a firewall issue, but he doesn't believe he has any firewall software installed.
    Needless to say, I'm an admin here looking like a fool in front of the big wigs. Not a good position. Network Solutions runs me down their usual list of things to look for, but not looking at the computer, I'm running blind (and he's not in a position to contact tech support himself).
    Any help out there?
    Any help would be appreciated.
    Laptop, not sure what type   Mac OS X (10.4.6)   Mac Mail 2.0.7

    Hello, and welcome to the Discussions.
    Probably the number one thing check and/or experiement with, is the form of the Username entered in the Mail Preferences when setting up the account. Mail is very precise about whether the form is the portion of the email address in front of the "@domain", or the entire email address. The standard will be set by the server, of course, Mail will not take Username from any place, other than the Username entry box in the preference, and not from the email address entry box.
    Have him try it each way. Do you access this server with Mail 2.0, or otherwise?
    Ernie

  • Unable to received phone calls & SMS

    Hi,
    My iPhone 4s unable to received phone calls and sms. I would like to seek for advice on these problems.
    Thank you.

    step 1
    reset network settings
    settings >general>reset reset network settings
    or
    step 2
    backup and restore
    http://support.apple.com/kb/HT1414
    or
    step 3
    contact carrier

  • APs unable to receive IP address from DHCP (core 6500 series switch)

    Dear Friends,
    a week ago I had stable wireless network APs were getting IPS from 6500 series switch (DHCP) but unfortunately some WISM got rebooted and now APs are unable to receive IP address from Core 6500 DHCP, to cater this issue  I have another DHCP server configured on windows 2008  i created another subnet and and put APs in that vlan now all APs are are successfully receiving IPS from windows DHCP server I don't know why APs are not able to receive IPs from core 6500 series DHCP.
    please advice
    Thanks
    Faysal

    Thanks george for stepping up here is DHCP config
    ip dhcp excluded-address 10.10.30.1 10.10.30.20
    ip dhcp excluded-address 10.10.8.1 10.10.8.10
    ip dhcp excluded-address 192.168.10.1 192.168.10.5
    ip dhcp excluded-address 10.9.20.1 10.9.20.30
    ip dhcp pool vlan_30
    network 10.10.30.0 255.255.254.0
    default-router 10.10.30.1
    option 60 ascii """"""""""""""""""""""""CiscoAPc1250""""""""""""""""""""""""
    option 43 hex f110.0a0a.1e0b.0a0a.1e0d.0a0a.1e0f.0a0a.1e11
    dns-server 10.10.2.11
    lease infinite
    ip dhcp pool WiSM1_SP
    network 192.168.10.0 255.255.255.248
    default-router 192.168.10.1

  • Unable to check for available downloads. the network connection was lost

    in my downloads window in iTunes it shows i have "28 iTunes downloads available". when i try to download them, i get the error "Unable to check for available downloads. the network connection was lost."
    my connection is fine though, as i can individually download purchases by clicking on the cloud icon.

    I followed the advice on Holgr's link, i used screen flow to capture the error message, and then made the video available to apple support. My issue was immediately escalated, and my account started working again shortly after.
    I received no additional messages from tech support, i had no idea the problem was resolved until i tried it again.

  • Verizon iPhone 6plus unable to receive calls but can receive texts

    Hello, I have a Verizon iPhone 6plus (64GB Space Grey) and am unable to receive incoming calls, yet I'm able to place out-going calls and exchange texts with my contacts.  I'm unsure how to proceed, I'm asking for assistance since I have seen that my issue is different then everyone else since I can call out and do text messaging.  Any ideas on how to correct this issue?  Do I need to speak with Verizon, since to me it seems like a network problem? Or do I need to go to my local Apple Store and request a genius bar appointment for assistance?
    Thanks for your assistance, I greatly appreciate it very much!
    Eric

    I suggest contacting or going to Verizon and have them try to resolve the issue, calling feature is a carrier feature.
    good luck.

  • "CPU Receive Multicast Queue is full"

    Hello.
    I am getting a Critical controller error on my WCS panel that says "CPU Receive Multicast Queue is full on Controller 'xxx.xxx.xxx.xxx'. "
    I have blanked out the IP above- it's the controller's IP address.
    What exactly does this error mean, and what can I do to fix this? I haven't had much luck in finding information on this particular error and it's starting to bother me.
    It triggers a couple times a day, or sometimes several days apart.
    My controller is running version 4.1.171.0 and my WCS is 4.1.83.0.
    Thanks!

    Hi Peter,
    There is a bug filed for the same CSCsf27201. Sometimes even when you are not using multicast traffic ,ARP and CDP packet keep hitting controller CPU and reports this message. Although these packets are dropped when que gets filled but WLC reports this message which will is already resolved in upcoming release.
    This message will not affect your network in anyway.
    HTH
    Ankur
    *Pls rate all helpfull post

  • Howto bind multicast listener to a specific network interface (NIC)?

    All of our cluster machines have 2 network interfaces. One of the requirements is that all cluster-related traffic has to use a specific interface, leaving the other open for all non-clustering network traffic.
    Thus, I've to bind the Coherence multicast listener to a specific interface.
    Unfortunately I did not find a setting for this in the Coherence configuration XML file.
    Is it possible to bind the multicast listener to a specific NIC, if yes, how can it be done?
    Thanks a lot!
    Best regards,
    Wolf

    Hi Wolf,
    it can be specified as part of the unicast-listener configuration within the operational configuration:
    http://coherence.oracle.com/display/COH34UG/unicast-listener
    You need to specify the address and the port elements.
    Alternatively, you can specify values for this as a Java property:
    -Dtangosol.coherence.localhost=nicaddress -Dtangosol.coherence.localport=unicastportwhere nicaddress is the ip address of the network card going to the network you would like to direct Coherence traffic to. Unicast port is the udp port on which Coherence will listen. By default it is 8088 (or automatically incremente in case the port is already bound).
    If your kernel is configured to use both ipv6 and ipv4 and you specified the ipv4 address of the network card then you might also need to specify:
    -Djava.net.preferIPv4Stack=trueThe multicast listener and publisher will send and receive on the interface used by the unicast listener.
    Best regards,
    Robert

  • One of my contacts is unable to receive my text messages since I updated my iPhone  4s?

    Since updating my iPhone, a few of my contacts have been unable to receive my text messages? One of the contacts originally had an iPhone but changed device before I updated, I was able to send and they were able to receive text messages prior to the change, the problem has arisen since update? More recently another contact who also has an iPhone is now unable to receive my text messages? Has anyone else experienced this problem, and if so what did you do to resolve it?  Thanks.

        Hi susandlee,
    Wow this definitely sounds like strange behavior and something we need to investigate further. I want to find out, on your iPhone 5, do you have any signatures set? When you send text messages, do you include any emoticans or special characters? These aren't compatible with all type of devices and networks so we want to eliminate any causes of the trouble. If you do have anything like this set please remove the items and test the texting communication again. We look forward to hearing back to get this resolved.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • Weblogic Spring MDP consumer unable to receive message

    Hi,
    we have a weblogic cluster(2 machine, 2 instance per machine)
    I have configured JMS server in each instance and a distributed Queue
    DominName : hmidomain Weblogic 10.0MP1
    And four instance of managed server and JMS server
    gdmsdomain(admin)
    instance11,JMSServer11
    instance12,JMSServer12
    instance21,JMSServer21
    instance22 ,JMSServer22
    Each JMS server is targeted to the corresponding Instance
    connection factory and Uniform Distributed Queue target my cluster , sub deployment is Default Targetting.
    I have a spring application with has Message Driven Pojo ,which has 4 listener container, each one are configured to connect to one instance
    when I run the application in Tomcat all the consumer are evenly distributed to the instance and Able to receive messages.
    when I try to deploy the same spring application in another weblogic server(different machine and different domain)
    The setup of this server
    DominName : wasdomain Weblogic 10.0
    hmidomain(admin)
    No cluster, I deploy the application in admin server itself I face the following problem
    1) Consumers get registered but unable to receive messages
    2)If I restart the server, then they are able to receive messages, until I do a update to the application. If I do an update to the project it fails to reload and leads to a server restart.
    Initially I got exception as java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system, Administrators]
    After adding the security credentials for JNDI template, I don't get this exception but still it does not work.
    the connection and Queue are not secured.
    I am not using any bridge or SAF. but not sure if it has anything to do with Domain security.
    As you might have seen above, that I have unique name for all resources and both the Domains are in same network , no firewalls
    As mention earlier the Spring MDPworks fine in tomcat with out any issue.
    I have not posted any config codes, If you need it, please let me know.
    Any help to fix this issue is appreciated.
    Thank you
    Edited by: Kannan Mugundan on Jan 30, 2010 1:49 AM
    Edited by: Kannan Mugundan on Jan 30, 2010 1:52 AM

    Kannan Mugundan wrote:
    Hi,
    we have a weblogic cluster(2 machine, 2 instance per machine)
    I have configured JMS server in each instance and a distributed Queue
    DominName : hmidomain Weblogic 10.0MP1
    And four instance of managed server and JMS server
    gdmsdomain(admin)
    instance11,JMSServer11
    instance12,JMSServer12
    instance21,JMSServer21
    instance22 ,JMSServer22
    Each JMS server is targeted to the corresponding Instance
    connection factory and Uniform Distributed Queue target my cluster , sub deployment is Default Targetting.
    I have a spring application with has Message Driven Pojo ,which has 4 listener container, each one are configured to connect to one instance
    when I run the application in Tomcat all the consumer are evenly distributed to the instance and Able to receive messages.
    when I try to deploy the same spring application in another weblogic server(different machine and different domain)
    The setup of this server
    DominName : wasdomain Weblogic 10.0
    hmidomain(admin)
    No cluster, I deploy the application in <font face="tahoma,verdana,sans-serif" size="1" color="#000">admin</font> server itself I face the following problem
    <P>1) Consumers get registered but unable to receive messages
    2)If I restart the server, then they are able to receive messages, until I do a update to the application. If I do an update to the project it fails to reload and leads to a server restart.
    Initially I got exception as java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[system, Administrators]
    After adding the security credentials for JNDI template, I don't get this exception but still it does not work.
    the connection and Queue are not secured.
    I am not using any bridge or SAF. but not sure if it has anything to do with Domain security.
    As you might have seen above, that I have unique name for all resources and both the Domains are in same network , no firewalls
    As mention earlier the Spring MDPworks fine in tomcat with out any issue.
    I have not posted any config codes, If you need it, please let me know.
    Any help to fix this issue is appreciated.
    Thank you
    Edited by: Kannan Mugundan on Jan 30, 2010 1:49 AM
    Edited by: Kannan Mugundan on Jan 30, 2010 1:52 AM</P>You can give a more complete description of your needs, It will be better for answering your question.

  • Sms unable to receive by particular contact from my iphone 5c

    one particular contact unable to receive my sms, after resetting the network in my iphone, update the OS, delete that particular contact and create another contact with the same number then send again another sms, even reset in Erase All content and Settings (couple of times), still the same problem

    Is the recipient a former iPhone user that had iMessage enabled on their iPhone?
    If not, as with email after an SMS/MMS is successfully sent, what happens to the message after that has nothing to do with the cell phone that sent the message.
    SMS/MMS are exchange via a carrier's cellular network only.
    Have you contacted your carrier and the same for the recipient if the recipient has a different carrier than you?

Maybe you are looking for