<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(OpenDJ)">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">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!
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></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. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-US">Elsa<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></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"><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">midpoint@lists.evolveum.com</a><br>
<b>Asunto:</b> [midPoint] handling resource communication errors<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Hi
all,<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></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).<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Thank
you for your help,<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Johny<u></u><u></u></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">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank" rel="noreferrer">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">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>