Giter Club home page Giter Club logo

Comments (18)

mockdeep avatar mockdeep commented on July 4, 2024

The unexpected token is one of those weird hex symbols. It also appears when I run heroku run console.

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

Are you getting this every time you run it, or were these incidents isolated? Did it show the full output of the JSON it was trying to parse?

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

Looks like it's every time I run it. Unfortunately, that's all of the output that I get. What's interesting is that this happens on my staging server, but not on production. The one major difference between them at this point is that the staging server is using Ruby 2.0.0.

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

Hmm, I'm running the same versions of everything and haven't been able to reproduce. I'll keep working on it. Do you get this error in your Rails log at all (when running the server)? It won't break anything in your application, but it may prevent our metrics feature from activating if you're on a Medium plan or higher.

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

Yeah, it turns up in the heroku logs as well. Not sure if it helps, but here's our Gemfile.lock:

GIT
  remote: git://github.com/mbj/mutant.git
  revision: 02ebe7261a49b3d0b234f495b0acf002b05e553f
  specs:
    mutant (0.3.0.rc3)
      abstract_type (~> 0.0.7)
      adamantium (~> 0.1.0)
      anima (~> 0.1.1)
      concord (~> 0.1.4)
      descendants_tracker (~> 0.0.1)
      equalizer (~> 0.0.7)
      ice_nine (~> 0.9)
      inflecto (~> 0.0.2)
      parser (~> 2.0.0)
      rspec (~> 2.14.1)
      unparser (~> 0.1.4)

GIT
  remote: git://github.com/qianwang83/learnsprout.git
  revision: 32e5a489ff0be69112bb0d5a105ffcef4e2b71f4
  specs:
    learnsprout (0.0.4)
      faraday (>= 0.7.6)
      multi_json (~> 1.0)

