{"action":"created","issue":{"url":"https://api.github.com/repos/driskell/log-courier/issues/96","labels_url":"https://api.github.com/repos/driskell/log-courier/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/driskell/log-courier/issues/96/comments","events_url":"https://api.github.com/repos/driskell/log-courier/issues/96/events","html_url":"https://github.com/driskell/log-courier/issues/96","id":54729557,"number":96,"title":"NameError: uninitialized constant LogStash::Outputs::LogCourier::Client","user":{"login":"dsolsona","id":876945,"avatar_url":"https://avatars.githubusercontent.com/u/876945?v=3","gravatar_id":"","url":"https://api.github.com/users/dsolsona","html_url":"https://github.com/dsolsona","followers_url":"https://api.github.com/users/dsolsona/followers","following_url":"https://api.github.com/users/dsolsona/following{/other_user}","gists_url":"https://api.github.com/users/dsolsona/gists{/gist_id}","starred_url":"https://api.github.com/users/dsolsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsolsona/subscriptions","organizations_url":"https://api.github.com/users/dsolsona/orgs","repos_url":"https://api.github.com/users/dsolsona/repos","events_url":"https://api.github.com/users/dsolsona/events{/privacy}","received_events_url":"https://api.github.com/users/dsolsona/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driskell/log-courier/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"driskell","id":939815,"avatar_url":"https://avatars.githubusercontent.com/u/939815?v=3","gravatar_id":"","url":"https://api.github.com/users/driskell","html_url":"https://github.com/driskell","followers_url":"https://api.github.com/users/driskell/followers","following_url":"https://api.github.com/users/driskell/following{/other_user}","gists_url":"https://api.github.com/users/driskell/gists{/gist_id}","starred_url":"https://api.github.com/users/driskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driskell/subscriptions","organizations_url":"https://api.github.com/users/driskell/orgs","repos_url":"https://api.github.com/users/driskell/repos","events_url":"https://api.github.com/users/driskell/events{/privacy}","received_events_url":"https://api.github.com/users/driskell/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/driskell/log-courier/milestones/9","labels_url":"https://api.github.com/repos/driskell/log-courier/milestones/9/labels","id":929830,"number":9,"title":"2.0","description":"","creator":{"login":"driskell","id":939815,"avatar_url":"https://avatars.githubusercontent.com/u/939815?v=3","gravatar_id":"","url":"https://api.github.com/users/driskell","html_url":"https://github.com/driskell","followers_url":"https://api.github.com/users/driskell/followers","following_url":"https://api.github.com/users/driskell/following{/other_user}","gists_url":"https://api.github.com/users/driskell/gists{/gist_id}","starred_url":"https://api.github.com/users/driskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driskell/subscriptions","organizations_url":"https://api.github.com/users/driskell/orgs","repos_url":"https://api.github.com/users/driskell/repos","events_url":"https://api.github.com/users/driskell/events{/privacy}","received_events_url":"https://api.github.com/users/driskell/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":8,"state":"open","created_at":"2015-01-10T16:07:22Z","updated_at":"2015-02-04T09:10:28Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-01-19T06:10:16Z","updated_at":"2015-02-11T13:03:18Z","closed_at":"2015-01-19T21:28:52Z","body":"Hi,\r\n\r\nI'm trying to setup  log-courier 1.3 between two logstash servers. One server is using the courier output while the other is using the courier input.\r\n\r\nThis is the output configuration\r\n```\r\noutput {\r\n  if \"_grokparsefailure\" not in [tags] and \"metric\" not in [tags] {\r\n    courier {\r\n      hosts => \"aa.bb.cc.dd\"\r\n      port => \"5044\"\r\n      ssl_ca => \"/opt/logstash/ssl/cert.crt\"\r\n    }\r\n  }\r\n}\r\n```\r\nThe input config looks like\r\n```\r\ninput {\r\n  courier {\r\n  codec => json {}\r\n    port => \"5044\"\r\n    ssl_certificate => \"/opt/logstash/ssl/cert.crt\"\r\n    ssl_key => \"/opt/logstash/ssl/cert.key\"\r\n  }\r\n}\r\n```\r\nAnd this is the error I get when I start logstash on the server with the output:\r\n\r\n```\r\nNameError: uninitialized constant LogStash::Outputs::LogCourier::Client\r\n  const_missing at org/jruby/RubyModule.java:2690\r\n       register at /opt/logstash/lib/logstash/outputs/courier.rb:56\r\n           each at org/jruby/RubyArray.java:1613\r\n   outputworker at /opt/logstash/lib/logstash/pipeline.rb:220\r\n  start_outputs at /opt/logstash/lib/logstash/pipeline.rb:152\r\n```\r\n\r\nAny idea what could be wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/driskell/log-courier/issues/comments/73877401","html_url":"https://github.com/driskell/log-courier/issues/96#issuecomment-73877401","issue_url":"https://api.github.com/repos/driskell/log-courier/issues/96","id":73877401,"user":{"login":"korayal","id":313801,"avatar_url":"https://avatars.githubusercontent.com/u/313801?v=3","gravatar_id":"","url":"https://api.github.com/users/korayal","html_url":"https://github.com/korayal","followers_url":"https://api.github.com/users/korayal/followers","following_url":"https://api.github.com/users/korayal/following{/other_user}","gists_url":"https://api.github.com/users/korayal/gists{/gist_id}","starred_url":"https://api.github.com/users/korayal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korayal/subscriptions","organizations_url":"https://api.github.com/users/korayal/orgs","repos_url":"https://api.github.com/users/korayal/repos","events_url":"https://api.github.com/users/korayal/events{/privacy}","received_events_url":"https://api.github.com/users/korayal/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T13:03:18Z","updated_at":"2015-02-11T13:03:18Z","body":"I had the same issue on 1.5.0.beta1, after renaming the class name, i started getting:\r\n\r\n```\r\nundefined method `[]=' for nil:NilClass\r\n```"}}