org.apache.solr.client.solrj.SolrServerException

IOException occured when talking to server at: https://localhost:8993/solr

Samebug tips1

WireMock, until 1.5.2, only worked with keystores with the password: "password", this was fixed in 1.5.3. Another issue that causes this exception was fixed in 1.5.3 as well.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web82

  • via Unknown by Mark,
  • via Unknown by Keith Wire,
  • via GitHub by ljhljh235
    ,
  • Stack trace

    • org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: https://localhost:8993/solr at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:507)[225:persistence-core-impl:2.7.1] at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:199)[225:persistence-core-impl:2.7.1] at org.apache.solr.client.solrj.request.CoreAdminRequest.process(CoreAdminRequest.java:493)[225:persistence-core-impl:2.7.1] at org.apache.solr.client.solrj.request.CoreAdminRequest.createCore(CoreAdminRequest.java:570)[225:persistence-core-impl:2.7.1] at org.apache.solr.client.solrj.request.CoreAdminRequest.createCore(CoreAdminRequest.java:550)[225:persistence-core-impl:2.7.1] at org.codice.solr.factory.SolrServerFactory.createSolrCore(SolrServerFactory.java:330)[225:persistence-core-impl:2.7.1] at org.codice.solr.factory.SolrServerFactory.getHttpSolrServer(SolrServerFactory.java:140)[225:persistence-core-impl:2.7.1] at org.codice.solr.factory.SolrServerFactory.getHttpSolrServer(SolrServerFactory.java:118)[225:persistence-core-impl:2.7.1] at org.codice.ddf.persistence.internal.PersistentStoreImpl.getSolrCore(PersistentStoreImpl.java:288)[225:persistence-core-impl:2.7.1] at org.codice.ddf.persistence.internal.PersistentStoreImpl.get(PersistentStoreImpl.java:178)[225:persistence-core-impl:2.7.1] at Proxyf9512e91_caf5_4a97_93b7_d0458748b6cc.get(Unknown Source) at org.codice.ddf.persistence.events.ActivityListener.<init>(ActivityListener.java:39) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.7.0_79] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[:1.7.0_79] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.7.0_79] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[:1.7.0_79] at org.apache.aries.blueprint.utils.ReflectionUtils.newInstance(ReflectionUtils.java:329)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.newInstance(BeanRecipe.java:962)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:331)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:806)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.4.2] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:284)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:251)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:148)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[14:org.apache.aries.blueprint.core:1.4.2] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[14:org.apache.aries.blueprint.core:1.4.2] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.0] at org.eclipse.osgi.framework.internal.core.Framework$10.call(Framework.java:1605)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHookPrivileged(ServiceRegistry.java:1239)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.notifyHooksPrivileged(ServiceRegistry.java:1222)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.Framework.notifyEventHooksPrivileged(Framework.java:1602)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1557)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[osgi-3.9.1-v20140110-1610.jar:] at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[osgi-3.9.1-v20140110-1610.jar:] Caused by: javax.net.ssl.SSLException: hostname in certificate didn't match: <localhost> != <My FQDN> at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)[225:persistence-core-impl:2.7.1] at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)[225:persistence-core-impl:2.7.1] at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:159)[225:persistence-core-impl:2.7.1] at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:140)[225:persistence-core-impl:2.7.1] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:286)[225:persistence-core-impl:2.7.1] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:276)[225:persistence-core-impl:2.7.1] at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)[225:persistence-core-impl:2.7.1] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)[225:persistence-core-impl:2.7.1] at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:395)[225:persistence-core-impl:2.7.1]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    nasimknasimk
    5 times, last one
    Andreas HäberAndreas Häber
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    6 more bugmates