<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673895#M18326</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/49493"&gt;@tscroggins&lt;/a&gt;&amp;nbsp;Yes, the certificate is imported on the client. SDK is calling from a docker image, and in the docker startup we have added instructions to import root CA, and the the splunk certificate.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Jan 2024 04:46:15 GMT</pubDate>
    <dc:creator>ssbapat</dc:creator>
    <dc:date>2024-01-11T04:46:15Z</dc:date>
    <item>
      <title>Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673316#M18256</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;We are getting this error consistently while querying data from Splunk Enterprise hosted in the company's internal network.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Exception in receiving splunk data&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/155753105#L145" target="_blank" rel="noopener"&gt;145&lt;/A&gt;&lt;SPAN class=""&gt;java.lang.RuntimeException: HTTPS hostname wrong: should be &amp;lt;splunk_enterprise_url - splunk.org.company.com&amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;The line of code that causes this is&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;String query = "&amp;lt;splunk valid query&amp;gt;";&lt;BR /&gt;Job job = service.getJobs().create(query);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Splunk SDK Version used: 1.9.5&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Connection to Splunk is established as follows:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;String&lt;/SPAN&gt; &lt;SPAN class=""&gt;token&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt; System.getenv(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"SPLUNK_TOKEN"&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class=""&gt;            &lt;SPAN class=""&gt;ServiceArgs&lt;/SPAN&gt; &lt;SPAN class=""&gt;loginArgs&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;ServiceArgs&lt;/SPAN&gt;&lt;SPAN class=""&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            loginArgs.setPort(&lt;/SPAN&gt;&lt;SPAN class=""&gt;8089&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            loginArgs.setHost(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"splunk.org.company.com"&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            loginArgs.setScheme(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"https"&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            loginArgs.setToken(String.format(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bearer %s"&lt;/SPAN&gt;&lt;SPAN class=""&gt;, token));&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            service = &lt;/SPAN&gt;&lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;Service&lt;/SPAN&gt;&lt;SPAN class=""&gt;(loginArgs);&lt;/SPAN&gt;&lt;/SPAN&gt;
            
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            log.info(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"service val is {}"&lt;/SPAN&gt;&lt;SPAN class=""&gt;, service.toString());&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;            Service.setValidateCertificates(&lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;This was working few days ago and suddenly it has stopped. We checked the server certificate and it valid till March 2024.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;The program querying the splunk is called from a runner hosted on AWS and it has no network restrictions.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Not sure what is the issue. But this issue is getting reproduced consistently. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Note: Surprisingly, the same program runs fine on local machine.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Cannot find out what would be the issue?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Any help will be appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Jan 2024 09:01:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673316#M18256</guid>
      <dc:creator>ssbapat</dc:creator>
      <dc:date>2024-01-05T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673438#M18269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263762"&gt;@ssbapat&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;A complete stack trace would reveal more, but in a nutshell, certificate verification failed in the underlying SSL/TLS class. Does "splunk.org.company.com" (or the actual hostname) match either the common name (cn) or a subject alternative name (SAN or subjectAltName) on the server's certificate? Are all certificates in the server's certificate chain trusted by the client?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 21:45:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673438#M18269</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2024-01-06T21:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673895#M18326</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/49493"&gt;@tscroggins&lt;/a&gt;&amp;nbsp;Yes, the certificate is imported on the client. SDK is calling from a docker image, and in the docker startup we have added instructions to import root CA, and the the splunk certificate.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jan 2024 04:46:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673895#M18326</guid>
      <dc:creator>ssbapat</dc:creator>
      <dc:date>2024-01-11T04:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673896#M18327</link>
      <description>&lt;P&gt;Here is the stack trace.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;java.lang.RuntimeException: HTTPS hostname wrong: should be &amp;lt;splunk.org.company.com&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L149" target="_blank" rel="noopener"&gt;149&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.HttpService.send(HttpService.java:512)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L150" target="_blank" rel="noopener"&gt;150&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Service.send(Service.java:1351)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L151" target="_blank" rel="noopener"&gt;151&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.HttpService.get(HttpService.java:169)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L152" target="_blank" rel="noopener"&gt;152&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Entity.refresh(Entity.java:383)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L153" target="_blank" rel="noopener"&gt;153&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Entity.refresh(Entity.java:24)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L154" target="_blank" rel="noopener"&gt;154&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Resource.validate(Resource.java:186)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L155" target="_blank" rel="noopener"&gt;155&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Entity.validate(Entity.java:484)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L156" target="_blank" rel="noopener"&gt;156&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Entity.getContent(Entity.java:159)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L157" target="_blank" rel="noopener"&gt;157&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Entity.getString(Entity.java:295)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L158" target="_blank" rel="noopener"&gt;158&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.ServiceInfo.getInstanceType(ServiceInfo.java:158)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L159" target="_blank" rel="noopener"&gt;159&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Service.enableV2SearchApi(Service.java:1389)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L160" target="_blank" rel="noopener"&gt;160&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.JobCollection.&amp;lt;init&amp;gt;(JobCollection.java:49)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L161" target="_blank" rel="noopener"&gt;161&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Service.getJobs(Service.java:676)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L162" target="_blank" rel="noopener"&gt;162&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Service.getJobs(Service.java:665)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L163" target="_blank" rel="noopener"&gt;163&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.Service.getJobs(Service.java:652)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L164" target="_blank" rel="noopener"&gt;164&lt;/A&gt;&lt;SPAN class=""&gt; at com.siemens.mindsphere.pss.testing.splunk.EC2Scan.vulnerableEc2InstancesData(EC2Scan.java:64)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L165" target="_blank" rel="noopener"&gt;165&lt;/A&gt;&lt;SPAN class=""&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L166" target="_blank" rel="noopener"&gt;166&lt;/A&gt;&lt;SPAN class=""&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L167" target="_blank" rel="noopener"&gt;167&lt;/A&gt;&lt;SPAN class=""&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L168" target="_blank" rel="noopener"&gt;168&lt;/A&gt;&lt;SPAN class=""&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L169" target="_blank" rel="noopener"&gt;169&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L170" target="_blank" rel="noopener"&gt;170&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.java.Invoker.invoke(Invoker.java:24)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L171" target="_blank" rel="noopener"&gt;171&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L172" target="_blank" rel="noopener"&gt;172&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L173" target="_blank" rel="noopener"&gt;173&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L174" target="_blank" rel="noopener"&gt;174&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L175" target="_blank" rel="noopener"&gt;175&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L176" target="_blank" rel="noopener"&gt;176&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:85)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L177" target="_blank" rel="noopener"&gt;177&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.TestStep.run(TestStep.java:57)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L178" target="_blank" rel="noopener"&gt;178&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L179" target="_blank" rel="noopener"&gt;179&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.TestCase.run(TestCase.java:84)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L180" target="_blank" rel="noopener"&gt;180&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L181" target="_blank" rel="noopener"&gt;181&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:128)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L182" target="_blank" rel="noopener"&gt;182&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:129)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jan 2024 04:47:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673896#M18327</guid>
      <dc:creator>ssbapat</dc:creator>
      <dc:date>2024-01-11T04:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673897#M18328</link>
      <description>&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L183" target="_blank" rel="noopener"&gt;183&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L184" target="_blank" rel="noopener"&gt;184&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:129)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L185" target="_blank" rel="noopener"&gt;185&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:128)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L186" target="_blank" rel="noopener"&gt;186&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L187" target="_blank" rel="noopener"&gt;187&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L188" target="_blank" rel="noopener"&gt;188&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:249)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L189" target="_blank" rel="noopener"&gt;189&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L190" target="_blank" rel="noopener"&gt;190&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:110)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L191" target="_blank" rel="noopener"&gt;191&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L192" target="_blank" rel="noopener"&gt;192&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.SliceOps$1$1.accept(SliceOps.java:204)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L193" target="_blank" rel="noopener"&gt;193&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1359)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L194" target="_blank" rel="noopener"&gt;194&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L195" target="_blank" rel="noopener"&gt;195&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L196" target="_blank" rel="noopener"&gt;196&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L197" target="_blank" rel="noopener"&gt;197&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L198" target="_blank" rel="noopener"&gt;198&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L199" target="_blank" rel="noopener"&gt;199&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L200" target="_blank" rel="noopener"&gt;200&lt;/A&gt;&lt;SPAN class=""&gt; at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L201" target="_blank" rel="noopener"&gt;201&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:111)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L202" target="_blank" rel="noopener"&gt;202&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:82)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L203" target="_blank" rel="noopener"&gt;203&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.execute(Runtime.java:94)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L204" target="_blank" rel="noopener"&gt;204&lt;/A&gt;&lt;SPAN class=""&gt; at io.cucumber.core.runtime.Runtime.run(Runtime.java:80)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L205" target="_blank" rel="noopener"&gt;205&lt;/A&gt;&lt;SPAN class=""&gt; at com.siemens.mindsphere.pss.testing.cli.Runner.run(Runner.java:122)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L206" target="_blank" rel="noopener"&gt;206&lt;/A&gt;&lt;SPAN class=""&gt; at com.siemens.mindsphere.pss.testing.cli.Main.main(Main.java:43)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L207" target="_blank" rel="noopener"&gt;207&lt;/A&gt;&lt;SPAN class=""&gt;Caused by: java.io.IOException: HTTPS hostname wrong: should be &amp;lt;splunk.sws.siemens.com&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L208" target="_blank" rel="noopener"&gt;208&lt;/A&gt;&lt;SPAN class=""&gt; at sun.net.&lt;A href="http://www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:649" target="_blank" rel="noopener"&gt;www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:649&lt;/A&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L209" target="_blank" rel="noopener"&gt;209&lt;/A&gt;&lt;SPAN class=""&gt; at sun.net.&lt;A href="http://www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:573" target="_blank" rel="noopener"&gt;www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:573&lt;/A&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L210" target="_blank" rel="noopener"&gt;210&lt;/A&gt;&lt;SPAN class=""&gt; at sun.net.&lt;A href="http://www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185" target="_blank" rel="noopener"&gt;www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185&lt;/A&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L211" target="_blank" rel="noopener"&gt;211&lt;/A&gt;&lt;SPAN class=""&gt; at sun.net.&lt;A href="http://www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:167" target="_blank" rel="noopener"&gt;www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:167&lt;/A&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L212" target="_blank" rel="noopener"&gt;212&lt;/A&gt;&lt;SPAN class=""&gt; at com.splunk.HttpService.send(HttpService.java:510)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://code.siemens.com/xfm/xf_security_testing/SecurityTestCases/-/jobs/156659698#L213" target="_blank" rel="noopener"&gt;213&lt;/A&gt;&lt;SPAN class=""&gt; ... 57 common frames omitted&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jan 2024 04:47:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673897#M18328</guid>
      <dc:creator>ssbapat</dc:creator>
      <dc:date>2024-01-11T04:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK getting error Exception in receiving splunk data java.lang.RuntimeException: HTTPS hostname wrong</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673917#M18330</link>
      <description>&lt;P&gt;Ugh. Docker &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But seriously, first things first. Check with normal openssl whether you can properly connect to the server. If not, then problems are on the server's side. If yes, then on the client's side.&lt;/P&gt;&lt;PRE&gt;openssl s_client -connect splunk.your.org.domain:8089 -CAfile path_to/your_rootCA.pem&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 10:18:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Java-SDK-getting-error-Exception-in-receiving-splunk-data-java/m-p/673917#M18330</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-11T10:18:14Z</dc:date>
    </item>
  </channel>
</rss>

