<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Matt,</p>
    <p>most probably your keystores (keystore.jceks) on individual nodes
      are not synchronized. They must be the same in order for the
      authentication - or any password-related operations - to work
      reliably.</p>
    <p>Take the keystore from the node where authentication works, and
      put it onto the other nodes.<br>
    </p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Pavol Mederly
Software developer
evolveum.com</pre>
    <div class="moz-cite-prefix">On 02/02/2022 00:53, Matt Widhalm via
      midPoint wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALhtzzm8a0CkEygMyO59UJTRTNHM2L0C9YMsHcAY6dwC61g_dA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I am working on this one again. While trying to
        login to node_b I am seeing the following error: Invalid
        username and/or password. This is while using the administrator
        account. I have verified the password is correct as I am able to
        login to node_a with the credentials.
        <div><br>
          <div>I have also tried to login using the emergency admin url
            and I am seeing this error: Currently we are unable to
            process your request. Kindly try again later.<span
style="color:rgb(75,73,69);font-family:caecilialtstd-roman,serif;font-size:16px;font-weight:700"><br>
            </span></div>
          <div><br>
          </div>
          <div>Has anyone run into similar issues while trying to set
            up a clustered configuration?</div>
          <div><br>
          </div>
          <div>
            <div>Any help would be greatly appreciated.</div>
            <div><br>
            </div>
            <div>Thank you,</div>
          </div>
          <div><span
style="color:rgb(75,73,69);font-family:caecilialtstd-roman,serif;font-size:16px;font-weight:700">Matt
              Widhalm</span>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Jan 12, 2022 at 11:47
          AM Matt Widhalm <<a href="mailto:matthewwidhalm@weber.edu"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">matthewwidhalm@weber.edu</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Good morning. I am attempting to set up a
            clustered environment utilizing 2 nodes. The issue I am
            running into is that while node_a is in a running state,
            node_b is showing Communication error. I have verified
            communication between the two docker containers is working
            (I can ping node_b from node_a and vice versa). Below is a
            section of my config.xml for node_a. node_b is the same with
            the nodeId reflecting that it is node_b.
            <div><br>
            </div>
            <div>        <repository><br>
                          <type>native</type><br>
                         
<jdbcUrl>jdbc:postgresql://<censored>:5432/midpoint_dev</jdbcUrl><br>
                         
              <jdbcUsername><censored></jdbcUsername><br>
                         
              <jdbcPassword><censored></jdbcPassword><br>
                         
              <missingSchemaAction>create</missingSchemaAction><br>
                         
              <baseDir>${midpoint.home}</baseDir><br>
                          <asServer>true</asServer><br>
                      </repository><br>
                      <nodeId>node_a</nodeId><br>
                      <taskManager><br>
                          <clustered>true</clustered><br>
                      </taskManager></div>
            <div><br>
            </div>
            <div>On the All Node page they are showing as:</div>
            <div><br>
            </div>
            <div>Name: node_a</div>
            <div>Status: Running</div>
            <div>Contact: http://<CONTAINER ID>:8080/midpoint</div>
            <div>Clustered: checked</div>
            <div>Status message:</div>
            <div><br>
            </div>
            <div>
              <div>Name: node_b</div>
              <div>Status: Communication error</div>
              <div>Contact: http://<CONTAINER ID>:8080/midpoint</div>
              <div>Clustered: checked</div>
              <div>Status message: Node not known at this moment</div>
              <div><br>
              </div>
              <div>I have tried to change the httpPort and url in the
                config.xml with no change to the Communication error. I
                also have the containers on their own network.</div>
              <div><br>
              </div>
              <div>Any help would be appreciated.</div>
              <div><br>
              </div>
              <div>Thank you,<br clear="all">
                <div>
                  <div dir="ltr">
                    <div dir="ltr">
                      <p
style="padding:0px;font-size:16px;line-height:1.6;color:rgb(75,73,69);font-family:caecilialtstd-roman,serif;font-weight:bold;margin:0px">Matt
                        Widhalm</p>
                      <p
style="padding:0px;font-size:16px;line-height:1.6;color:rgb(75,73,69);font-family:caecilialtstd-roman,serif;margin:0px">System
                        Engineer</p>
                      <p
style="padding:0px;font-size:16px;line-height:1.6;color:rgb(75,73,69);font-family:caecilialtstd-roman,serif;margin:0px">Weber
                        State University</p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>