ruby on rails 3 - "flying-sphinx start" results in Faraday::Error::ParsingError (for internal server error response) -
i getting below error while reindex or restart flying sphinix on heroku
running `flying-sphinx start` attached terminal... up, run.8515/app/.bundle/gems/ruby/1.8/gems/json-1.7.5/lib/json/common.rb:155:in `parse': 757: unexpected token @ '<!doctype html> (faraday::error::parsingerror) <html> <head> <title>we're sorry, went wrong (500)</title> <style type="text/css"> body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } div.dialog { width: 25em; padding: 0 4em; margin: 4em auto 0 auto; border: 1px solid #ccc; border-right-color: #999; border-bottom-color: #999; } h1 { font-size: 100%; color: #f00; line-height: 1.5em; } </style> </head> <body> <!-- file lives in public/500.html --> <div class="dialog"> <h1>we're sorry, went wrong.</h1> <p>we've been notified issue , we'll take @ shortly.</p> </div> </body>
i have restart thinking sphnix using command heroku run flying-sphinx restart
it looks you've got search daemon running. need kill first thinking sphinx , retry flying sphinx reindex or restart.
here's answer show how: thinking sphinx after deployment - thinkingsphinx::sphinxerror (unknown local index 'user_core' in search request):