Skip to main content
Nintex Community Menu Bar
Solved

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

  • November 15, 2022
  • 2 replies
  • 172 views

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,

2 replies

Forum|alt.badge.img+7
  • Scholar
  • November 16, 2022

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.

 


Forum|alt.badge.img+3
  • Author
  • Rookie
  • Answer
  • November 19, 2022
There is issue with the cert. We updated the cert. Our problem is fixed.
Thank you,