<?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 Why do I keep getting prompted for a username and password trying to add a member to a search head cluster? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111490#M4223</link>
    <description>&lt;P&gt;I am trying to add a new member to a search head cluster.&lt;/P&gt;

&lt;P&gt;Init the server with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk init shcluster-config -mgmt_uri &lt;A href="https://server1:8089" target="test_blank"&gt;https://server1:8089&lt;/A&gt; -replication_port 8095 -replication_factor 3 -conf_deploy_fetch_url &lt;A href="https://deployer:8088" target="test_blank"&gt;https://deployer:8088&lt;/A&gt; -secret secretpw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Trying to add the server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add shcluster-member -current_member_uri &lt;A href="https://server2:8089" target="test_blank"&gt;https://server2:8089&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Get prompted for username and password.  Use admin and pw, but keeps prompting for username and password.  Also tried a pw of changeme but then I get authentication failed.&lt;/P&gt;

&lt;P&gt;I currently have 3 searchheads in the cluster.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2015 15:26:17 GMT</pubDate>
    <dc:creator>rmorlen</dc:creator>
    <dc:date>2015-01-26T15:26:17Z</dc:date>
    <item>
      <title>Why do I keep getting prompted for a username and password trying to add a member to a search head cluster?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111490#M4223</link>
      <description>&lt;P&gt;I am trying to add a new member to a search head cluster.&lt;/P&gt;

&lt;P&gt;Init the server with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk init shcluster-config -mgmt_uri &lt;A href="https://server1:8089" target="test_blank"&gt;https://server1:8089&lt;/A&gt; -replication_port 8095 -replication_factor 3 -conf_deploy_fetch_url &lt;A href="https://deployer:8088" target="test_blank"&gt;https://deployer:8088&lt;/A&gt; -secret secretpw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Trying to add the server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add shcluster-member -current_member_uri &lt;A href="https://server2:8089" target="test_blank"&gt;https://server2:8089&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Get prompted for username and password.  Use admin and pw, but keeps prompting for username and password.  Also tried a pw of changeme but then I get authentication failed.&lt;/P&gt;

&lt;P&gt;I currently have 3 searchheads in the cluster.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2015 15:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111490#M4223</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2015-01-26T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I keep getting prompted for a username and password trying to add a member to a search head cluster?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111491#M4224</link>
      <description>&lt;P&gt;You should check in splunkd and see what errors are being given. Most likely your secret password for the cluster is incorrect.&lt;/P&gt;

&lt;P&gt;Also, is your deployer on 8088?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2015 15:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111491#M4224</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-01-26T15:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I keep getting prompted for a username and password trying to add a member to a search head cluster?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111492#M4225</link>
      <description>&lt;P&gt;Yes deployer is 8088.&lt;/P&gt;

&lt;P&gt;Reset passwords and am still seeing the same issues.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2015 16:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111492#M4225</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2015-01-26T16:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I keep getting prompted for a username and password trying to add a member to a search head cluster?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111493#M4226</link>
      <description>&lt;P&gt;What is the message in splunkd.log say?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2015 04:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111493#M4226</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-01-27T04:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I keep getting prompted for a username and password trying to add a member to a search head cluster?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111494#M4227</link>
      <description>&lt;P&gt;I completely stopped all searchheads and reinitialized the cluster.  Brought everything back up and was able to get it working.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2015 17:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111494#M4227</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2015-01-28T17:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I keep getting prompted for a username and password trying to add a member to a search head cluster?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111495#M4228</link>
      <description>&lt;P&gt;The reason this is happening is because the pass4SymmKey/shared-secret on your new member was not matching&lt;BR /&gt;
the secret of the rest of the cluster.&lt;/P&gt;

&lt;P&gt;When you ran the CLI command splunk add shcluster-member -current_member_uri &lt;A href="https://server2:8089" target="_blank"&gt;https://server2:8089&lt;/A&gt;,&lt;BR /&gt;
an authentication token was generated on the search head server1 and put in its $HOME/.splunk directory.&lt;/P&gt;

&lt;P&gt;add shcluster-member proxies the request to one of the current members (server 2) and tries to get the current&lt;BR /&gt;
node added via the captain. This proxy process fails due to authentication, when the invalid token is used.&lt;/P&gt;

&lt;P&gt;What you will need to do is.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; 1. bring down the node that is being added and fails.
 2. go to server.conf of that node and change its pass4SymmKey to correct shared secret.   or re  init the node.
 3. delete the $HOME/.splunk folder so that the CLI gets a new key
 4. restart splunk
 5. try the add shcluster-member command again.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-keep-getting-prompted-for-a-username-and-password/m-p/111495#M4228</guid>
      <dc:creator>arahut_splunk</dc:creator>
      <dc:date>2020-09-28T19:37:37Z</dc:date>
    </item>
  </channel>
</rss>

