<?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 Connecting to splunk enterprise using splunk sdk for java in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212817#M2831</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am getting the below exception when trying to connect to splunk enterprise using the splunk SDK&lt;BR /&gt;
Exception in thread "main" java.lang.RuntimeException: Unrecognized SSL message, plaintext connection?&lt;/P&gt;

&lt;P&gt;Can anyone suggest as to what the issue might be?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Saravana Prabhu K&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2016 21:19:27 GMT</pubDate>
    <dc:creator>sakarunanitk</dc:creator>
    <dc:date>2016-04-22T21:19:27Z</dc:date>
    <item>
      <title>Connecting to splunk enterprise using splunk sdk for java</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212817#M2831</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am getting the below exception when trying to connect to splunk enterprise using the splunk SDK&lt;BR /&gt;
Exception in thread "main" java.lang.RuntimeException: Unrecognized SSL message, plaintext connection?&lt;/P&gt;

&lt;P&gt;Can anyone suggest as to what the issue might be?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Saravana Prabhu K&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 21:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212817#M2831</guid>
      <dc:creator>sakarunanitk</dc:creator>
      <dc:date>2016-04-22T21:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to splunk enterprise using splunk sdk for java</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212818#M2832</link>
      <description>&lt;P&gt;I downvoted this post because not enough information&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212818#M2832</guid>
      <dc:creator>DreadEclipse</dc:creator>
      <dc:date>2016-06-03T14:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to splunk enterprise using splunk sdk for java</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212819#M2833</link>
      <description>&lt;P&gt;Not enough info really.&lt;BR /&gt;
It could be a few things, for example;&lt;/P&gt;

&lt;P&gt;As per: &lt;A href="https://answers.splunk.com/answers/67327/splunk-java-sdk-connection-to-splunk-failed.html"&gt;https://answers.splunk.com/answers/67327/splunk-java-sdk-connection-to-splunk-failed.html&lt;/A&gt;&lt;BR /&gt;
And: &lt;A href="https://answers.splunk.com/answers/206990/why-am-i-getting-a-splunk-java-sdk-handshake-failu.html"&gt;https://answers.splunk.com/answers/206990/why-am-i-getting-a-splunk-java-sdk-handshake-failu.html&lt;/A&gt;&lt;BR /&gt;
"Ensure that your connection credentials are correct, notably that you are using HTTPS over Port 8089 to your SplunkD Server.&lt;BR /&gt;
As a guess, you might be trying to connect to SplunkWeb on port 8000, which is not where the REST endpoints are located."&lt;/P&gt;

&lt;P&gt;As per: &lt;A href="https://answers.splunk.com/answers/209379/no-appropriate-protocol-protocol-is-disabled-or-ci.html"&gt;https://answers.splunk.com/answers/209379/no-appropriate-protocol-protocol-is-disabled-or-ci.html&lt;/A&gt;&lt;BR /&gt;
"Splunk needs to release a new jar without SSLv3 hardwired (in HttpService.java) in order to make this work with the latest Java 8. Meanwhile you need to stick with Java 7 or build your own jar from the SDK package and use SSLv2 instead."&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 18:31:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Connecting-to-splunk-enterprise-using-splunk-sdk-for-java/m-p/212819#M2833</guid>
      <dc:creator>bohanlon_splunk</dc:creator>
      <dc:date>2017-02-01T18:31:56Z</dc:date>
    </item>
  </channel>
</rss>