GEM
  remote: https://rubygems.org/
  specs:
    Ascii85 (1.0.2)
    abstract_type (0.0.7)
    actionmailer (3.2.15)
      actionpack (= 3.2.15)
      mail (~> 2.5.4)
    actionpack (3.2.15)
      activemodel (= 3.2.15)
      activesupport (= 3.2.15)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      journey (~> 1.0.4)
      rack (~> 1.4.5)
      rack-cache (~> 1.2)
      rack-test (~> 0.6.1)
      sprockets (~> 2.2.1)
    activemodel (3.2.15)
      activesupport (= 3.2.15)
      builder (~> 3.0.0)
    activerecord (3.2.15)
      activemodel (= 3.2.15)
      activesupport (= 3.2.15)
      arel (~> 3.0.2)
      tzinfo (~> 0.3.29)
    activerecord-postgres-hstore (0.7.7)
      activerecord (>= 3.1)
      pg-hstore (>= 1.1.5)
      rake
    activeresource (3.2.15)
      activemodel (= 3.2.15)
      activesupport (= 3.2.15)
    activesupport (3.2.15)
      i18n (~> 0.6, >= 0.6.4)
      multi_json (~> 1.0)
    adamantium (0.1.0)
      ice_nine (~> 0.9)
      thread_safe (~> 0.1.2)
    addressable (2.3.5)
    afm (0.2.0)
    anima (0.1.1)
      abstract_type (~> 0.0.6)
      adamantium (~> 0.1.0)
      equalizer (~> 0.0.7)
    arel (3.0.3)
    ast (1.1.0)
    atomic (1.1.14)
    bcrypt-ruby (3.0.1)
    better_errors (1.0.1)
      coderay (>= 1.0.0)
      erubis (>= 2.6.6)
    binding_of_caller (0.7.2)
      debug_inspector (>= 0.0.1)
    builder (3.0.4)
    bullet (4.7.1)
      activesupport
      uniform_notifier (>= 1.4.0)
    capybara (2.2.0)
      mime-types (>= 1.16)
      nokogiri (>= 1.3.3)
      rack (>= 1.0.0)
      rack-test (>= 0.5.4)
      xpath (~> 2.0)
    carrierwave (0.9.0)
      activemodel (>= 3.2.0)
      activesupport (>= 3.2.0)
      json (>= 1.7)
    carrierwave-processing (0.0.2)
      carrierwave
    carrierwave_backgrounder (0.3.0)
      carrierwave (~> 0.5)
    celluloid (0.15.2)
      timers (~> 1.1.0)
    childprocess (0.3.9)
      ffi (~> 1.0, >= 1.0.11)
    coderay (1.1.0)
    coffee-rails (3.2.2)
      coffee-script (>= 2.2.0)
      railties (~> 3.2.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.6.3)
    concord (0.1.4)
      adamantium (~> 0.1)
      equalizer (~> 0.0.7)
    connection_pool (1.2.0)
    crack (0.4.1)
      safe_yaml (~> 0.9.0)
    daemons (1.1.9)
    database_cleaner (1.2.0)
    debug_inspector (0.0.2)
    descendants_tracker (0.0.3)
    diff-lcs (1.2.5)
    docile (1.1.1)
    encryptor (1.3.0)
    equalizer (0.0.8)
    erubis (2.7.0)
    eventmachine (1.0.3)
    excon (0.28.0)
    execjs (2.0.2)
    factory_girl (4.3.0)
      activesupport (>= 3.0.0)
    factory_girl_rails (4.3.0)
      factory_girl (~> 4.3.0)
      railties (>= 3.0.0)
    faker (1.2.0)
      i18n (~> 0.5)
    faraday (0.8.8)
      multipart-post (~> 1.2.0)
    ffi (1.9.3)
    fog (1.18.0)
      builder
      excon (~> 0.28.0)
      formatador (~> 0.2.0)
      mime-types
      multi_json (~> 1.0)
      net-scp (~> 1.1)
      net-ssh (>= 2.1.3)
      nokogiri (~> 1.5)
      ruby-hmac
    foreigner (1.6.0)
      activerecord (>= 3.0.0)
    formatador (0.2.4)
    friendly_id (4.0.10.1)
      activerecord (>= 3.0, < 4.0)
    gibberish (1.3.1)
    guard (2.2.4)
      formatador (>= 0.2.4)
      listen (~> 2.1)
      lumberjack (~> 1.0)
      pry (>= 0.9.12)
      thor (>= 0.18.1)
    guard-rspec (4.1.0)
      guard (>= 2.1.1)
      rspec (~> 2.14)
    guard-spork (1.5.1)
      childprocess (>= 0.2.3)
      guard (>= 1.1)
      spork (>= 0.8.4)
    haml (4.0.4)
      tilt
    haml-rails (0.4)
      actionpack (>= 3.1, < 4.1)
      activesupport (>= 3.1, < 4.1)
      haml (>= 3.1, < 4.1)
      railties (>= 3.1, < 4.1)
    hashery (2.1.1)
    hike (1.2.3)
    honeybadger (1.9.4)
      faraday (~> 0.7)
      json
    i18n (0.6.9)
    ice_nine (0.10.0)
    inflecto (0.0.2)
    journey (1.0.4)
    jquery-rails (2.2.1)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    json (1.8.1)
    launchy (2.4.2)
      addressable (~> 2.3)
    listen (2.3.1)
      celluloid (>= 0.15.2)
      rb-fsevent (>= 0.9.3)
      rb-inotify (>= 0.9)
    lumberjack (1.0.4)
    mail (2.5.4)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    mailgun_webhooks (0.0.2)
    method_source (0.8.2)
    mime-types (1.25.1)
    mini_magick (3.7.0)
      subexec (~> 0.2.1)
    mini_portile (0.5.2)
    multi_json (1.8.2)
    multimap (1.1.2)
    multipart-post (1.2.0)
    net-scp (1.1.2)
      net-ssh (>= 2.6.5)
    net-ssh (2.7.0)
    newrelic_rpm (3.6.9.171)
    nokogiri (1.6.0)
      mini_portile (~> 0.5.0)
    parser (2.0.0)
      ast (~> 1.1)
      slop (~> 3.4, >= 3.4.5)
    pdf-reader (1.3.3)
      Ascii85 (~> 1.0.0)
      afm (~> 0.2.0)
      hashery (~> 2.0)
      ruby-rc4
      ttfunk
    pg (0.17.0)
    pg-hstore (1.2.0)
    pg_array_parser (0.0.9)
    polyglot (0.3.3)
    postgres_ext (1.0.0)
      activerecord (~> 3.2.0)
      pg_array_parser (~> 0.0.9)
    prawn (0.12.0)
      pdf-reader (>= 0.9.0)
      ttfunk (~> 1.0.2)
    pry (0.9.12.4)
      coderay (~> 1.0)
      method_source (~> 0.8)
      slop (~> 3.4)
    quick_magick (0.8.0)
    quiet_assets (1.0.2)
      railties (>= 3.1, < 5.0)
    rack (1.4.5)
    rack-cache (1.2)
      rack (>= 0.4)
    rack-mini-profiler (0.1.31)
      rack (>= 1.1.3)
    rack-protection (1.5.1)
      rack
    rack-ssl (1.3.3)
      rack
    rack-test (0.6.2)
      rack (>= 1.0)
    railroady (1.1.1)
    rails (3.2.15)
      actionmailer (= 3.2.15)
      actionpack (= 3.2.15)
      activerecord (= 3.2.15)
      activeresource (= 3.2.15)
      activesupport (= 3.2.15)
      bundler (~> 1.0)
      railties (= 3.2.15)
    rails_12factor (0.0.2)
      rails_serve_static_assets
      rails_stdout_logging
    rails_is_forked (0.0.1)
    rails_serve_static_assets (0.0.1)
    rails_stdout_logging (0.0.3)
    railties (3.2.15)
      actionpack (= 3.2.15)
      activesupport (= 3.2.15)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      rdoc (~> 3.4)
      thor (>= 0.14.6, < 2.0)
    rake (10.1.0)
    rb-fsevent (0.9.3)
    rb-inotify (0.9.2)
      ffi (>= 0.5.0)
    rdoc (3.12.2)
      json (~> 1.4)
    redis (3.0.6)
    redis-namespace (1.3.2)
      redis (~> 3.0.4)
    rest-client (1.6.7)
      mime-types (>= 1.16)
    right_aws (3.1.0)
      right_http_connection (>= 1.2.5)
    right_http_connection (1.4.0)
    rmagick (2.13.2)
    rspec (2.14.1)
      rspec-core (~> 2.14.0)
      rspec-expectations (~> 2.14.0)
      rspec-mocks (~> 2.14.0)
    rspec-core (2.14.7)
    rspec-expectations (2.14.4)
      diff-lcs (>= 1.1.3, < 2.0)
    rspec-mocks (2.14.4)
    rspec-rails (2.14.0)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
      rspec-core (~> 2.14.0)
      rspec-expectations (~> 2.14.0)
      rspec-mocks (~> 2.14.0)
    ruby-hmac (0.4.0)
    ruby-rc4 (0.1.5)
    ruby_is_forked (0.0.1)
    rubyzip (1.0.0)
    safe_yaml (0.9.7)
    sass (3.2.12)
    sass-rails (3.2.6)
      railties (~> 3.2.0)
      sass (>= 3.1.10)
      tilt (~> 1.3)
    selenium-webdriver (2.37.0)
      childprocess (>= 0.2.5)
      multi_json (~> 1.0)
      rubyzip (~> 1.0.0)
      websocket (~> 1.0.4)
    shoulda-matchers (2.4.0)
      activesupport (>= 3.0.0)
    sidekiq (2.17.0)
      celluloid (>= 0.15.2)
      connection_pool (>= 1.0.0)
      json
      redis (>= 3.0.4)
      redis-namespace (>= 1.3.1)
    simplecov (0.8.2)
      docile (~> 1.1.0)
      multi_json
      simplecov-html (~> 0.8.0)
    simplecov-html (0.8.0)
    sinatra (1.4.4)
      rack (~> 1.4)
      rack-protection (~> 1.4)
      tilt (~> 1.3, >= 1.3.4)
    slop (3.4.7)
    spork (0.9.2)
    sprockets (2.2.2)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    strong_parameters (0.2.1)
      actionpack (~> 3.0)
      activemodel (~> 3.0)
      railties (~> 3.0)
    subexec (0.2.3)
    thin (1.6.1)
      daemons (>= 1.0.9)
      eventmachine (>= 1.0.0)
      rack (>= 1.0.0)
    thor (0.18.1)
    thread_safe (0.1.3)
      atomic
    tilt (1.4.1)
    timers (1.1.0)
    treetop (1.4.15)
      polyglot
      polyglot (>= 0.3.1)
    ttfunk (1.0.3)
    turbo-sprockets-rails3 (0.3.10)
      railties (> 3.2.8, < 4.0.0)
      sprockets (>= 2.0.0)
    tzinfo (0.3.38)
    uglifier (2.3.2)
      execjs (>= 0.3.0)
      json (>= 1.8.0)
    unf (0.1.3)
      unf_ext
    unf_ext (0.0.6)
    uniform_notifier (1.4.0)
    unparser (0.1.5)
      abstract_type (~> 0.0.7)
      adamantium (~> 0.1.0)
      concord (~> 0.1.4)
      equalizer (~> 0.0.7)
      parser (~> 2.0.0)
    vcr (2.8.0)
    webmock (1.16.0)
      addressable (>= 2.2.7)
      crack (>= 0.3.2)
    websocket (1.0.7)
    xpath (2.0.0)
      nokogiri (~> 1.3)

