OSX upgrade to ElCapitan breaks solr (works partially)

20 views
Skip to first unread message

Rajesh Shah

unread,
Aug 5, 2016, 10:57:58 AM8/5/16
to Sunspot
Rails 3.2.21, Ruby 1.9.3, sunspot_solr 2.2.2, rsolr 1.0.13 java 1.8

App was working and then upgraded OSX and all got broken. Fixed rails and other gems, but solr is still a problem. Seems to work partially

------------

RSolr::Error::Http in HomePageController#login

RSolr::Error::Http - 503 Service Unavailable
Error:     Server is shutting down or failed to initialize

URI: http://localhost:9090/solr/default/update?wt=ruby
------

Was able to remove stale pids and reindex but lots of errors

-------------------
> rake sunspot:solr:reindex
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/shah/dev/src/pwx/code/Rakefile:7)
Error - RSolr::Error::Http - 503 Service Unavailable - retrying...
Error - RSolr::Error::Http - 503 Service Unavailable - ignoring...
Error - RSolr::Error::Http - 503 Service Unavailable - retrying...
Error - RSolr::Error::Http - 503 Service Unavailable - ignoring...
[#                                                                                       ] [   50/24113] [  0.21%] [00:01] [13:26] [   29.82/s]Error - RSolr::Error::Http - 503 Service Unavailable - retrying...
Error - RSolr::Error::Http - 503 Service Unavailable - ignoring...
[#                                                                                       ] [  100/24113] [  0.41%] [00:02] [11:27] [   34.94/s]

... hundreds ...

[########################################################################################] [24092/24113] [ 99.91%] [03:00] [00:00] [  133.70/s]Error - RSolr::Error::Http - 503 Service Unavailable - retrying...
Error - RSolr::Error::Http - 503 Service Unavailable - ignoring...
[########################################################################################] [24113/24113] [100.00%] [03:00] [00:00] [  133.70/s]Error - RSolr::Error::Http - 503 Service Unavailable - retrying...
Error - RSolr::Error::Http - 503 Service Unavailable - ignoring...

----------------
seems connection is able to work on retries in solr:reindex but not from rails (no retries).

thanks,
-r
Reply all
Reply to author
Forward
0 new messages