Skip to main content
Nintex Community Menu Bar
Solved

Start Nintex K2 workflow error "The underlying connection was closed: Could not establish..."

  • Nov 15, 2022 9:30 PM UTC
  • 2 replies
  • 260 views
  • Translate All

Forum|alt.badge.img+3

I have a workflow (K2 Five 5.3 with FixPack 03).  I have an application where user can start a K2 workflow).  After applying the Fix Pack, I see this error

"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

We verify that K2 server allows TLS1.2

Here is my code

 

var URL = "https://s....";

HttpWebRequest request = WebRequest.Create(URL) as HttpWebRequest;

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
ServicePointManager.Expect100Continue = true;
ServicePointManager.DefaultConnectionLimit = 9999;
// get response
var response = request.GetResponse();

....

Thanks in advance.

Best answer by KimL

There is issue with the cert. We updated the cert. Our problem is fixed.
Thank you,
View original

2 replies

Forum|alt.badge.img+8
  • Nintex Partner
  • Nov 16, 2022 8:50 AM UTC

Usually when I see a connection problem like this and it leads to possible problems with regard to TLS, the first thing I check is if the .NET Framework 4.8 and its latest updates are on the servers.

And then also if the registry settings are as per the Minimum Requirement paragraph of the "K2 and TLS 1.2 Support" article.

 

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • Answer
  • Nov 19, 2022 1:23 PM UTC
There is issue with the cert. We updated the cert. Our problem is fixed.
Thank you,
Translate