Troubleshooting
WARNING: NO DATA in CHANNEL_NAME UdpReceiver during 10000 milliseconds
This warning is reported when there are no data on this channel, or the multicast packets from the channel cannot reach your machine.
This could be checked by a network engineer using a network analyzer tool (aka network sniffer).
The IP address of the UDP multicast network group and the port number could be taken from the CME Market Data Feed Channel configuration XML file (config.xml).
For example:
XML:
<channel id="932" label="Futures Currencies - 06B">
<connections>
<connection id="932IA">
<type feed-type="I">Incremental</type>
<protocol>UDP/IP</protocol>
<ip>224.0.25.126</ip>
<host-ip>10.132.18.77</host-ip>
<port>17232</port>
<feed>A</feed>
</connection>
<connection id="932IB">
<type feed-type="I">Incremental</type>
<protocol>UDP/IP</protocol>
<ip>224.0.25.234</ip>
<host-ip>10.132.12.77</host-ip>
<port>17232</port>
<feed>B</feed>
</connection>
</connections>
</channel>
The ip
and port
nodes should be used.
A simple test program is used to verify the presence of multicast packets:
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
class ReceiveMulticast
{
public static void Main()
{
const int portNumber = 17232;
const string multicastGroupIp = "224.0.25.126";
UdpClient socket = new UdpClient(portNumber);
Console.WriteLine("Ready to receive�");
socket.JoinMulticastGroup(IPAddress.Parse(multicastGroupIp), 50);
IPEndPoint iep = new IPEndPoint(IPAddress.Any, 0);
byte[] data = socket.Receive(ref iep);
string stringData = Encoding.ASCII.GetString(data, 0, data.Length);
Console.WriteLine("received: {0} from: {1}", stringData, iep.ToString());
socket.Close();
}
}
See Also
- tools/multicast-test program.