Active
Project:
Apache Solr Search
Version:
7.x-1.1
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2013 at 21:04 UTC
Updated:
23 Jun 2014 at 09:58 UTC
Jump to comment: Most recent
Comments
Comment #1
mkalkbrennerSeems like the connect requires basic authentication. Try to add your credentials to the Solr server URL:
https://user:password@www.example.com/Comment #2
Rob Sears-1 commentedThis is a known issue with the way the apachesolr module interacts with websolr. There is a temporary fix available and we're working to push out a better long term solution shortly.
Comment #3
nz commentedWebsolr cofounder here. I'd love to get some feedback from one of the module developers so I can better understand what's going on in this particular case from the module's end.
On our end, we're limiting the access to stats.jsp due to a general preference to avoid exposing system level statistics in our shared clusters. And stats.jsp has quite a lot to share about the server that it's running on.
It looks like the module is somewhat tolerant of an empty response here, it's just the flat-out 401 that is causing an error message. We're considering sending back a 200 with a more or less empty XML response in it to get past this. Does that sound like a reasonable workaround on our end?
Alternatively, could the conditionals around this stats check be loosened up a bit? Or perhaps instead defer to /admin/luke to determine some of the more basic index stats, like number of documents and the size of the index?
Feedback welcome :)
—Nick
Comment #4
Rosamunda commentedThanks!
Comment #5
pwolanin commentedthere are a number of values that don't seem to be available from Luke, but an empty 200 might at least be less ugly.
For Solr 4 we are currently trying to use admin/mbeans instead of admin/stats.jsp, so I'm not sure whether that exposes less info?
We could explore using that for Solr 3 as an option in the module.
Comment #6
pbuyle commentedWebSolr also report 401 error on
admin/system.Comment #7
alex.bukach commentedSame issue. Search API Solr tries to check Solr version at
admin/systemwith 401 code.Comment #8
nick_vhSearch API Solr is not something we can solve here. Websolr should at least give you access to admin/system