Skip to main content
1-Visitor
Mar 26, 2021 6:56 AM UTC
Question

Error on working with DotNet SDK and non SSL thingworx platform

I am beginner to Thingworx Platform, using version 9.1 trail foundation

Hosted as http://localhost:8080/thingworx -  It's working as expected in browser.

Now started working with dotnet sdk 5.8, following SteamSensor application, to communicate thingworx server,

Getting error like "Error initializing socket connection. Err = 10061", though disabled certValidation and ConnectedThingClient.disableEncryption().

 

Kindly let me know the resolution to proceed further.

5 replies

16-Pearl
Mar 26, 2021 7:24 AM UTC

Hi @gvyakaranam,

 

Is .NET SDK running on the same server as ThingWorx ? If not can you check if you can reach the ThingWorx server and 8080 port from the .NET server using telnet [twx server domain name or ip] 8080 ? (Using telnet to Test Open Ports)

Translate
1-Visitor
Mar 26, 2021 8:09 AM UTC

Hi Lowy,

 

Both Thingworx platform and dotnet sdk are in same machine/server.

And also SteamSensor application is running in the same machine.

Translate
1-Visitor
Mar 29, 2021 4:59 AM UTC

Hi Lowy,

 May I expect the resolution, as blocked to proceed further...

Both .Net SDK, Thingworx server(non secured) are in same machine. Getting error on connection.

Translate
16-Pearl
Mar 29, 2021 6:37 AM UTC

@gvyakaranam, I notice that you mentioned your ThingWorx URL being http://localhost:8080/thingworx. Note that the SDK connection URL is case sensitive so make sure to write it as wss://localhost:8443/Thingworx/WS.

 

if the issue persists and considering this is a blocker for you, I would suggest opening a Support Case to get dedicated assistance.

Translate
Support
Apr 20, 2021 9:08 PM UTC

Hi @gvyakaranam.

 

If the previous post helped to resolve your issue, please mark it as the Accepted Solution for the benefit of others with the same issue.  If your issue has not yet been resolved, we will be happy to open a case on your behalf assuming you have a support contract.

 

Regards.

 

--Sharon

Translate