[
https://issues.apache.org/jira/browse/SOLR-6625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650283#comment-14650283
]
Yonik Seeley commented on SOLR-6625:
------------------------------------
I haven't checked 5x yet, but I'm having issues on trunk:
{code}
/opt/code/lusolr_clean2/solr$ bin/solr start
Waiting to see Solr listening on port 8983 [|]
Started Solr server on port 8983 (pid=69801). Happy searching!
/opt/code/lusolr_clean2/solr$ bin/solr create -c demo
ERROR: create failed due to: A SolrHttpContext object must be passed in as
context. Context:
{http.request=org.apache.http.impl.client.RequestWrapper@4e1d422d,
http.request-config=[expectContinueEnabled=false, proxy=null,
localAddress=null, cookieSpec=null, redirectsEnabled=false,
relativeRedirectsAllowed=true, maxRedirects=50, circularRedirectsAllowed=false,
authenticationEnabled=true, targetPreferredAuthSchemes=null,
proxyPreferredAuthSchemes=null, connectionRequestTimeout=0, connectTimeout=0,
socketTimeout=0, decompressionEnabled=true],
http.auth.proxy-scope=state:UNCHALLENGED;, http.auth.credentials-provider={},
http.scheme-registry=org.apache.http.conn.scheme.SchemeRegistry@66480dd7,
http.cookie-spec=best-match, http.cookie-store=[],
http.connection=org.apache.http.impl.conn.ManagedClientConnectionImpl@52a86356,
http.auth.target-scope=state:UNCHALLENGED;,
http.cookiespec-registry=org.apache.http.cookie.CookieSpecRegistry@5ce81285,
http.target_host=http://localhost:8983, http.route={}->http://localhost:8983,
http.cookie-origin=[localhost:8983/solr/admin/info/system],
http.authscheme-registry=org.apache.http.auth.AuthSchemeRegistry@78c03f1f}
{code}
> HttpClient callback in HttpSolrServer
> -------------------------------------
>
> Key: SOLR-6625
> URL: https://issues.apache.org/jira/browse/SOLR-6625
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Reporter: Gregory Chanan
> Assignee: Noble Paul
> Priority: Minor
> Attachments: SOLR-6625-testfailure.log, SOLR-6625-testfix.patch,
> SOLR-6625-testfix.patch, SOLR-6625-testfix.patch, SOLR-6625.patch,
> SOLR-6625.patch, SOLR-6625.patch, SOLR-6625.patch, SOLR-6625.patch,
> SOLR-6625.patch, SOLR-6625.patch, SOLR-6625.patch,
> SOLR-6625_SolrReqPropogate.patch, SOLR-6625_interceptor.patch,
> SOLR-6625_interceptor.patch, SOLR-6625_interceptor.patch,
> SOLR-6625_interceptor.patch, SOLR-6625_interceptor.patch,
> SOLR-6625_interceptor.patch, SOLR-6625_interceptor.patch,
> SOLR-6625_interceptor.patch, SOLR-6625_interceptor.patch,
> SOLR-6625_interceptor.patch, SOLR-6625_r1654079.patch,
> SOLR-6625_r1654079.patch
>
>
> Some of our setups use Solr in a SPNego/kerberos setup (we've done this by
> adding our own filters to the web.xml). We have an issue in that SPNego
> requires a negotiation step, but some HttpSolrServer requests are not
> repeatable, notably the PUT/POST requests. So, what happens is,
> HttpSolrServer sends the requests, the server responds with a negotiation
> request, and the request fails because the request is not repeatable. We've
> modified our code to send a repeatable request beforehand in these cases.
> It would be nicer if HttpSolrServer provided a pre/post callback when it was
> making an httpclient request. This would allow administrators to make
> changes to the request for authentication purposes, and would allow users to
> make per-request changes to the httpclient calls (i.e. modify httpclient
> requestconfig to modify the timeout on a per-request basis).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]