<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I got similaire issue (I'm in Mp 3.7 under docker), I have identifier few case <span id="">
:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ul>
<li>Bad connector code : Depand on connector, I get it on custom connector, some action was not correlty handle and down the ressource (in my case, shadow error create ressource down)</li><li>Postgre tuning : Since few weeks I have make some tuning in postgre work_mem, max_connection and shared_mem, I really got improvement in midpoint global reaction
<br>
</li><li>Docker / network issue : In case of communication internal (MP in container and Ressource in container under the same swarm cluster) you cas use docker network alias for create direct communication (check docker doc)<br>
</li></ul>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hope that help..</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Nota : MP rest API give entrypoint for test resource, that can be a workaroud. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<span style="font-size:8pt; color:rgb(117,123,128)"></span>
<div>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family:"Calibri",sans-serif; color:black">Cordialement,</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<table class="MsoNormalTable" style="width:100.0%; border:none; border-top:solid #00BBDF 3.0pt" width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr style="">
<td style="width:225.75pt; border:none; padding:0cm 0cm 0cm 0cm" width="708" valign="top">
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style=""><img class="x_EmojiInsert" style="max-width:174px; max-height:22px; width:100%" src="https://attachment.outlook.office.net/owa/sylvaire-kevin.tipa@mythalesgroup.io/service.svc/s/GetFileAttachment?id=AAMkAGY1ZjY5NWRmLTQ0ZDgtNGNjMy05NzNkLWJmMDRiMWE1MzRlZABGAAAAAABh4WdBWT4xR7DMeIEaHdTyBwAoAS%2FqG5cHS6e%2BmMV1HZP5AAAAAAEJAAAoAS%2FqG5cHS6e%2BmMV1HZP5AAA6Qq2YAAABEgAQABu5cy33gBtFlMD7DO8YR0A%3D&X-OWA-CANARY=ChiPfpk72ke8XYNev7RaMjBqkl3Gx9UY9Eb1nD0ESaO9Vu49v6lQFICf4be4xrzkFIas0KMHQr8.&token=eyJhbGciOiJSUzI1NiIsImtpZCI6IjA2MDBGOUY2NzQ2MjA3MzdFNzM0MDRFMjg3QzQ1QTgxOENCN0NFQjgiLCJ4NXQiOiJCZ0Q1OW5SaUJ6Zm5OQVRpaDhSYWdZeTN6cmciLCJ0eXAiOiJKV1QifQ.eyJ2ZXIiOiJFeGNoYW5nZS5DYWxsYmFjay5WMSIsImFwcGN0eHNlbmRlciI6Ik93YURvd25sb2FkQGNkOTQzYmVhLTZjYmQtNGI1Mi05ZWVkLTY1MDE1MjYwMzBlYSIsImFwcGN0eCI6IntcIm1zZXhjaHByb3RcIjpcIm93YVwiLFwicHJpbWFyeXNpZFwiOlwiUy0xLTUtMjEtMTg2Mjg2NDE5LTE3ODA1Mzc0ODItMzc3MTQ0MjUwMy0xNzA1MDkzXCIsXCJwdWlkXCI6XCIxMTUzODM2Mjk2ODEyMDA2MTcyXCIsXCJvaWRcIjpcImUwNDllZjY1LTA3OTctNGFlNC04YTlkLTI4ZDg4NTU5ZDAzMVwiLFwic2NvcGVcIjpcIk93YURvd25sb2FkXCJ9IiwibmJmIjoxNTI3ODYwODc3LCJleHAiOjE1Mjc4NjE0NzcsImlzcyI6IjAwMDAwMDAyLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMEBjZDk0M2JlYS02Y2JkLTRiNTItOWVlZC02NTAxNTI2MDMwZWEiLCJhdWQiOiIwMDAwMDAwMi0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDAvYXR0YWNobWVudC5vdXRsb29rLm9mZmljZS5uZXRAY2Q5NDNiZWEtNmNiZC00YjUyLTllZWQtNjUwMTUyNjAzMGVhIn0.nd8YaoCszRU3J-pTpf2fo2Sjs4X8EeyDVIGRODX-WaLwtbDHAXqMEVMw2_wldyedQ07nJYXTXI7yJ8JwPB09H30wKs9ytHcuchZNPhJZWc6x2ssYRUfiW4dtcuFpSIV16vXS_Lu61-cjbcKGtHNAbGDYFgKiv3vMLzge_N95-xkvLd0GDbPrk743gK0l9TUIjfLTgnrK2uqlSwpVRUeL_dSG-_kKqaMyvJNo0Eh55dKUckmZhws2shczl72V4Ftt-dWzklX6lDGZ6goiYMWb3i0T-_QekdsXRNXlCRO7nIUSlBRndBjtfCMaOE40RBI9lcp9VQKmxWAWQDJpNEUhtQ&owa=outlook.office365.com&isImagePreview=True"></span><span style="color:black"></span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<b><span style="font-size:10.0pt; line-height:105%; font-family:"Arial",sans-serif; color:#1F497D">Sylvaire-Kevin TIPA</span></b><i><span style="font-size:10.0pt; line-height:105%; color:#757B80">
</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<i><span style="font-size:10.0pt; line-height:105%; color:#767171">Thales Services / OIC / DevOps Automatisation Infrastructures</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="color:#BFBFBF">…………………………………………………………………………………………</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="font-size:9.0pt; line-height:105%; color:gray">THALES SERVICES SAS<br>
44 Quai Charles de Gaulle<br>
CS 20100<br>
69463 Lyon Cedex 06</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="color:#BFBFBF">…………………………………………………………………………………………</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="color:#1F497D"><a href="http://www.thalesgroup.com/"><span style="font-size:8.5pt; line-height:105%; font-family:"Arial",sans-serif; color:gray">www.thalesgroup.com</span></a></span><span style="color:#BFBFBF"></span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;line-height:105%">
<span style="color:black"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><span style="color:black; display:none"> </span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"> </p>
</div>
<br>
<span style="font-size:8pt; color:rgb(117,123,128)"></span><span style="font-size:8pt; color:rgb(117,123,128)"></span>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> midPoint <midpoint-bounces@lists.evolveum.com> de la part de Frédéric Lohier <frederic@lohier.org><br>
<b>Envoyé :</b> jeudi 7 novembre 2019 18:59<br>
<b>À :</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Objet :</b> Re: [midPoint] handling resource communication errors</font>
<div> </div>
</div>
<div>
<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="x_gmail_quote">
<div dir="ltr" class="x_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="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div 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="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">Hi!
<u></u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">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="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">I solved it by increasing the capacity of Dockers.<u></u><u></u></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">I hope it helps.<u></u><u></u></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d"><u></u> <u></u></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d">Elsa<u></u><u></u></span></p>
<p class="x_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="x_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="x_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>
</div>
<p style="font-size:8pt; line-height:10pt; font-family: 'Cambria','times roman',serif;">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
</body>
</html>