<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000" bgcolor="#FFFFFF">Thank you <span>Frédéric!<br>
  <br>
The link below seems to be broken, but you gave me the needed 
information.  I found it at:<br>
<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/REST+API#RESTAPI-TestResource(OpenDJ)">https://wiki.evolveum.com/display/midPoint/REST+API#RESTAPI-TestResource(OpenDJ)</a><br>
  <br>
I have set this command in a cron job and hopefully that will keep 
things working okay.  Maybe when I upgrade to 4.x it will resolve the 
problem.<br>
  <br>
Thanks again!<br>
Brad<br>
</span><br>
<span>Frédéric Lohier wrote on 11/7/19 11:59 AM:</span><br>
<blockquote type="cite" 
cite="mid:CALRGK0qL0fk8GznwRXGRyj-wcbZV+_WgEP4=daFSDuOmE6K1Dg@mail.gmail.com">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">You 
test your resource using REST API like described here <a 
href="https://wiki.evolveum.com/plugins/servlet/mobile?contentId=13074536#RESTAPI-TestResource%28OpenDJ%29"
 moz-do-not-send="true">https://wiki.evolveum.com/plugins/servlet/mobile?contentId=13074536#RESTAPI-TestResource(OpenDJ)</a></div><div
 dir="auto"><br></div><div dir="auto">-Frederic</div></div>
  <br>
  <div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov
 7, 2019, 15:26 Brad Firestone <<a href="mailto:bhotrock@gmail.com" 
moz-do-not-send="true">bhotrock@gmail.com</a>> wrote:<br></div><blockquote
 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc 
solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">Just 
adding to the 
discussion.  I have midPoint 3.9 installed as a standalone installation 
(not Docker) in a VMware installation, and have this same problem with 
one openLDAP server.  It will randomly go into a disconnected state.  As
 soon as I "Test connection" everything is fine.  Memory and CPU usage 
is way below capacity so I don't think it's performance related, like 
the Docker issue.<br>
<br>
I'm trying to figure out why it loses the connection, checking firewall 
and other network issues.  But it would also be good if I could "Test 
connection" every night to make sure it's working.  I don't know if 
there's some sort of command or URL call that I could schedule to happen
 automatically.<br>
<br>
If anyone has any ideas about the automation, or even better, why the 
resource becomes unavailable, that would be great.<br>
Thanks!<br>
Brad<br>
 <br>
<br>
<span>Gómez Martínez, Elsa wrote on 11/7/19 3:36 AM:</span><br>
<blockquote type="cite"><div>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi!
</span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US">If I have understood your issue, I have got the same error
 when using midPoint on Docker, it was very slow and I received
 a connection timeout. </span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US"> </span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US">I solved it by increasing the capacity of Dockers.</span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US"> </span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US">I hope it helps.</span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US"> </span></p>
<p class="MsoNormal"><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
 lang="EN-US">Elsa</span></p>
<p class="MsoNormal"><span> </span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm
 0cm 0cm">
<p class="MsoNormal"><b><span 
style="font-size:11.0pt;font-family:"Calibri",sans-serif">De:</span></b><span
 style="font-size:11.0pt;font-family:"Calibri",sans-serif"> 
midPoint <a href="mailto:midpoint-bounces@lists.evolveum.com" 
target="_blank" rel="noreferrer" moz-do-not-send="true"><midpoint-bounces@lists.evolveum.com></a>
<b>En nombre de </b>Minarciny, Jan<br>
<b>Enviado el:</b> miércoles, 6 de noviembre de 2019 12:34<br>
<b>Para:</b> <a href="mailto:midpoint@lists.evolveum.com" 
target="_blank" rel="noreferrer" moz-do-not-send="true">midpoint@lists.evolveum.com</a><br>
<b>Asunto:</b> [midPoint] handling resource communication errors</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Hi
 all,</span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">is
 there any config/automatic way of a situation when a resource gets 
unavailable (due let's say communication error or connector error) and 
later gets available again? Because right now it's stuck
 in "Resource is down" until I manually hit "Test connection" button and
 all the requests are taking really
<strong><span style="font-family:"Calibri",sans-serif">longer</span></strong>
 time to process (handled error situation).</span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Thank
 you for your help,</span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Johny</span></p>
  </div>

  <br>

  <hr>
  <font face="Arial" size="1" color="Gray"><br>
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
 contiene información de carácter confidencial exclusivamente dirigida a
 su destinatario o destinatarios. Si no es vd. el destinatario indicado,
 queda notificado que la lectura, utilización,
 divulgación y/o copia sin autorización está prohibida en virtud de la 
legislación vigente. En el caso de haber recibido este correo 
electrónico por error, se ruega notificar inmediatamente esta 
circunstancia mediante reenvío a la dirección electrónica del
 remitente.<br>
Evite imprimir este mensaje si no es estrictamente necesario.<br>
<br>
This email and any file attached to it (when applicable) contain(s) 
confidential information that is exclusively addressed to its 
recipient(s). If you are not the indicated recipient, you are informed 
that reading, using, disseminating and/or copying it without
 authorisation is forbidden in accordance with the legislation in 
effect. If you have received this email by mistake, please immediately 
notify the sender of the situation by resending it to their email 
address.<br>
Avoid printing this message if it is not absolutely necessary.<br>
  </font>



  <br>
  <fieldset></fieldset>
  <br>
  <pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="noreferrer" moz-do-not-send="true">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank" rel="noreferrer" moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre></blockquote>
<br>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" 
rel="noreferrer" moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" 
rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br></blockquote></div>


  <br>
  <fieldset class="mimeAttachmentHeader"></fieldset>
  <br>
  <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="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body></html>