<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Web Client HTTPS Communication Issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51613e3ff5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51613e3ff5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/51613e3ff5/</id><updated>2025-06-09T09:54:50.632000Z</updated><subtitle>Recent posts to Web Client HTTPS Communication Issue</subtitle><entry><title>Web Client HTTPS Communication Issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51613e3ff5/?limit=25#99d5" rel="alternate"/><published>2025-06-09T09:54:50.632000Z</published><updated>2025-06-09T09:54:50.632000Z</updated><author><name>josul</name><uri>https://forge.codesys.com/u/josul/</uri></author><id>https://forge.codesys.com11230e41ca3086aac202c46ba3940b6bbfd84efe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for the suggestion.&lt;/p&gt;
&lt;p&gt;There is a certificate created in the quarantine directory relating to the URL used for the webclient FB. This certificate should have been valid as it was created only the week before this problem was encountered. &lt;/p&gt;
&lt;p&gt;I investigated a separate location using the same https URL and it has 2 certificates in the same quarantine directory, 1 is created almost 200 days ago, the other over 100 days ago. There have been no similar problems encountered with these certs or https at all.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Client HTTPS Communication Issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51613e3ff5/?limit=25#6b5c" rel="alternate"/><published>2025-06-06T07:25:17.245000Z</published><updated>2025-06-06T07:25:17.245000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com9f8db9e86f935d5eb5c3a1ec3139a33f603273f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did you create a certificate on that device already?&lt;br/&gt;
Go to the menu View - Security Screen and check the certificates on the device.&lt;br/&gt;
There should be one for your webclient FB.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Client HTTPS Communication Issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51613e3ff5/?limit=25#6c00" rel="alternate"/><published>2025-06-05T14:34:08.762000Z</published><updated>2025-06-05T14:34:08.762000Z</updated><author><name>josul</name><uri>https://forge.codesys.com/u/josul/</uri></author><id>https://forge.codesys.com7c45809339025ab5b1b0722b9278cf8e33b3954a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Web Client Library Documentation&lt;br/&gt;
Company:    3S - Smart Software Solutions GmbH&lt;br/&gt;
Title:  Web Client&lt;br/&gt;
Version:    1.0.1.7&lt;br/&gt;
Categories: Application|Utils&lt;br/&gt;
Namespace:  WEB_CLIENT&lt;br/&gt;
Author: 3S - Smart Software Solutions GmbH&lt;br/&gt;
Placeholder:    WebClient&lt;/p&gt;
&lt;p&gt;I encountered an issue using this library above. Note it is now part of Codesys IIoT Libraries SL in the form of Web Client SL, but I am not using this version. &lt;/p&gt;
&lt;p&gt;I was sending Content-Type: application/json, HTTP POST using a HTTPS URL. No issue observed initially, successful operation. At some point operation stopped and the codesyscontrol.log file started to accumulate errors:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ERROR: TlsCreateContext2: Failed to save context.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;An application reset failed to resume operation and I was unable observe any TCP connection forming to a destination port 443. The error appeared as a TCP_INIT error.&lt;/p&gt;
&lt;p&gt;I can find no details as to what may have happened or why a reset of the PLC application did not resume operation. Testing with a curl operation proved to be successful, so I am confident there was no fundamental networking issue preventing a TCP connection forming. &lt;br/&gt;
The solution was to reboot the hardware itself, but this is not satisfactory in the long term.&lt;/p&gt;
&lt;p&gt;Is there any description of the TLS error I received? Is there any suggestion here that there might be an issue with certificates?&lt;/p&gt;
&lt;p&gt;Any advice or information is appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>