<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to WebVisu crash</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a8b0da50c1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a8b0da50c1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/a8b0da50c1/</id><updated>2022-02-24T09:13:21.258000Z</updated><subtitle>Recent posts to WebVisu crash</subtitle><entry><title>WebVisu crash</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/a8b0da50c1/?limit=25#5684" rel="alternate"/><published>2022-02-24T09:13:21.258000Z</published><updated>2022-02-24T09:13:21.258000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comf3781436143fb7da2f146bb2667e7ec94b21d095</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Jerome,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Sometimes the web server crashes.&lt;br/&gt;
And I don't understand why.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://www.codesys.com/security/security-reports.html" rel="nofollow"&gt;https://www.codesys.com/security/security-reports.html&lt;/a&gt;&lt;br/&gt;
There's a vulnerability reported 2021-09, you should upgrade to at least SP16 P5 or SP17 P1 runtime&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;What do these messages mean?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It means you do not have a certificate there.&lt;br/&gt;
Open either CODESYSControl.cfg or CODESYSControl_user.cfg and delete or comment out the lines:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;WebServer.Cert=server.cer&lt;/span&gt;
&lt;span class="err"&gt;WebServer.PrivateKey=server.key&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>WebVisu crash</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a8b0da50c1/?limit=25#3317" rel="alternate"/><published>2022-02-23T16:55:29.592000Z</published><updated>2022-02-23T16:55:29.592000Z</updated><author><name>jeromebunel</name><uri>https://forge.codesys.com/u/jeromebunel/</uri></author><id>https://forge.codesys.com827cacb863d24e89c7a12a1a9b520761ecff51c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello.&lt;br/&gt;
I have a Linux SL V3.5 SP16 application with webvizu and about ten clients.&lt;br/&gt;
Sometimes the web server crashes.&lt;br/&gt;
And I don't understand why.&lt;br/&gt;
I found these errors in the logs :&lt;/p&gt;
&lt;p&gt;&lt;em&gt;TlsCreateContext: Failed to read certificate './PKI/cert/server.cer' in namespace: 'WebServer'.&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;TlsCreateContext: Creating the TLS context for namespace 'WebServer' failed.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What do these messages mean?&lt;br/&gt;
How to prevent the webserver from crashing or how to restart it automatically?&lt;/p&gt;
&lt;p&gt;Attached is the log export file.&lt;br/&gt;
The event occurred at "23-Feb-22 4:27:20 PM&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>