<?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: REST API errors with AMQP Messaging Modular Input add-on in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116424#M8702</link>
    <description>&lt;P&gt;Disregard , I rolled back the newest release , found a bug.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2015 19:09:29 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2015-02-09T19:09:29Z</dc:date>
    <item>
      <title>REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116413#M8691</link>
      <description>&lt;P&gt;I am using the AMPQ add-on on a RabbitMQ queue. Splunk version is 6.1.&lt;/P&gt;

&lt;P&gt;When the add-on starts the next two errors appear in the splunkd.log:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;01-29-2015 18:16:51.995 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/amqp_ta/bin/amqp.py" Can't connect to Splunk REST API with the token [Splunk XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX], either the token is invalid or SplunkD has exited : No appropriate protocol (protocol is disabled or cipher suites are inappropriate)&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;01-29-2015 18:17:01.997 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/amqp_ta/bin/amqp.py" It has been determined via the REST API that all inputs have been disabled&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;The data from the queue is added to the index in Splunk. As far as I can see all REST API functions are working fine.&lt;/P&gt;

&lt;P&gt;Do you have any idea what the problem is?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 16:40:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116413#M8691</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2015-01-30T16:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116414#M8692</link>
      <description>&lt;P&gt;Those are valid messages. The AMQP Modular Input process self manages it's own lifecycle ie: regularly checks if SplunkD has exited , and if so,  kills itself.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2015 15:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116414#M8692</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-01-31T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116415#M8693</link>
      <description>&lt;P&gt;Hi Damien,&lt;/P&gt;

&lt;P&gt;Thank you for your reply. The problem is that splunkd is still active. When I only restart the add-on the one item from the queue is added to Splunk and the same errors appear again.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Arthur&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2015 23:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116415#M8693</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2015-01-31T23:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116416#M8694</link>
      <description>&lt;P&gt;Does your OS correctly resolve "localhost" to the IP that SplunkD is bound to ?&lt;BR /&gt;
Also , what version of Splunk are you on and what Java Runtime version are you using ?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Feb 2015 05:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116416#M8694</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-01T05:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116417#M8695</link>
      <description>&lt;P&gt;Hi Damien,&lt;/P&gt;

&lt;P&gt;The server is part of a domain. Localhost is resolved correctly. Ping, traceroute, wget, everything works.&lt;/P&gt;

&lt;P&gt;When I link localhost to a non existing IP, the following error appears:&lt;BR /&gt;
&lt;EM&gt;02-02-2015 15:21:15.716 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/amqp_ta/bin/amqp.py" Probing socket connection to SplunkD failed.Either SplunkD has exited ,or if not,  check that your DNS configuration is resolving your system's hostname (xxxx.xxxx) correctly : Connection refused&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;And later, the two errors appear again:&lt;BR /&gt;
&lt;EM&gt;02-02-2015 15:21:17.313 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/amqp_ta/bin/amqp.py" Can't connect to Splunk REST API with the token [Splunk XXXXXXXXXXXXXXXX], either the token is invalid or SplunkD has exited : Connection refused&lt;BR /&gt;
02-02-2015 15:21:27.314 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/amqp_ta/bin/amqp.py" It has been determined via the REST API that all inputs have been disabled&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Our server virtualized and is running on Splunk version 6.1. I also tested it on Splunk version 6.2.1 on a testserver. As for Java, I tried it on Java openjdk 1.7.0_75 and Java SE 1.8.0_31 (Oracle).&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:49:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116417#M8695</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2020-09-28T18:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116418#M8696</link>
      <description>&lt;P&gt;Any ideas Damien?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 11:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116418#M8696</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2015-02-05T11:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116419#M8697</link>
      <description>&lt;P&gt;The Splunk Java SDK code that is being used to perform the Splunk callbacks that are leading to the error message you posted is attempted to use SSLv3. Can you enable this in your setup ? &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Serverconf&lt;/A&gt;  (look at the sslConfig stanza)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 11:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116419#M8697</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-05T11:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116420#M8698</link>
      <description>&lt;P&gt;It looks like SSLv3 is enabled. But still the errors appear. &lt;/P&gt;

&lt;H1&gt;server.conf&lt;/H1&gt;

&lt;P&gt;[sslConfig]&lt;BR /&gt;
enableSplunkdSSL = true&lt;BR /&gt;
useClientSSLCompression = true&lt;BR /&gt;
useSplunkdClientSSLCompression = true&lt;/P&gt;

&lt;P&gt;supportSSLV3Only = true&lt;BR /&gt;
sendStrictTransportSecurityHeader = true&lt;BR /&gt;
allowSslCompression = true&lt;BR /&gt;
allowSslRenegotiation = true&lt;/P&gt;

&lt;P&gt;cipherSuite = ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM&lt;/P&gt;

&lt;P&gt;sslKeysfile = server.pem&lt;BR /&gt;
sslKeysfilePassword = XXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;
caCertFile = cacert.pem&lt;BR /&gt;
caPath = $SPLUNK_HOME/etc/auth&lt;BR /&gt;
certCreateScript = $SPLUNK_HOME/bin/splunk, createssl, server-cert&lt;/P&gt;

&lt;H1&gt;web.conf&lt;/H1&gt;

&lt;P&gt;[default]&lt;/P&gt;

&lt;P&gt;[settings]&lt;/P&gt;

