{"action":"created","issue":{"url":"https://api.github.com/repos/NETWAYS/sflow/issues/1","labels_url":"https://api.github.com/repos/NETWAYS/sflow/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/NETWAYS/sflow/issues/1/comments","events_url":"https://api.github.com/repos/NETWAYS/sflow/issues/1/events","html_url":"https://github.com/NETWAYS/sflow/issues/1","id":48090434,"number":1,"title":"undefined method `[]' for nil:NilClass","user":{"login":"brian-olson","id":6720384,"avatar_url":"https://avatars.githubusercontent.com/u/6720384?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-olson","html_url":"https://github.com/brian-olson","followers_url":"https://api.github.com/users/brian-olson/followers","following_url":"https://api.github.com/users/brian-olson/following{/other_user}","gists_url":"https://api.github.com/users/brian-olson/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-olson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-olson/subscriptions","organizations_url":"https://api.github.com/users/brian-olson/orgs","repos_url":"https://api.github.com/users/brian-olson/repos","events_url":"https://api.github.com/users/brian-olson/events{/privacy}","received_events_url":"https://api.github.com/users/brian-olson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-11-07T15:01:26Z","updated_at":"2015-04-17T19:29:16Z","closed_at":null,"body":"I'm having some issues getting the collector to run successfully. It looks like the code is being executed successfully because I can see that it establishes the logstash connection and opens the listening port via netstat. When running tcpdump on the second terminal I can also see that no packets are being sent from the sflow listener to logstash. The error below repeats indefinitely and the speed seems to be related to the expected flows, leading me to believe it is successfully receiving the packets, but just unable to process them successfully.  I've gone back and ensured that eventmachine, yaml, and bindata are installed. Any other thoughts on what the issue may be?  Thanks!\r\n\r\nOS: CentOS 6.5\r\nRuby: ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]\r\nLogstash: logstash-1.4.2\r\n\r\nTERMINAL 1\r\n[root@HOST sflow]# bundle exec ./bin/sflow.rb\r\nConnecting to Logstash: localhost:6543\r\nServer listening.\r\n2014-11-07 09:50:23 -0500\r\nnil\r\nundefined method `[]' for nil:NilClass\r\n/DIR/logstash-1.4.2/sflow/lib/sflow/parsers/parsers.rb:7:in `parse_packet'\r\n/DIR/logstash-1.4.2/sflow/lib/sflow/collector.rb:13:in `block in receive_data'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:1037:in `call'\r\n/usr/local/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:1037:in `block in spawn_threadpool'\r\n2014-11-07 09:50:23 -0500\r\n\r\nTERMINAL 2\r\n[root@HOST sflow]# netstat -anup\r\nActive Internet connections (servers and established)\r\nProto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name\r\nudp        0      0 0.0.0.0:6543                0.0.0.0:*                               32242/java\r\nudp        0      0 127.0.0.1:57626             127.0.0.1:6543              ESTABLISHED 493/ruby\r\nudp        0      0 0.0.0.0:6343                0.0.0.0:*                               493/ruby\r\n"},"comment":{"url":"https://api.github.com/repos/NETWAYS/sflow/issues/comments/94058201","html_url":"https://github.com/NETWAYS/sflow/issues/1#issuecomment-94058201","issue_url":"https://api.github.com/repos/NETWAYS/sflow/issues/1","id":94058201,"user":{"login":"TheSeraph","id":11394037,"avatar_url":"https://avatars.githubusercontent.com/u/11394037?v=3","gravatar_id":"","url":"https://api.github.com/users/TheSeraph","html_url":"https://github.com/TheSeraph","followers_url":"https://api.github.com/users/TheSeraph/followers","following_url":"https://api.github.com/users/TheSeraph/following{/other_user}","gists_url":"https://api.github.com/users/TheSeraph/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSeraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSeraph/subscriptions","organizations_url":"https://api.github.com/users/TheSeraph/orgs","repos_url":"https://api.github.com/users/TheSeraph/repos","events_url":"https://api.github.com/users/TheSeraph/events{/privacy}","received_events_url":"https://api.github.com/users/TheSeraph/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T19:29:16Z","updated_at":"2015-04-17T19:29:16Z","body":"This might be somewhat informative also: http://blog.sflow.com/2011/12/sflowtool.html"}}