PLATFORMS
  ruby

DEPENDENCIES
  activerecord-postgres-hstore
  bcrypt-ruby (= 3.0.1)
  better_errors
  binding_of_caller
  bullet
  capybara
  carrierwave
  carrierwave-processing
  carrierwave_backgrounder
  coffee-rails
  database_cleaner
  encryptor
  factory_girl_rails
  faker
  fog
  foreigner
  friendly_id (~> 4.0.10)
  gibberish
  guard-rspec
  guard-spork
  haml-rails
  honeybadger
  jquery-rails (= 2.2.1)
  json
  launchy
  learnsprout!
  mailgun_webhooks
  mime-types
  mini_magick
  multimap
  mutant!
  newrelic_rpm
  pg
  postgres_ext
  prawn
  quick_magick
  quiet_assets
  rack-mini-profiler
  railroady
  rails (= 3.2.15)
  rails_12factor
  rails_is_forked
  rest-client
  right_aws
  rmagick
  rspec-rails
  ruby_is_forked
  sass-rails
  selenium-webdriver
  shoulda-matchers
  sidekiq
  simplecov
  sinatra
  spork
  strong_parameters
  thin
  turbo-sprockets-rails3
  uglifier
  unf
  vcr
  webmock

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

Thanks. I just tested with rails 3.2.15, multi_json-1.8.2, json-1.8.1, and ruby 2.0.0p24 -- no errors. Are you doing anything special with encodings in your app? Also, can you send me the output of rake honeybadger:test?

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

