<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Web CLient: "TCP Init" Error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/</id><updated>2023-05-24T11:55:08.548000Z</updated><subtitle>Recent posts to Web CLient: "TCP Init" Error</subtitle><entry><title>Web CLient: "TCP Init" Error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/?limit=25#ed8b" rel="alternate"/><published>2023-05-24T11:55:08.548000Z</published><updated>2023-05-24T11:55:08.548000Z</updated><author><name>justthefacts77</name><uri>https://forge.codesys.com/u/justthefacts77/</uri></author><id>https://forge.codesys.com130f5caef8d2e74ec721e7a64243bf1d72376b41</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hmmm.here's the odd things (I have CSYS support so I also submitted to them and they said HTTPS worked ok on example project).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Example project Web Client "out of the box" from CSYS states HTTP or HTTPS URL supported in the comments of the PRG.&lt;/li&gt;
&lt;li&gt;This implies (to me) no unique HTTPS Cert generation, etc. required. I type the HTTPS URL ( &lt;a href="https://api.weather.gov/gridpoints/TBW/69" rel="nofollow"&gt;https://api.weather.gov/gridpoints/TBW/69&lt;/a&gt;,116/forecast/hourly ) in browser, displays fine. I run WinPLC project and "TCP Init Error"&lt;/li&gt;
&lt;li&gt;No external inputs to CFC Block I can set to fix.&lt;/li&gt;
&lt;li&gt;Definitely on my end, but stumped for now. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Feedback really appreciated on this. Any further insights I'll take otherwise, gonna have to "grind it out"....&lt;/p&gt;
&lt;p&gt;I was going to revisit WebVisu running over HTTPS (which I think Security Agent generates Certs for) for any clues.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web CLient: "TCP Init" Error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/?limit=25#1f8f/5f6f/c0fe" rel="alternate"/><published>2023-05-24T11:41:24.743000Z</published><updated>2023-05-24T11:41:24.743000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comcc46d4396a4934d04d512604f29ce0504b315e21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I dont think Security Agent can generate Diffie Hellman parameters, which is what you need for tls connections without client certificates.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web CLient: "TCP Init" Error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/?limit=25#1f8f/5f6f" rel="alternate"/><published>2023-05-24T11:00:52.410000Z</published><updated>2023-05-24T11:00:52.410000Z</updated><author><name>justthefacts77</name><uri>https://forge.codesys.com/u/justthefacts77/</uri></author><id>https://forge.codesys.com87d08bb976fab50e8ccea1481d36bd68dd6f5ffb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I ran "security Agent" which is the latest cert. gen approach. Thanks though.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web CLient: "TCP Init" Error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/?limit=25#1f8f" rel="alternate"/><published>2023-05-23T17:36:09.951000Z</published><updated>2023-05-23T17:36:09.951000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com62208f03c83c58a0bc83c829e3338cf1f717911f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;have you run &lt;code&gt;cert-gendhparams&lt;/code&gt; from the &lt;a class="" href="https://help.codesys.com/api-content/2/codesys/3.5.15.0/en/_cds_edt_device_plc_shell/" rel="nofollow"&gt;Plc shell&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web CLient: "TCP Init" Error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a8f08d8a2/?limit=25#9656" rel="alternate"/><published>2023-05-23T17:06:41.144000Z</published><updated>2023-05-23T17:06:41.144000Z</updated><author><name>justthefacts77</name><uri>https://forge.codesys.com/u/justthefacts77/</uri></author><id>https://forge.codesys.com7f1409cf696e89cadca3098c8b1101509aa26271</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;*Note: previous posts on this did not resolve my issue.&lt;/p&gt;
&lt;p&gt;Using latest IIOT Library download with Web Client and associated example project on WinPLC.&lt;/p&gt;
&lt;p&gt;Use the provided &lt;strong&gt;HTTP&lt;/strong&gt; URL: sURL : STRING(1024) := 'http://httpbin.org/get' (works fine)&lt;/p&gt;
&lt;p&gt;Use my  &lt;strong&gt;HTTPS&lt;/strong&gt; URL: sURL : STRING(1024) := 'https://api.weather.gov/gridpoints/TBW/69,116/forecast/hourly'  &lt;/p&gt;
&lt;p&gt;gives me "TCP_INIT_ERROR" Unable to initialize the TCP socket.&lt;/p&gt;
&lt;p&gt;All Libraries look good as provided with the example project and updated accordingly.&lt;/p&gt;
&lt;p&gt;?- something with my Socket and HTTPS credentials. Just not sure were thos knobws are adjusted.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>