{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-ruby/issues/269","labels_url":"https://api.github.com/repos/getsentry/raven-ruby/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-ruby/issues/269/comments","events_url":"https://api.github.com/repos/getsentry/raven-ruby/issues/269/events","html_url":"https://github.com/getsentry/raven-ruby/issues/269","id":52407180,"number":269,"title":"Encoding::ConverterNotFoundError: code converter not found (US-ASCII to UTF-16)","user":{"login":"shedd","id":180497,"avatar_url":"https://avatars.githubusercontent.com/u/180497?v=3","gravatar_id":"","url":"https://api.github.com/users/shedd","html_url":"https://github.com/shedd","followers_url":"https://api.github.com/users/shedd/followers","following_url":"https://api.github.com/users/shedd/following{/other_user}","gists_url":"https://api.github.com/users/shedd/gists{/gist_id}","starred_url":"https://api.github.com/users/shedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shedd/subscriptions","organizations_url":"https://api.github.com/users/shedd/orgs","repos_url":"https://api.github.com/users/shedd/repos","events_url":"https://api.github.com/users/shedd/events{/privacy}","received_events_url":"https://api.github.com/users/shedd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getsentry/raven-ruby/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-12-18T19:39:18Z","updated_at":"2015-04-30T21:48:28Z","closed_at":null,"body":"Saw this exception today from the Raven Ruby library:\r\n\r\n```\r\nError Message:\r\nEncoding::ConverterNotFoundError: code converter not found (US-ASCII to UTF-16)\r\n\r\nWhere:\r\n[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/sentry-raven-0.12.2/lib/raven/processor/utf8conversion.rb, line 20\r\n```"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-ruby/issues/comments/97980858","html_url":"https://github.com/getsentry/raven-ruby/issues/269#issuecomment-97980858","issue_url":"https://api.github.com/repos/getsentry/raven-ruby/issues/269","id":97980858,"user":{"login":"jeanbaptistevilain","id":651067,"avatar_url":"https://avatars.githubusercontent.com/u/651067?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanbaptistevilain","html_url":"https://github.com/jeanbaptistevilain","followers_url":"https://api.github.com/users/jeanbaptistevilain/followers","following_url":"https://api.github.com/users/jeanbaptistevilain/following{/other_user}","gists_url":"https://api.github.com/users/jeanbaptistevilain/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanbaptistevilain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanbaptistevilain/subscriptions","organizations_url":"https://api.github.com/users/jeanbaptistevilain/orgs","repos_url":"https://api.github.com/users/jeanbaptistevilain/repos","events_url":"https://api.github.com/users/jeanbaptistevilain/events{/privacy}","received_events_url":"https://api.github.com/users/jeanbaptistevilain/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T21:48:28Z","updated_at":"2015-04-30T21:48:28Z","body":"I'm getting the error while trying to send a test event after completing the Sentry set up on a Rails 3.2 app. The app runs on a Debian 5.0.10 + Apache / Passenger.\r\nBelow is a more complete backtrace.\r\n\r\n`xxx@xxx:~/www/xxx$ bundle exec rake raven:test RAILS_ENV=production\r\n** [Raven] Raven 0.13.1 ready to catch errors\r\nClient configuration:\r\n-> server: https://app.getsentry.com\r\n-> project_id: xxxx\r\n-> public_key: xxxxxxxxx\r\n-> secret_key: xxxxxxxxx\r\n\r\nSending a test event:\r\n/gems/gems/sentry-raven-0.13.1/lib/raven/processor/utf8conversion.rb:20:in 'encode': code converter not found (ASCII-8BIT to UTF-16) (Encoding::ConverterNotFoundError)\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/processor/utf8conversion.rb:20:in 'clean_invalid_utf8_bytes'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/processor/utf8conversion.rb:10:in 'process'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/processor/utf8conversion.rb:8:in 'block in process'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/processor/utf8conversion.rb:8:in 'merge'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/processor/utf8conversion.rb:8:in 'process'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/client.rb:64:in 'block in encode'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/client.rb:64:in 'each'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/client.rb:64:in 'reduce'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/client.rb:64:in 'encode'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/client.rb:37:in 'send'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/base.rb:83:in 'send'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/base.rb:116:in 'capture_type'\r\n        from /gems/gems/sentry-raven-0.13.1/lib/raven/integrations/rake.rb:9:in 'display_error_message'\r\n        from /gems/gems/rake-10.1.0/lib/rake/application.rb:174:in 'rescue in standard_exception_handling'\r\n        from /gems/gems/rake-10.1.0/lib/rake/application.rb:165:in 'standard_exception_handling'\r\n        from /gems/gems/rake-10.1.0/lib/rake/application.rb:75:in 'run'\r\n        from /gems/gems/rake-10.1.0/bin/rake:33:in '<top (required)>'\r\n        from /gems/bin/rake:19:in 'load'\r\n        from /gems/bin/rake:19:in '<main>'`\r\n\r\nNote that the issue cannot be reproduced in my local dev environment (Windows) as the event gets fired properly.\r\nLet me know if I can help, I was actually looking forward to trying Sentry in my production environment.\r\n"}}