<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error while checking certificates]]></title><description><![CDATA[<p dir="auto">I just installed Mango 5 Free to try it out since we are regular users of Mango 3 and we want to see if we can migrate our system, but when starting up, I continuously get the following error when renewing certificates.</p>
<p dir="auto">(I'm uploading the trace information in text mode since uploading the images gives an error.)</p>
<p dir="auto"><strong>ERROR 2024-10-23T07:57:49,179 (com.infiniteautomation.mango.spring.pki.DefaultCertificateMonitor.lambda$initialize$0:80) - Error while renewing certificates<br />
org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [double] for value '25%'; nested exception is java.lang.NumberFormatExcep<br />
tion: For input string: "25%"</strong></p>
<p dir="auto">Every minute and a half or so, it restarts, showing the following message,without displaying any other error messages. Could you tell me what might be happening? Any installation issues?</p>
<p dir="auto"><strong>INFO  2024-10-23T07:59:05,364 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.process:35) - Terminating 1 LAST priority data sources in 1 threads<br />
INFO  2024-10-23T07:59:05,371 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSource:356) - Data source (name=status, id=2, type=MetaDataSourceRT) stopped in 5ms<br />
INFO  2024-10-23T07:59:05,372 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.process:40) - Termination of 1 LAST priority data sources in 1 threads took 8 ms<br />
INFO  2024-10-23T07:59:05,372 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.process:35) - Terminating 1 NORMAL priority data sources in 1 threads<br />
INFO  2024-10-23T07:59:05,375 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSource:356) - Data source (name=Mango Internal, id=1, type=InternalDataSourceRT) stopped in 1ms<br />
INFO  2024-10-23T07:59:05,377 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.process:40) - Termination of 1 NORMAL priority data sources in 1 threads took 5 ms<br />
INFO  2024-10-23T07:59:05,380 (com.infiniteautomation.mango.io.serial.JsscSerialPortManager$1.run:74) - Mango Serial Port Event Processor Terminated<br />
INFO  2024-10-23T07:59:05,385 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:452) - All low priority tasks exited gracefully.<br />
INFO  2024-10-23T07:59:05,385 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:459) - All medium priority tasks exited gracefully.<br />
INFO  2024-10-23T07:59:05,386 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:466) - All high priority tasks exited gracefully.<br />
INFO  2024-10-23T07:59:05,423 (com.infiniteautomation.mango.spring.components.executors.MangoExecutors.destroy:93) - Shutting down shared executor and scheduled executor<br />
INFO  2024-10-23T07:59:05,425 (com.infiniteautomation.mango.spring.components.executors.MangoExecutors.awaitTermination:150) - Executors shutdown successfully<br />
INFO  2024-10-23T07:59:05,431 (com.serotonin.m2m2.db.H2Proxy.terminateImpl:408) - Terminating database.<br />
INFO  2024-10-23T07:59:05,817 (com.serotonin.m2m2.Lifecycle.terminate:507) - Mango Lifecycle terminated: SHUTDOWN_HOOK</strong></p>
]]></description><link>https://forum.mango-os.com/topic/5906/error-while-checking-certificates</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 09:57:56 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5906.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Oct 2024 08:23:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error while checking certificates on Thu, 12 Dec 2024 19:11:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaballeroa" aria-label="Profile: jcaballeroa">@<bdi>jcaballeroa</bdi></a>, sorry for the delay on this topic but could you please open a support request at <a href="mailto:support@radixiot.com" rel="nofollow ugc">Radix IoT - Support</a>? I would like to better assist on this topic but access to the files have expired. Also, have you tried to start a clean Mango v5 to see if you have any issue starting up Mango before upgrading?</p>
]]></description><link>https://forum.mango-os.com/post/28337</link><guid isPermaLink="true">https://forum.mango-os.com/post/28337</guid><dc:creator><![CDATA[joeamiraglia]]></dc:creator><pubDate>Thu, 12 Dec 2024 19:11:52 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Mon, 04 Nov 2024 08:52:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joeamiraglia" aria-label="Profile: joeamiraglia">@<bdi>joeamiraglia</bdi></a> Have you had a chance to review the traces I sent you? Any idea why Mango keeps restarting continuously when launched as a service? For us to consider migrating our applications to Mango 5, we would need it to work properly as a service so that it starts correctly in case of a restart or failure.</p>
]]></description><link>https://forum.mango-os.com/post/28328</link><guid isPermaLink="true">https://forum.mango-os.com/post/28328</guid><dc:creator><![CDATA[jcaballeroa]]></dc:creator><pubDate>Mon, 04 Nov 2024 08:52:06 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Fri, 25 Oct 2024 06:54:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joeamiraglia" aria-label="Profile: joeamiraglia">@<bdi>joeamiraglia</bdi></a></p>
<p dir="auto">I've uploaded the ma.log and syslog files to the following WeTransfer link:</p>
<p dir="auto"><a href="https://we.tl/t-jpLw4GG0nl" rel="nofollow ugc">https://we.tl/t-jpLw4GG0nl</a></p>
<p dir="auto">I currently have 3 data sources, 50 data points, and 25 publishers solely for testing purposes.</p>
<p dir="auto">Looking at the following extract from the syslog file, I understand that the mango service restarts the application because it detects that it hasn’t finished starting up. A timer expires, interpreting that mango hasn't completed all necessary startup steps to mark it as fully initialized, which is why systemctl relaunches it. Is that correct?:</p>
<pre><code>2024-10-24T15:29:30.776837+00:00 navarraserver3 start-mango.sh[257343]: INFO  2024-10-24T15:29:30,775 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:168) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext
2024-10-24T15:29:31.223949+00:00 navarraserver3 start-mango.sh[257343]: INFO  2024-10-24T15:29:31,222 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:168) - Spring context 'restDispatcherContext' refreshed: WebApplicationContext for namespace 'REST_DISPATCHER-servlet'
2024-10-24T15:29:33.664510+00:00 navarraserver3 start-mango.sh[257343]: INFO  2024-10-24T15:29:33,663 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:168) - Spring context 'restV3Context' refreshed: WebApplicationContext for namespace 'restV3DispatcherServlet-servlet'
2024-10-24T15:30:00.171984+00:00 navarraserver3 systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2024-10-24T15:30:00.221033+00:00 navarraserver3 systemd[1]: sysstat-collect.service: Deactivated successfully.
2024-10-24T15:30:00.222035+00:00 navarraserver3 systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2024-10-24T15:30:08.789340+00:00 navarraserver3 systemd[1]: Reloading requested from client PID 257711 ('systemctl') (unit session-386.scope)...
2024-10-24T15:30:08.789874+00:00 navarraserver3 systemd[1]: Reloading...
2024-10-24T15:30:09.153917+00:00 navarraserver3 systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
2024-10-24T15:30:09.320285+00:00 navarraserver3 systemd[1]: Configuration file /run/systemd/system/systemd-networkd-wait-online.service.d/10-netplan.conf is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
2024-10-24T15:30:09.764634+00:00 navarraserver3 systemd[1]: Reloading finished in 974 ms.
2024-10-24T15:30:48.652351+00:00 navarraserver3 systemd[1]: mango.service: start operation timed out. Terminating.
2024-10-24T15:30:48.659307+00:00 navarraserver3 start-mango.sh[257343]: INFO  2024-10-24T15:30:48,656 (com.serotonin.m2m2.Lifecycle.terminate:371) - Mango Lifecycle terminating...
2024-10-24T15:30:48.726801+00:00 navarraserver3 start-mango.sh[257343]: INFO  2024-10-24T15:30:48,725 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopPublisher:606) - Publisher (name=Alsasua, id=1, type=HttpSenderRT) stopped in 3ms
2024-10-24T15:30:48.728599+00:00 navarraserver3 start-mango.sh[257343]: INFO  2024-10-24T15:30:48,727 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopPublisher:606) - Publisher (name=Etxegarate, id=2, type=HttpSenderRT) stopped in 1ms
</code></pre>
]]></description><link>https://forum.mango-os.com/post/28327</link><guid isPermaLink="true">https://forum.mango-os.com/post/28327</guid><dc:creator><![CDATA[jcaballeroa]]></dc:creator><pubDate>Fri, 25 Oct 2024 06:54:18 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Fri, 25 Oct 2024 03:21:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaballeroa" aria-label="Profile: jcaballeroa">@<bdi>jcaballeroa</bdi></a> You mentioned that you are testing Mango 5 in free mode. Could you please tell me how many data points you are using, and send the complete ma.log file again?</p>
<p dir="auto">Additionally, assuming the server writes logs to <code>/var/log/syslog</code>, you might find more log entries related to Mango’s issues there. I often find the information I need in the syslog when Mango fails to start up correctly.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.mango-os.com/post/28326</link><guid isPermaLink="true">https://forum.mango-os.com/post/28326</guid><dc:creator><![CDATA[joeamiraglia]]></dc:creator><pubDate>Fri, 25 Oct 2024 03:21:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Thu, 24 Oct 2024 15:38:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joeamiraglia" aria-label="Profile: joeamiraglia">@<bdi>joeamiraglia</bdi></a></p>
<p dir="auto">I changed the value from 25% to 0.25 as you suggested, and indeed Mango no longer throws an error at startup—at least, no errors appear in the ma.log file.</p>
<p dir="auto">The locale issue seems strange to me because we have the Spanish locale (es_ES) configured, so the % symbol should also be valid in this language.</p>
<pre><code>LANG=es_ES.UTF-8
LANGUAGE=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=
</code></pre>
<p dir="auto">However, it continues to restart every 1-2 minutes, this time without any apparent reason, as no error traces appear. From what I’ve seen, it seems that the issue lies with the service; if I manually start Mango via the <a href="http://start-mango.sh" rel="nofollow ugc">start-mango.sh</a> script, it works perfectly without restarting, but if I start it as a service through systemctl, that’s when the problem occurs. The script we use for the service is the one provided on the installation webpage:</p>
<pre><code>[Unit]
Description=Mango Automation
After=mysqld.service
StartLimitIntervalSec=0
[Service]
EnvironmentFile=/etc/environment
Type=forking
WorkingDirectory=/opt/mango
PIDFile=/opt/mango/bin/ma.pid
ExecStart=/opt/mango/bin/start-mango.sh
SuccessExitStatus=0 SIGINT SIGTERM 130 143
Restart=always
RestartSec=5s
User=mango
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
</code></pre>
]]></description><link>https://forum.mango-os.com/post/28325</link><guid isPermaLink="true">https://forum.mango-os.com/post/28325</guid><dc:creator><![CDATA[jcaballeroa]]></dc:creator><pubDate>Thu, 24 Oct 2024 15:38:30 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Wed, 23 Oct 2024 16:28:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaballeroa" aria-label="Profile: jcaballeroa">@<bdi>jcaballeroa</bdi></a> It appears the issue is related to this property:</p>
<p dir="auto"><code>pki.monitor.expiringSoonThreshold=25%</code></p>
<p dir="auto">The problem may stem from unusual locale settings on your computer that do not properly recognize the percentage symbol (%). To address this, follow these steps in order:</p>
<p dir="auto"><strong>Step 1: Modify the property</strong></p>
<ol>
<li>
<p dir="auto">Edit the configuration file containing <code>pki.monitor.expiringSoonThreshold=25%</code>. Change this setting to the decimal format (0.25) instead of using a percentage, <code>pki.monitor.expiringSoonThreshold=0.25</code>.</p>
</li>
<li>
<p dir="auto">Restart the Mango service to apply the new settings.</p>
</li>
</ol>
<p dir="auto">If the issue persists, proceed with Step 2:</p>
<p dir="auto"><strong>Step 2: Check your locale settings</strong></p>
<ol>
<li>
<p dir="auto">Ensure your system uses a standard locale, such as en_US, where the percentage symbol (%) is recognized correctly. Adjust your locale settings if necessary.</p>
</li>
<li>
<p dir="auto">Restart the Mango service again to apply these changes.</p>
</li>
</ol>
<p dir="auto">Please implement these steps and let us know on the forum whether this resolves the issue. Your feedback is invaluable and can assist others experiencing similar issues.</p>
]]></description><link>https://forum.mango-os.com/post/28324</link><guid isPermaLink="true">https://forum.mango-os.com/post/28324</guid><dc:creator><![CDATA[joeamiraglia]]></dc:creator><pubDate>Wed, 23 Oct 2024 16:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Wed, 23 Oct 2024 14:04:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/bg" aria-label="Profile: BG">@<bdi>BG</bdi></a>, thanks for your quick response.</p>
<ul>
<li>Which Mango version are you using in v3, v3.7.12? We usually use Mango v3.7.7</li>
<li>Did this error start after upgrading to v5.2.1, or did you start with a clean install and your overrides added? I downloaded the latest version of Mango Free v5.2.1 from the Radix website and installed it on a clean version of Ubuntu 24.04.</li>
<li>Please share your SSL properties settings (those you feel comfortable sharing).<br />
I kept the default SSL configurations that come in the mango.properties file, as they seemed coherent and sufficient to me:</li>
</ul>
<pre><code># SSL/TLS setup

