Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
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?
Solved! Go to Solution.
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.
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.
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.