&lt;P&gt;startwebserver = 1&lt;BR /&gt;
httpport = 443&lt;BR /&gt;
enableSplunkWebSSL = true&lt;BR /&gt;
supportSSLV3Only = true&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116420#M8698</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2020-09-28T18:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116421#M8699</link>
      <description>&lt;P&gt;Hi Damien,&lt;/P&gt;

&lt;P&gt;Good news this time! The problem is that SSLv3 is disabled in Java by default. The same problem is mentioned in &lt;A href="http://answers.splunk.com/answers/209379/no-appropriate-protocol-protocol-is-disabled-or-ci.html"&gt;http://answers.splunk.com/answers/209379/no-appropriate-protocol-protocol-is-disabled-or-ci.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The only thing you have to do is to enable SSLv3 (if this is possible off course). Just add a comment  ('#') in front of the last line of the file "java.security". You can find this file in the directory:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;OpenJDK : /usr/lib/jvm-java--openjdk-.x86_64/jre/lib/security&lt;/LI&gt;
&lt;LI&gt;Oracle SDK : /usr/java/jdk/jre/lib/security&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;If you agree that this is the solution, maybe you can make a note in your documentation?&lt;/P&gt;

&lt;P&gt;And again, thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116421#M8699</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2015-02-06T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116422#M8700</link>
      <description>&lt;P&gt;The latest release has TLSv1.2 support wired in. View the release notes for the latest release for how to enable TLS.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 17:22:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116422#M8700</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-08T17:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116423#M8701</link>
      <description>&lt;P&gt;Hi Damien, I'm kind of new to Splunk and when you write in the release notes:&lt;/P&gt;

&lt;P&gt;"To do so you specify "splunk.securetransport.protocol=tls" in the Additional JVM System Properties parameter when you configure the stanza."&lt;/P&gt;

&lt;P&gt;I'm not sure to which stanza you are referring, or where to find it. Could you give some more guidance?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 18:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116423#M8701</guid>
      <dc:creator>pkhalsa</dc:creator>
      <dc:date>2015-02-09T18:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116424#M8702</link>
      <description>&lt;P&gt;Disregard , I rolled back the newest release , found a bug.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 19:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116424#M8702</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-09T19:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116425#M8703</link>
      <description>&lt;P&gt;Wow, thanks for the quick response. I'm getting the same error as Arthur, but for some reason, I'm not able to edit java.security in a way that allows SSLv3, i.e. I keep getting the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 19:17:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116425#M8703</guid>
      <dc:creator>pkhalsa</dc:creator>
      <dc:date>2015-02-09T19:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116426#M8704</link>
      <description>&lt;P&gt;unless you can enable SSLv3 , I can't do much right now.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 19:23:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116426#M8704</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-09T19:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116427#M8705</link>
      <description>&lt;P&gt;Arthur, after reading this thread last week, I realized that I needed to comment out the option in java.security. However, when I went to that file, I realized it was already commented out. Yet I still get the error that SSLv3 is disabled by Java and I can't figure out where else it could possibly disabled. I thought perhaps it was somehow disabled within one of the jar files of the app, but I guess Damien would have mentioned that. Do you know of any other place where Java might disable SSLv3?&lt;BR /&gt;
Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 20:02:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116427#M8705</guid>
      <dc:creator>pkhalsa</dc:creator>
      <dc:date>2015-02-09T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116428#M8706</link>
      <description>&lt;P&gt;Hi Pkhalsa,&lt;/P&gt;

&lt;P&gt;You are right. The last line has to be commented out, so it should look like this: &lt;EM&gt;#jdk.tls.disabledAlgorithms=SSLv3&lt;/EM&gt;. &lt;/P&gt;

&lt;P&gt;Is it possible that you have more that one java installed?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2015 20:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116428#M8706</guid>
      <dc:creator>arthurbreuer</dc:creator>
      <dc:date>2015-02-09T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116429#M8707</link>
      <description>&lt;P&gt;Update : try the version here : &lt;A href="http://damiendallimore.github.io/"&gt;http://damiendallimore.github.io/&lt;/A&gt;  (before I release it and screw up Splunkbase again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;

&lt;P&gt;I weeded out the TLS bug / SDK incompatibilitys issues&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 09:07:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116429#M8707</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-02-10T09:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116430#M8708</link>
      <description>&lt;P&gt;That line looked different in my java.security file and it was already commented out. I resolved this issue in a kind of brute force manner, in that I installed the latest java and commented out the line in the latest java. Now I'm getting a different error &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116430#M8708</guid>
      <dc:creator>pkhalsa</dc:creator>
      <dc:date>2015-02-10T20:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: REST API errors with AMQP Messaging Modular Input add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116431#M8709</link>
      <description>&lt;P&gt;I managed to enable SSLv3 by updating Java and doing the same thing I did before, but this time it worked.&lt;BR /&gt;
I hope you don't mind a follow on question. Since I'm still a newbie, I wanted to ask you about the following error, which I'm now receiving:&lt;BR /&gt;
"Can't connect to Splunk REST API with the token..."&lt;BR /&gt;
SplunkD hasn't exited, so I'm wondering why it would get an invalid token?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 20:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/REST-API-errors-with-AMQP-Messaging-Modular-Input-add-on/m-p/116431#M8709</guid>
      <dc:creator>pkhalsa</dc:creator>
      <dc:date>2015-02-10T20:48:22Z</dc:date>
    </item>
  </channel>
</rss>