# Note: Enabling SSL/TLS also turns on HSTS by default, see the ssl.hsts.enabled setting below
#ssl.on=true
#ssl.port=8443

# Configure the key store from which to load X.509 certificate chain and private key.
# All key store settings are reloaded dynamically.
# If the keystore file does not exist, a temporary self-signed certificate is used instead.

# Path to a PKCS #12 or JKS key store, relative to ${paths.data}
# By default, use the path to the key store created by the Mango PKI service.
#ssl.keystore.location=${pki.keyStore}
# Key store password
#ssl.keystore.password=${pki.keyStorePassword}
# Key password (if not set, it is assumed to be the same as the key store password)
#ssl.key.password=
# Watch the key store file for changes and reload the certificates/keys for SSL/TLS when it changes
#ssl.keystore.watchFile=true

#Time socket can be idle before being closed (ms)
#ssl.socketIdleTimeout=70000

# Enable ALPN (Application-Layer Protocol Negotiation) for HTTP/2 support.
# Current browsers only support HTTP/2 for SSL/TLS connections.
#ssl.alpn.on=true

# Configure HSTS (HTTP Strict Transport Security)
# Enabled by default when ssl.on=true
# Sets the Strict-Transport-Security header, web browsers will always connect using HTTPS when they
# see this header and they will cache the result for max-age seconds
#ssl.hsts.enabled=true
#ssl.hsts.maxAge=31536000
#ssl.hsts.includeSubDomains=false
</code></pre>
<ul>
<li>
<p dir="auto">Also, can you confirm that you are running Java 17 for the v5 Mango?<br />
This is my Java version:<br />
openjdk 17.0.12 2024-07-16<br />
OpenJDK Runtime Environment (build 17.0.12+7-Ubuntu-1ubuntu224.04)<br />
OpenJDK 64-Bit Server VM (build 17.0.12+7-Ubuntu-1ubuntu224.04, mixed mode, sharing)</p>
</li>
<li>
<p dir="auto">Sharing your ma.log file would greatly help in diagnosing the issue. Thank you.<br />
I tried to attach the ma.log file, but it tells me I don't have permission to do so. I've uploaded it to Wetransfer, link attached. If you prefer another method to receive it, I have no problem doing it another way.</p>
</li>
</ul>
<p dir="auto"><a href="https://we.tl/t-snLX1Og2Do" rel="nofollow ugc">https://we.tl/t-snLX1Og2Do</a></p>
<p dir="auto">Thanks and Best Regards</p>
]]></description><link>https://forum.mango-os.com/post/28323</link><guid isPermaLink="true">https://forum.mango-os.com/post/28323</guid><dc:creator><![CDATA[jcaballeroa]]></dc:creator><pubDate>Wed, 23 Oct 2024 14:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Wed, 23 Oct 2024 13:17:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaballeroa" aria-label="Profile: jcaballeroa">@<bdi>jcaballeroa</bdi></a>, I'm sorry to hear you're experiencing issues. To better understand the problem, I will need you to provide more details.</p>
<ul>
<li>Which Mango version are you using in v3, v3.7.12?</li>
<li>Did this error start after upgrading to v5.2.1, or did you start with a clean install and your overrides added?</li>
<li>Please share your SSL properties settings (those you feel comfortable sharing).</li>
<li>Also, can you confirm that you are running Java 17 for the v5 Mango?</li>
</ul>
<p dir="auto">Sharing your ma.log file would greatly help in diagnosing the issue. Thank you.</p>
<p dir="auto">BR,</p>
<p dir="auto">Joe Miraglia<br />
SAE/Radix IoT</p>
]]></description><link>https://forum.mango-os.com/post/28322</link><guid isPermaLink="true">https://forum.mango-os.com/post/28322</guid><dc:creator><![CDATA[joeamiraglia]]></dc:creator><pubDate>Wed, 23 Oct 2024 13:17:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error while checking certificates on Wed, 23 Oct 2024 11:51:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcaballeroa" aria-label="Profile: jcaballeroa">@<bdi>jcaballeroa</bdi></a><br />
I am sorry I can't help with your error, but I am very interested to know how you get on with your tests with mango 5. We are also considering the move from 3 to 5 ourselves and I haven't had the time to test 5 yet.</p>
<p dir="auto">Cheers<br />
Brian</p>
]]></description><link>https://forum.mango-os.com/post/28321</link><guid isPermaLink="true">https://forum.mango-os.com/post/28321</guid><dc:creator><![CDATA[BG]]></dc:creator><pubDate>Wed, 23 Oct 2024 11:51:26 GMT</pubDate></item></channel></rss>