Not able to add the repo #55
Unanswered
RyanWorks365
asked this question in
Q&A
Replies: 4 comments 13 replies
-
what version of Solr? |
Beta Was this translation helpful? Give feedback.
0 replies
-
argh, you said 9.4. Okay, there WAS a bug in 9.3.... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just for fun, would you mind trying out these directions? https://github.com/o19s/splainer/tree/main/solr-splainer-package#installing-into-solr This is to install splainer.. |
Beta Was this translation helpful? Give feedback.
6 replies
-
Yes, it should work with the right JDBC drivers added to the classpath.
…On Sat, 4 Nov, 2023, 11:26 pm RyanWorks365, ***@***.***> wrote:
Yes FIPS is a required security layer we have in place. Also, before I
spend anymore time on this, do you know if this DIH package will work with
SQL Server 2016. If not, then I’ll look into finding another package or
solution. Thanks again for all your help!
—
Reply to this email directly, view it on GitHub
<#55 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDCR5EN3KDUYS4HRE3ZWNDYCZ6WTAVCNFSM6AAAAAA63MCGLWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINZVGYZDQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: <SearchScale/dataimporthandler/repo-discussions/55/comments/7475628@
github.com>
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I'm trying to setup DIH on Solr 9.4 so that it can import data from our remote SQL server 2016. I'm running on RHEL 8.8 (Ootpa) with FIPS enabled. I'm also using OpenJDK 17.0.9. I've gone through the basic installation of Solr using their guide (https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html) and the service installation script. I then followed the Solr guide to enable SSL (https://solr.apache.org/guide/solr/latest/deployment-guide/enabling-ssl.html). I already have my server certificate, so I opted out of the self-signed certificate that the guide used. Solr starts up fine and I can get to the Solr Admin GUI. I then tried to follow the readme from the repo to get the package installed, but that's where I'm getting stuck. I get stuck on step 2 which tries to add the repo:
bin/solr package add-repo data-import-handler "https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/"
I get the following error:
./solr package add-repo data-import-handler "https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/"
INFO - 2023-11-02 13:38:35.569; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword
INFO - 2023-11-02 13:38:35.574; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword
com.fasterxml.jackson.databind.JsonMappingException: org.apache.solr.client.solrj.SolrServerException: IOException occurred when talking to server at: https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/repository.json (through reference chain: java.util.ArrayList[0]->org.apache.solr.packagemanager.DefaultPackageRepository["packages"])
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:402)
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:361)
at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:323)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:780)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:479)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:318)
at com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4719)
at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:3964)
at org.apache.solr.packagemanager.RepositoryManager.addRepository(RepositoryManager.java:125)
at org.apache.solr.cli.PackageTool.runImpl(PackageTool.java:106)
at org.apache.solr.cli.ToolBase.runTool(ToolBase.java:52)
at org.apache.solr.cli.SolrCLI.main(SolrCLI.java:153)
Caused by: org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException: IOException occurred when talking to server at: https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/repository.json
at org.apache.solr.packagemanager.DefaultPackageRepository.initPackages(DefaultPackageRepository.java:129)
at org.apache.solr.packagemanager.DefaultPackageRepository.getPackages(DefaultPackageRepository.java:68)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:688)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:772)
... 12 more
Caused by: org.apache.solr.client.solrj.SolrServerException: IOException occurred when talking to server at: https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/repository.json
at org.apache.solr.client.solrj.impl.Http2SolrClient.request(Http2SolrClient.java:550)
at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1192)
at org.apache.solr.packagemanager.DefaultPackageRepository.initPackages(DefaultPackageRepository.java:120)
... 19 more
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:316)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1277)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1264)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1209)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:657)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1064)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:377)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.lambda$fill$1(SslConnection.java:838)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:294)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
at java.base/sun.security.validator.Validator.validate(Validator.java:264)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:285)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:144)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1335)
... 17 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
... 22 more
ERROR: org.apache.solr.client.solrj.SolrServerException: IOException occurred when talking to server at: https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/repository.json (through reference chain: java.util.ArrayList[0]->org.apache.solr.packagemanager.DefaultPackageRepository["packages"])
The error seems to be certificate related, but I'm not sure how to handle it. Any ideas on how to get this resolved? Also, does this package even support SQL Server 2016? Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions