Hi Kevin, Right, just two days before my own ticket (and five days after I last checked) this other ticket has been created. Thanks a lot for spotting the duplication! Looking forward for a fix.
Best, Stefan From: Kevin Risden <kris...@apache.org> Date: Thursday, 6. July 2023 at 15:23 To: stefan.pie...@coremedia.com.invalid <stefan.pie...@coremedia.com.invalid> Cc: users@solr.apache.org <users@solr.apache.org> Subject: Re: SolrJ 9.2.1: How to Use HTTP Proxy [Sie erhalten nicht häufig E-Mails von kris...@apache.org. Weitere Informationen, warum dies wichtig ist, finden Sie unter https://aka.ms/LearnAboutSenderIdentification ] I don't see a way around this, but I saw https://issues.apache.org/jira/browse/SOLR-16859 was created. Kevin Risden On Thu, Jun 29, 2023 at 5:13 AM Pieper, Stefan <stefan.pie...@coremedia.com.invalid> wrote: > Hi all, > > While doing an upgrade from Solr 8.11.2 to 9.2.1 I bumped into an issue > with proxy configuration for SolrJ and though I dug deep into the code I'd > like to make sure I didn't miss something obvious. > > It's about defining a proxy host for SolrJ requests. It seems like > HTTP/2-based Solr clients (Http2SolrClient etc) cannot be configured to use > a proxy. For HTTP/1 clients this was recently solved via SOLR-12848. But > environment variables "http.proxyHost" etc are not applied by Jetty clients > which are used for HTTP/2 communication. Configuration of the Jetty client > through org.eclipse.jetty.client.HttpClient#getProxyConfiguration() is not > possible, either, since Http2SolrClient#getHttpClient() is > package-protected. > > Do you know of any way around this? Or is it a gap in the Solr API (for > which I'd create a Jira ticket then)? > > Thanks! > Stefan > >