Skip to main content
1-Visitor
February 3, 2017
Question

Error 111 & Error code :1001

  • February 3, 2017
  • 1 reply
  • 1945 views

Web socket not connecting ..

Screenshot from 2017-02-03 16-17-49.png

    1 reply

    20-Turquoise
    February 3, 2017

    Is the port open in the firewall for inbound and outbound connections?

    A couple more things to check in the configuration:

    • SocketReadTimeout defines how long it should allow the socket to be open before timing out
    • DisableCertValidation notifies the TLS library not to validate the server certificate (config.DisableCertValidation = true)
    srao11-VisitorAuthor
    1-Visitor
    February 3, 2017

    Thanks Polina,,could  I know where these configurations changes being done?? I did not see them in source code (main.c)...pls help Iam newbie to Thingworx

    20-Turquoise
    February 3, 2017

    Apologies, I thought you were using dotnet rather than C SDK. The path tw-c-sdk\src\config contains the two files, config and default settings. You may find the similar fields there, for socketreadtimeout DEFAULT_SOCKET_READ_TIMEOUT 100.  Please refer to the helpcenter for the detailed instruction guide http://support.ptc.com/help/thingworx_hc/thingworx_edge/#page/twx_edge_cs_hc%2Fcsdk_topics%2Fc_csdk_install_navigating_dirs.html