Skip to main content
1-Visitor
March 26, 2021
Question

Error on working with DotNet SDK and non SSL thingworx platform

  • March 26, 2021
  • 3 replies
  • 2341 views

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.

3 replies

16-Pearl
March 26, 2021

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)

1-Visitor
March 26, 2021

Hi Lowy,

 

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

And also SteamSensor application is running in the same machine.

1-Visitor
March 29, 2021

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.

16-Pearl
March 29, 2021

@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.

Community Manager
April 20, 2021

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