<?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: DUO Splunk Connector: Error &amp;quot;Validation for scheme=duo failed: The script returned with exit status 1&amp;quot; while trying to set up Modular Input for DUO logs in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372819#M45141</link>
    <description>&lt;P&gt;Just wanted to answer my own question here since we were able to figure out what was going on here.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;You populate your DUO information in the Modular Inputs section of Splunk Web&lt;/LI&gt;
&lt;LI&gt;You click next/continue to save your Modular Inputs config&lt;/LI&gt;
&lt;LI&gt;Behind the scenes Splunk asks the Mod Input to validate that your input settings, and it does so by calling the main DUO python script in validation mode&lt;/LI&gt;
&lt;LI&gt;For the DUO input, the validation of your settings consists of attempting to connect to the DUO web servers with your provided credentials&lt;/LI&gt;
&lt;LI&gt;Splunk Mod Inputs framework expects the validate function to return in under 3 seconds (as of 6.5.x) and once it takes longer than that, splunk forcibly terminates the python script and returns a cryptic error to the UI&lt;/LI&gt;
&lt;LI&gt;Since validation failed, your inputs.conf file is never created&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you figure this out, or you just give up and create your inputs.conf file manually, everything works fine because the validation workflow above only occurs when building out your modular inputs from the UI. The 3 second timeout only applies to validation of your inputs when building the input config. The timeout for the script when actually fetching the data (if one exists at all) is sufficiently long enough to fetch the data.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2017 15:54:38 GMT</pubDate>
    <dc:creator>jwiedemann_splu</dc:creator>
    <dc:date>2017-03-24T15:54:38Z</dc:date>
    <item>
      <title>DUO Splunk Connector: Error "Validation for scheme=duo failed: The script returned with exit status 1" while trying to set up Modular Input for DUO logs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372818#M45140</link>
      <description>&lt;P&gt;When attempting to fill out the inputs for DUO logs in the UI, we get the following cryptic error...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Encountered the following error while trying to save: Splunkd daemon is not responding: ("Error connecting to /servicesNS/emcdaniel/duo_splunkapp/data/inputs/duo_input: ('The read operation timed out',)",)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We also saw the following in splunkd logs&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-20-2016 18:45:36.396 -0400 WARN  ModularInputs - Validation for scheme=duo failed: The script returned with exit status 1.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone have any idea what is happening here?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 14:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372818#M45140</guid>
      <dc:creator>jwiedemann_splu</dc:creator>
      <dc:date>2017-03-24T14:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: DUO Splunk Connector: Error "Validation for scheme=duo failed: The script returned with exit status 1" while trying to set up Modular Input for DUO logs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372819#M45141</link>
      <description>&lt;P&gt;Just wanted to answer my own question here since we were able to figure out what was going on here.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;You populate your DUO information in the Modular Inputs section of Splunk Web&lt;/LI&gt;
&lt;LI&gt;You click next/continue to save your Modular Inputs config&lt;/LI&gt;
&lt;LI&gt;Behind the scenes Splunk asks the Mod Input to validate that your input settings, and it does so by calling the main DUO python script in validation mode&lt;/LI&gt;
&lt;LI&gt;For the DUO input, the validation of your settings consists of attempting to connect to the DUO web servers with your provided credentials&lt;/LI&gt;
&lt;LI&gt;Splunk Mod Inputs framework expects the validate function to return in under 3 seconds (as of 6.5.x) and once it takes longer than that, splunk forcibly terminates the python script and returns a cryptic error to the UI&lt;/LI&gt;
&lt;LI&gt;Since validation failed, your inputs.conf file is never created&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you figure this out, or you just give up and create your inputs.conf file manually, everything works fine because the validation workflow above only occurs when building out your modular inputs from the UI. The 3 second timeout only applies to validation of your inputs when building the input config. The timeout for the script when actually fetching the data (if one exists at all) is sufficiently long enough to fetch the data.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 15:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372819#M45141</guid>
      <dc:creator>jwiedemann_splu</dc:creator>
      <dc:date>2017-03-24T15:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: DUO Splunk Connector: Error "Validation for scheme=duo failed: The script returned with exit status 1" while trying to set up Modular Input for DUO logs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372820#M45142</link>
      <description>&lt;P&gt;I'm having this same problem. I can see that ~/etc/apps/duo_splunkapp/default/inputs.conf has fields for ikey, skey and api_host, but where does the name (requested in the Duo Splunk Input setup screen) go?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372820#M45142</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2020-09-29T18:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: DUO Splunk Connector: Error "Validation for scheme=duo failed: The script returned with exit status 1" while trying to set up Modular Input for DUO logs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372821#M45143</link>
      <description>&lt;P&gt;Did you ever figured that out?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 15:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372821#M45143</guid>
      <dc:creator>ylucena</dc:creator>
      <dc:date>2019-04-24T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: DUO Splunk Connector: Error "Validation for scheme=duo failed: The script returned with exit status 1" while trying to set up Modular Input for DUO logs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372822#M45144</link>
      <description>&lt;P&gt;No, I never did. A co-worker wrote a custom app and we chucked this one&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 17:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372822#M45144</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2019-04-24T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: DUO Splunk Connector: Error "Validation for scheme=duo failed: The script returned with exit status 1" while trying to set up Modular Input for DUO logs</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372823#M45145</link>
      <description>&lt;P&gt;Oh, man... I'm trying everything I can, but no success so far. Very frustrating.&lt;/P&gt;

&lt;P&gt;Thanks for the quick response!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 17:30:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DUO-Splunk-Connector-Error-quot-Validation-for-scheme-duo-failed/m-p/372823#M45145</guid>
      <dc:creator>ylucena</dc:creator>
      <dc:date>2019-04-24T17:30:26Z</dc:date>
    </item>
  </channel>
</rss>

