Hi All,
I am getting connection error while running rebuildSolrIndex service from webtools on demo-trunk instance. Below is the error message- org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection refused (Connection refused) I also tried running the same service from webtools on demo-stable instance and getting below error- javax.net.ssl.SSLPeerUnverifiedException: Host name 'localhost' does not match the certificate subject provided by the peer (CN=demo-old.ofbiz.apache.org). Please find the attached screenshots for the same. It seems like some configurations are missing for solr plugins on these demo instances. Thanks & Regards, -- Ravi Lodhi |
Administrator
|
Thanks Ravi,
This is a demo configuration problem (not an issue locally). Please create a Jira for that, here is the related log on trunk demo: 2020-03-07 10:43:01,506 |27.0.0.1-8009-exec-1 |SolrProductSearch |E| Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection refused (Connection refused) org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection refused (Connection refused) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.ofbiz.solr.SolrUtil.getHttpSolrClient(SolrUtil.java:328) ~[main/:?] at org.apache.ofbiz.solr.SolrProductSearch.rebuildSolrIndex(SolrProductSearch.java:669) [main/:?] [...] Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_242] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_242] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_242] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_242] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_242] at java.net.Socket.connect(Socket.java:607) ~[?:1.8.0_242] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) ~[httpclient-4.5.10.jar:4.5.10] at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.10.jar:4.5.10] ... 63 more 2020-03-07 10:43:01,507 |27.0.0.1-8009-exec-1 |ServiceUtil |E| {errorMessage=org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection refused (Connection refused), responseMessage=error} 2020-03-07 10:43:01,507 |27.0.0.1-8009-exec-1 |ServiceDispatcher |E| Error in Service [rebuildSolrIndex]: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection refused (Connection refused) TIA Jacquzes Le 04/02/2020 à 10:42, Ravi Lodhi a écrit : > Hi All, > > I am getting connection error while running *rebuildSolrIndex* service from webtools on demo-trunk > <https://demo-trunk.ofbiz.apache.org/webtools/control/runService> instance. Below is the error message- > org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 [localhost/127.0.0.1 <http://127.0.0.1/>] failed: Connection refused > (Connection refused) > > I also tried running the same service from webtools on demo-stable <https://demo-stable.ofbiz.apache.org/webtools/control/runService> instance and > getting below error- > javax.net.ssl.SSLPeerUnverifiedException: Host name 'localhost' does not match the certificate subject provided by the peer > (CN=demo-old.ofbiz.apache.org <http://demo-old.ofbiz.apache.org/>). > Please find the attached screenshots for the same. > > It seems like some configurations are missing for solr plugins on these demo instances. > > Thanks & Regards, > -- > Ravi Lodhi |
Thanks Jacques for looking into this. Here is the Jira ticket OFBIZ-11504
<https://issues.apache.org/jira/browse/OFBIZ-11504> for the issue. Thanks & Regards, -- Ravi Lodhi On Sat, Mar 7, 2020 at 4:22 PM Jacques Le Roux <[hidden email]> wrote: > Thanks Ravi, > > This is a demo configuration problem (not an issue locally). > > Please create a Jira for that, here is the related log on trunk demo: > > 2020-03-07 10:43:01,506 |27.0.0.1-8009-exec-1 > |SolrProductSearch |E| Connect to localhost:8443 [localhost/ > 127.0.0.1] failed: Connection > refused (Connection refused) > org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 > [localhost/127.0.0.1] failed: Connection refused (Connection refused) > at > org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) > > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.ofbiz.solr.SolrUtil.getHttpSolrClient(SolrUtil.java:328) > ~[main/:?] > at > org.apache.ofbiz.solr.SolrProductSearch.rebuildSolrIndex(SolrProductSearch.java:669) > [main/:?] > [...] > Caused by: java.net.ConnectException: Connection refused (Connection > refused) > at java.net.PlainSocketImpl.socketConnect(Native Method) > ~[?:1.8.0_242] > at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) > ~[?:1.8.0_242] > at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) > ~[?:1.8.0_242] > at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) > ~[?:1.8.0_242] > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > ~[?:1.8.0_242] > at java.net.Socket.connect(Socket.java:607) ~[?:1.8.0_242] > at > org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368) > ~[httpclient-4.5.10.jar:4.5.10] > at > org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) > > ~[httpclient-4.5.10.jar:4.5.10] > ... 63 more > 2020-03-07 10:43:01,507 |27.0.0.1-8009-exec-1 > |ServiceUtil |E| > {errorMessage=org.apache.http.conn.HttpHostConnectException: Connect > to localhost:8443 [localhost/127.0.0.1] failed: Connection refused > (Connection refused), responseMessage=error} > 2020-03-07 10:43:01,507 |27.0.0.1-8009-exec-1 > |ServiceDispatcher |E| Error in Service [rebuildSolrIndex]: > org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 > [localhost/127.0.0.1] failed: Connection refused (Connection refused) > > TIA > > Jacquzes > > Le 04/02/2020 à 10:42, Ravi Lodhi a écrit : > > Hi All, > > > > I am getting connection error while running *rebuildSolrIndex* service > from webtools on demo-trunk > > <https://demo-trunk.ofbiz.apache.org/webtools/control/runService> instance. > Below is the error message- > > org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 > [localhost/127.0.0.1 <http://127.0.0.1/>] failed: Connection refused > > (Connection refused) > > > > I also tried running the same service from webtools on demo-stable < > https://demo-stable.ofbiz.apache.org/webtools/control/runService> instance > and > > getting below error- > > javax.net.ssl.SSLPeerUnverifiedException: Host name 'localhost' does not > match the certificate subject provided by the peer > > (CN=demo-old.ofbiz.apache.org <http://demo-old.ofbiz.apache.org/>). > > Please find the attached screenshots for the same. > > > > It seems like some configurations are missing for solr plugins on these > demo instances. > > > > Thanks & Regards, > > -- > > Ravi Lodhi > > |
Free forum by Nabble | Edit this page |