Looks like maybe something to do with rack-mini-profiler...?

Better Errors detected: temporarily disabling middleware.
Configuration:
                  api_key: "obfuscated"
        backtrace_filters: [#<Proc:0x000000034b4d50@/home/fletch/.rvm/gems/ruby-2.
 development_environments: []
         environment_name: "development"
                     host: "api.honeybadger.io"
        http_open_timeout: 2
        http_read_timeout: 5
                   ignore: ["ActiveRecord::RecordNotFound", "ActionController::Rou
        ignore_by_filters: []
        ignore_user_agent: []
            notifier_name: "Honeybadger Notifier"
             notifier_url: "https://github.com/honeybadger-io/honeybadger-ruby"
         notifier_version: "1.9.4"
           params_filters: ["password", "password_confirmation"]
             project_root: #<Pathname:/home/fletch/Dropbox/projects/synchroform>
                     port: 443
                 protocol: "https"
               proxy_host: nil
               proxy_pass: nil
               proxy_port: nil
               proxy_user: nil
                   secure: true
use_system_ssl_cert_chain: false
                framework: "Rails: 3.2.15"
         user_information: "Honeybadger Error {{error_id}}"
   rescue_rake_exceptions: false
    source_extract_radius: 2
     send_request_session: true
                    debug: true
              fingerprint: nil
                 hostname: "fletch-ThinkPad-W520"
Setting up the Controller.
Processing request.


Started GET "/verify" for  at 2013-12-06 10:53:28 -0800
** [Honeybadger] Success: Faraday::Response
** [Honeybadger] Environment Info: [Ruby: 2.0.0] [Rails: 3.2.15] [Env: development]
** [Honeybadger] Response from Honeybadger: 
{"id":"8a42c786-61db-42cc-a940-683b387b3c42"}
rake aborted!
no implicit conversion of nil into String
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/storage/file_store.rb:26:in `+'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/storage/file_store.rb:26:in `path'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/storage/file_store.rb:21:in `[]='
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/storage/file_store.rb:73:in `block in set_unviewed'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/storage/file_store.rb:69:in `synchronize'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/storage/file_store.rb:69:in `set_unviewed'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/rack-mini-profiler-0.1.31/Ruby/lib/mini_profiler/profiler.rb:325:in `call'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/honeybadger-1.9.4/lib/honeybadger/rails3_tasks.rb:92:in `block (2 levels) in <top (required)>'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
/home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => honeybadger:test
(See full trace by running task with --trace)

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

A fix for this was released in 1.9.5.

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

I'm still getting this exception with 1.9.5 on heroku.

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

@joshuap I'm only getting this exception on the staging server at the moment, though. We still haven't deployed ruby 2.0.0 to production, though, so it may be related to that. They're configured almost exactly the same, except that production has an asset_host, as well as force_ssl.

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

@joshuap Pushed to ruby 2.0.0 on our master branch and now we're seeing this exception there as well.

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

@mockdeep is it the exact same error message and stack trace? This should have been fixed, but I can re-investigate. Same rails/rack/rack-mini-profiler versions as well?

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

@joshuap My Gemfile.lock and the stack trace are below. Some slight version bumps in the gems, but the stack trace looks the same to me.

GIT
  remote: git://github.com/mbj/mutant.git
  revision: ca40dcedc5577f6082b745bd75cab8a40c175831
  specs:
    mutant (0.3.0)
      abstract_type (~> 0.0.7)
      adamantium (~> 0.1.0)
      anima (~> 0.1.1)
      concord (~> 0.1.4)
      descendants_tracker (~> 0.0.1)
      equalizer (~> 0.0.7)
      ice_nine (~> 0.9)
      inflecto (~> 0.0.2)
      parser (~> 2.0.0)
      rspec (~> 2.14.1)
      unparser (~> 0.1.4)

GIT
  remote: git://github.com/qianwang83/learnsprout.git
  revision: 32e5a489ff0be69112bb0d5a105ffcef4e2b71f4
  specs:
    learnsprout (0.0.4)
      faraday (>= 0.7.6)
      multi_json (~> 1.0)

GEM
  remote: https://rubygems.org/
  specs:
    Ascii85 (1.0.2)
    abstract_type (0.0.7)
    actionmailer (3.2.16)
      actionpack (= 3.2.16)
      mail (~> 2.5.4)
    actionpack (3.2.16)
      activemodel (= 3.2.16)
      activesupport (= 3.2.16)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      journey (~> 1.0.4)
      rack (~> 1.4.5)
      rack-cache (~> 1.2)
      rack-test (~> 0.6.1)
      sprockets (~> 2.2.1)
    activemodel (3.2.16)
      activesupport (= 3.2.16)
      builder (~> 3.0.0)
    activerecord (3.2.16)
      activemodel (= 3.2.16)
      activesupport (= 3.2.16)
      arel (~> 3.0.2)
      tzinfo (~> 0.3.29)
    activerecord-postgres-hstore (0.7.7)
      activerecord (>= 3.1)
      pg-hstore (>= 1.1.5)
      rake
    activeresource (3.2.16)
      activemodel (= 3.2.16)
      activesupport (= 3.2.16)
    activesupport (3.2.16)
      i18n (~> 0.6, >= 0.6.4)
      multi_json (~> 1.0)
    adamantium (0.1.0)
      ice_nine (~> 0.9)
      thread_safe (~> 0.1.2)
    addressable (2.3.5)
    afm (0.2.0)
    anima (0.1.1)
      abstract_type (~> 0.0.6)
      adamantium (~> 0.1.0)
      equalizer (~> 0.0.7)
    arel (3.0.3)
    ast (1.1.0)
    atomic (1.1.14)
    bcrypt-ruby (3.0.1)
    better_errors (1.0.1)
      coderay (>= 1.0.0)
      erubis (>= 2.6.6)
    binding_of_caller (0.7.2)
      debug_inspector (>= 0.0.1)
    builder (3.0.4)
    bullet (4.7.1)
      activesupport
      uniform_notifier (>= 1.4.0)
    capybara (2.2.0)
      mime-types (>= 1.16)
      nokogiri (>= 1.3.3)
      rack (>= 1.0.0)
      rack-test (>= 0.5.4)
      xpath (~> 2.0)
    carrierwave (0.9.0)
      activemodel (>= 3.2.0)
      activesupport (>= 3.2.0)
      json (>= 1.7)
    carrierwave-processing (0.0.2)
      carrierwave
    carrierwave_backgrounder (0.3.0)
      carrierwave (~> 0.5)
    celluloid (0.15.2)
      timers (~> 1.1.0)
    childprocess (0.3.9)
      ffi (~> 1.0, >= 1.0.11)
    coderay (1.1.0)
    coffee-rails (3.2.2)
      coffee-script (>= 2.2.0)
      railties (~> 3.2.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.6.3)
    concord (0.1.4)
      adamantium (~> 0.1)
      equalizer (~> 0.0.7)
    connection_pool (1.2.0)
    crack (0.4.1)
      safe_yaml (~> 0.9.0)
    daemons (1.1.9)
    database_cleaner (1.2.0)
    debug_inspector (0.0.2)
    descendants_tracker (0.0.3)
    diff-lcs (1.2.5)
    docile (1.1.1)
    encryptor (1.3.0)
    equalizer (0.0.8)
    erubis (2.7.0)
    eventmachine (1.0.3)
    excon (0.28.0)
    execjs (2.0.2)
    factory_girl (4.3.0)
      activesupport (>= 3.0.0)
    factory_girl_rails (4.3.0)
      factory_girl (~> 4.3.0)
      railties (>= 3.0.0)
    faker (1.2.0)
      i18n (~> 0.5)
    faraday (0.8.8)
      multipart-post (~> 1.2.0)
    ffi (1.9.3)
    fog (1.18.0)
      builder
      excon (~> 0.28.0)
      formatador (~> 0.2.0)
      mime-types
      multi_json (~> 1.0)
      net-scp (~> 1.1)
      net-ssh (>= 2.1.3)
      nokogiri (~> 1.5)
      ruby-hmac
    foreigner (1.6.0)
      activerecord (>= 3.0.0)
    formatador (0.2.4)
    friendly_id (4.0.10.1)
      activerecord (>= 3.0, < 4.0)
    gibberish (1.3.1)
    guard (2.2.5)
      formatador (>= 0.2.4)
      listen (~> 2.1)
      lumberjack (~> 1.0)
      pry (>= 0.9.12)
      thor (>= 0.18.1)
    guard-rspec (4.2.0)
      guard (>= 2.1.1)
      rspec (>= 2.14, < 4.0)
    guard-spork (1.5.1)
      childprocess (>= 0.2.3)
      guard (>= 1.1)
      spork (>= 0.8.4)
    haml (4.0.4)
      tilt
    haml-rails (0.4)
      actionpack (>= 3.1, < 4.1)
      activesupport (>= 3.1, < 4.1)
      haml (>= 3.1, < 4.1)
      railties (>= 3.1, < 4.1)
    hashery (2.1.1)
    hike (1.2.3)
    honeybadger (1.10.1)
      json
    i18n (0.6.9)
    ice_nine (0.10.0)
    inflecto (0.0.2)
    journey (1.0.4)
    jquery-rails (2.2.1)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    json (1.8.1)
    launchy (2.4.2)
      addressable (~> 2.3)
    listen (2.4.0)
      celluloid (>= 0.15.2)
      rb-fsevent (>= 0.9.3)
      rb-inotify (>= 0.9)
    lumberjack (1.0.4)
    mail (2.5.4)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    mailgun_webhooks (0.0.2)
    method_source (0.8.2)
    mime-types (1.25.1)
    mini_magick (3.7.0)
      subexec (~> 0.2.1)
    mini_portile (0.5.2)
    multi_json (1.8.2)
    multimap (1.1.2)
    multipart-post (1.2.0)
    net-scp (1.1.2)
      net-ssh (>= 2.6.5)
    net-ssh (2.7.0)
    newrelic_rpm (3.7.0.177)
    nokogiri (1.6.1)
      mini_portile (~> 0.5.0)
    parser (2.0.0)
      ast (~> 1.1)
      slop (~> 3.4, >= 3.4.5)
    pdf-reader (1.3.3)
      Ascii85 (~> 1.0.0)
      afm (~> 0.2.0)
      hashery (~> 2.0)
      ruby-rc4
      ttfunk
    pg (0.17.0)
    pg-hstore (1.2.0)
    pg_array_parser (0.0.9)
    polyglot (0.3.3)
    postgres_ext (1.0.0)
      activerecord (~> 3.2.0)
      pg_array_parser (~> 0.0.9)
    prawn (0.13.0)
      afm
      pdf-reader (~> 1.2)
      ruby-rc4
      ttfunk (~> 1.0.3)
    pry (0.9.12.4)
      coderay (~> 1.0)
      method_source (~> 0.8)
      slop (~> 3.4)
    quick_magick (0.8.0)
    quiet_assets (1.0.2)
      railties (>= 3.1, < 5.0)
    rack (1.4.5)
    rack-cache (1.2)
      rack (>= 0.4)
    rack-mini-profiler (0.1.31)
      rack (>= 1.1.3)
    rack-protection (1.5.1)
      rack
    rack-ssl (1.3.3)
      rack
    rack-test (0.6.2)
      rack (>= 1.0)
    railroady (1.1.1)
    rails (3.2.16)
      actionmailer (= 3.2.16)
      actionpack (= 3.2.16)
      activerecord (= 3.2.16)
      activeresource (= 3.2.16)
      activesupport (= 3.2.16)
      bundler (~> 1.0)
      railties (= 3.2.16)
    rails_12factor (0.0.2)
      rails_serve_static_assets
      rails_stdout_logging
    rails_is_forked (0.0.1)
    rails_serve_static_assets (0.0.1)
    rails_stdout_logging (0.0.3)
    railties (3.2.16)
      actionpack (= 3.2.16)
      activesupport (= 3.2.16)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      rdoc (~> 3.4)
      thor (>= 0.14.6, < 2.0)
    rake (10.1.0)
    rb-fsevent (0.9.3)
    rb-inotify (0.9.3)
      ffi (>= 0.5.0)
    rdoc (3.12.2)
      json (~> 1.4)
    redis (3.0.6)
    redis-namespace (1.4.1)
      redis (~> 3.0.4)
    rest-client (1.6.7)
      mime-types (>= 1.16)
    right_aws (3.1.0)
      right_http_connection (>= 1.2.5)
    right_http_connection (1.4.0)
    rmagick (2.13.2)
    rspec (2.14.1)
      rspec-core (~> 2.14.0)
      rspec-expectations (~> 2.14.0)
      rspec-mocks (~> 2.14.0)
    rspec-core (2.14.7)
    rspec-expectations (2.14.4)
      diff-lcs (>= 1.1.3, < 2.0)
    rspec-mocks (2.14.4)
    rspec-rails (2.14.0)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
      rspec-core (~> 2.14.0)
      rspec-expectations (~> 2.14.0)
      rspec-mocks (~> 2.14.0)
    ruby-hmac (0.4.0)
    ruby-rc4 (0.1.5)
    ruby_is_forked (0.0.1)
    rubyzip (1.1.0)
    safe_yaml (0.9.7)
    sass (3.2.12)
    sass-rails (3.2.6)
      railties (~> 3.2.0)
      sass (>= 3.1.10)
      tilt (~> 1.3)
    selenium-webdriver (2.39.0)
      childprocess (>= 0.2.5)
      multi_json (~> 1.0)
      rubyzip (~> 1.0)
      websocket (~> 1.0.4)
    shoulda-matchers (2.4.0)
      activesupport (>= 3.0.0)
    sidekiq (2.17.1)
      celluloid (>= 0.15.2)
      connection_pool (>= 1.0.0)
      json
      redis (>= 3.0.6)
      redis-namespace (>= 1.3.1)
    simplecov (0.8.2)
      docile (~> 1.1.0)
      multi_json
      simplecov-html (~> 0.8.0)
    simplecov-html (0.8.0)
    sinatra (1.4.4)
      rack (~> 1.4)
      rack-protection (~> 1.4)
      tilt (~> 1.3, >= 1.3.4)
    slop (3.4.7)
    spork (0.9.2)
    sprockets (2.2.2)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    strong_parameters (0.2.1)
      actionpack (~> 3.0)
      activemodel (~> 3.0)
      railties (~> 3.0)
    subexec (0.2.3)
    thin (1.6.1)
      daemons (>= 1.0.9)
      eventmachine (>= 1.0.0)
      rack (>= 1.0.0)
    thor (0.18.1)
    thread_safe (0.1.3)
      atomic
    tilt (1.4.1)
    timers (1.1.0)
    treetop (1.4.15)
      polyglot
      polyglot (>= 0.3.1)
    ttfunk (1.0.3)
    turbo-sprockets-rails3 (0.3.11)
      railties (> 3.2.8, < 4.0.0)
      sprockets (>= 2.2.0)
    tzinfo (0.3.38)
    uglifier (2.3.3)
      execjs (>= 0.3.0)
      json (>= 1.8.0)
    unf (0.1.3)
      unf_ext
    unf_ext (0.0.6)
    uniform_notifier (1.4.0)
    unparser (0.1.5)
      abstract_type (~> 0.0.7)
      adamantium (~> 0.1.0)
      concord (~> 0.1.4)
      equalizer (~> 0.0.7)
      parser (~> 2.0.0)
    vcr (2.8.0)
    webmock (1.16.1)
      addressable (>= 2.2.7)
      crack (>= 0.3.2)
    websocket (1.0.7)
    xpath (2.0.0)
      nokogiri (~> 1.3)

PLATFORMS
  ruby

DEPENDENCIES
  activerecord-postgres-hstore
  bcrypt-ruby (= 3.0.1)
  better_errors
  binding_of_caller
  bullet
  capybara
  carrierwave
  carrierwave-processing
  carrierwave_backgrounder
  coffee-rails
  database_cleaner
  encryptor
  factory_girl_rails
  faker
  fog
  foreigner
  friendly_id (~> 4.0.10)
  gibberish
  guard-rspec
  guard-spork
  haml-rails
  honeybadger
  jquery-rails (= 2.2.1)
  json
  launchy
  learnsprout!
  mailgun_webhooks
  mime-types
  mini_magick
  multimap
  mutant!
  newrelic_rpm
  pg
  postgres_ext
  prawn
  quick_magick
  quiet_assets
  rack-mini-profiler
  railroady
  rails (= 3.2.16)
  rails_12factor
  rails_is_forked
  rest-client
  right_aws
  rmagick
  rspec-rails
  ruby_is_forked
  sass-rails
  selenium-webdriver
  shoulda-matchers
  sidekiq
  simplecov
  sinatra
  spork
  strong_parameters
  thin
  turbo-sprockets-rails3
  uglifier
  unf
  vcr
  webmock
** [Honeybadger] [Honeybadger::Sender#ping] Error: JSON::ParserError - 757: unexpected token at '�'
Backtrace:
/app/vendor/bundle/ruby/2.0.0/gems/json-1.8.1/lib/json/common.rb:155:in `parse'
    /app/vendor/bundle/ruby/2.0.0/gems/json-1.8.1/lib/json/common.rb:155:in `parse'
    /app/vendor/bundle/ruby/2.0.0/gems/honeybadger-1.10.1/lib/honeybadger/sender.rb:70:in `ping'
    /app/vendor/bundle/ruby/2.0.0/gems/honeybadger-1.10.1/lib/honeybadger/railtie.rb:48:in `block in <class:Railtie>'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:34:in `call'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:42:in `each'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `block in run_initializers'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing'
    /app/config/environment.rb:4:in `<top (required)>'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
    /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:103:in `require_environment!'
    /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
    /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
    /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
    /app/vendor/bundle/ruby/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
    /app/vendor/bundle/ruby/2.0.0/bin/rake:23:in `load'
    /app/vendor/bundle/ruby/2.0.0/bin/rake:23:in `<main>'

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

Thanks, we're working on it. To confirm, this error only appears when running the rake task? Are you getting other error notifications?

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

@joshuap Yeah, now it happens both in production and staging. I've looked over the diff between deploys and the only thing that really stands out to me is the ruby 2.0.0 upgrade, though maybe it was one of the other gem versions that was bumped. No new gems were added to our Gemfile. The only config change was adding config.i18n.enforce_available_locales = true to application.rb.

from honeybadger-ruby.

joshuap avatar joshuap commented on July 4, 2024

OK, I think we should move this over to support as I can't reproduce with the same versions. There could be some sort of connectivity error. Could you email use at support at honeybadger.io? It would help if you could attach the output from a fresh run of rake honeybadger:test --trace from your production environment. We'll get to the bottom of this!

from honeybadger-ruby.

mockdeep avatar mockdeep commented on July 4, 2024

@joshuap Sure, will do. Thanks!

from honeybadger-ruby.

adamof avatar adamof commented on July 4, 2024

For the other lost souls:
http://docs.honeybadger.io/article/193-metrics-not-delivering-and-json-parse-errors

from honeybadger-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.