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

Does not work with rsolr 2 #28

Closed
JasonBarnabe opened this issue Jun 8, 2017 · 1 comment
Closed

Does not work with rsolr 2 #28

JasonBarnabe opened this issue Jun 8, 2017 · 1 comment

Comments

@JasonBarnabe
Copy link

After upgrading to rsolr 2.0.2, tests on my Jenkins server are failing (yet are succeeding locally). Any test using @search results in

  RSolr::Error::Http - 503 Service Unavailable
  Error: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  <html><head>
  <meta http-equiv="Content-Type" CONTENT="text/html; charset=utf-8">
  <title>ERROR: The requested URL could not be retrieved</title>
  <style type="text/css"><!-- 
   /*
   Stylesheet for Squid Error pages
   Adapted from design by Free CSS Templates
   http://www.freecsstemplates.org
   Released for free under a Creative Commons Attribution 2.5 License
  */

  URI: http://localhost:8983/solr/test/update?wt=json
  Request Headers: {"Content-Type"=>"application/json"}
  Request Data: "{\"delete\":{\"query\":\"*:*\"}}"

  Backtrace: (eval):2:in `post' (RSolr::Error::Http)
  (eval):2:in `post'

Reverting to rsolr 1.1.2 works. Using the latest from the sunspot_test master branch does not work. solr.log shows no errors, but only shows the requests to /admin/ping.

I have tried clearing out the solr directory and copying from sunspot_solr-2.2.7/solr/solr/. I have also tried patching wait_until_solr_starts to sleep for 5 seconds first.

Here is my solr.log.

@JasonBarnabe
Copy link
Author

This is a problem with rsolr 2 and no_proxy. The ping URL worked because it does go through rsolr 2.

rsolr/rsolr#182

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