cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

.NET SDK 5.6 Start Method Hangs

SOLVED
Highlighted
Level 1

.NET SDK 5.6 Start Method Hangs

I have recently switched to the new ThingWorx .NET SDK version 5.6.0 FIPS from 5.5. Now the same application hangs on calling ConnectedThingClient.start().

I tried setting AllowSelfSignedCertificates to true and still the same results.

Here is the call stack when I break:

  thingworx-dotnet-common.dll!com.thingworx.communications.client.TwApiWrapper.Connect(uint timeout, short retries) Line 1096 + 0xc bytes C#

  thingworx-dotnet-common.dll!com.thingworx.communications.client.BaseClient.connect() Line 105 C#

  thingworx-dotnet-common.dll!com.thingworx.communications.client.BaseClient.start() Line 259 C#

How can I find out what the issue is?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: .NET SDK 5.6 Start Method Hangs

I was able to get this working by following these directions to setup Tomcat for SSL.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS000193947

make sure you also set AllowSelfSignedCertificates to true.

The 5.5 and 5.6 SDK both work. The only issue is with the 5.6 SDK still hangs and never raises an exception when the Tomcat server is DOWN.

2 REPLIES 2

Re: .NET SDK 5.6 Start Method Hangs

I was able to get this working by following these directions to setup Tomcat for SSL.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS000193947

make sure you also set AllowSelfSignedCertificates to true.

The 5.5 and 5.6 SDK both work. The only issue is with the 5.6 SDK still hangs and never raises an exception when the Tomcat server is DOWN.

Re: .NET SDK 5.6 Start Method Hangs

Hello Matt,

If you're seeing an issue,we would very much like to reproduce and fix it. Could you provide some steps on how to reproduce? Also, a log file from the SDK set to Verbose level would be extremely useful in troubleshooting this. Thanks.