Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Error occurred in poll cycle: undefined method `gsub' for nil:NilClass #5

Open
thehappycoder opened this issue Oct 31, 2015 · 1 comment

Comments

@thehappycoder
Copy link

[2015-10-31 14:30:35 UTC] INFO: Using Ruby SDK version: 1.3.1
[2015-10-31 14:30:35 UTC] INFO: Agent Puma Agent is at version 0.0.2
[2015-10-31 14:30:35 UTC] DEBUG: Start collecting agent data for poll cycle
[2015-10-31 14:30:35 UTC] ERROR: Error occurred in poll cycle: undefined method gsub' for nil:NilClass [2015-10-31 14:30:35 UTC] DEBUG: Stacktrace: ./newrelic_puma_agent:21:incontrol_url'
./newrelic_puma_agent:29:in control_url_and_auth_token' ./newrelic_puma_agent:46:inpoll_cycle'
/usr/local/rvm/gems/ruby-2.2.3/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/agent.rb:139:in run' /usr/local/rvm/gems/ruby-2.2.3/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:143:inblock in run_agent_data_collection'
/usr/local/rvm/gems/ruby-2.2.3/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:in each' /usr/local/rvm/gems/ruby-2.2.3/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:inrun_agent_data_collection'
/usr/local/rvm/gems/ruby-2.2.3/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:127:in loop_forever' /usr/local/rvm/gems/ruby-2.2.3/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:insetup_and_run'
./newrelic_puma_agent:71:in <module:PumaAgent>' ./newrelic_puma_agent:36:in

'
[2015-10-31 14:30:35 UTC] DEBUG: Finished collecting agent data for poll cycle
[2015-10-31 14:30:35 UTC] DEBUG: Component with name "cleancode.co
" and guid "com.ubxd.newrelic_puma" had no metrics
[2015-10-31 14:30:35 UTC] DEBUG: JSON payload: {"agent":{"version":"0.0.2"},"components":[]}
[2015-10-31 14:30:35 UTC] INFO: Gathered 0 statistics from 0 components

ruby-2.2.3

@thehappycoder
Copy link
Author

State file:

pid: 2038
config: !ruby/object:Puma::Configuration
options:
:min_threads: 2
:max_threads: 10
:quiet: false
:debug: false
:binds:
- unix:///tmp/satsanga.sock
:workers: 1
:daemon: true
:worker_directory: "/home/satsanga/app/satsanga"
:config_file: config/puma.rb
:mode: :http
:worker_timeout: 60
:worker_shutdown_timeout: 30
:environment: production
:pidfile: "/home/satsanga/app/satsanga/tmp/pids/satsanga.pid"
:state: "/home/satsanga/app/satsanga/tmp/pids/satsanga.state"
:control_auth_token: 5582291ce0679c99f6789853c2ce6a73
:tag: satsanga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant