Skip to main content
Arena Solutions Logo
      • Community
      • Recently active topics
      • Unanswered questions
      • CAD
      • Creo+ and Creo Parametric
          • 3D Part & Assembly Design21767
          • System Administration5016
          • Analysis2158
          • Customization3225
          • Manufacturing (CAM)1121
          • Creo Parametric Tips456
      • Creo Elements Direct
          • Drafting285
          • Modeling300
          • Model Manager19
          • System Administration85
      • Other Creo Products (Sketch/Layout/Schematics and Creo Direct)
          • Other Creo Products (Sketch/Layout/Schematics and Creo Direct)405
      • Mathcad
          • Mathcad14825
          • Mathcad Installation1457
          • Mathcad Tips73
          • Ask Me Anything About Mathcad12
      • PLM
      • Windchill
          • Windchill16330
          • Windchill Customization2727
          • Windchill Navigate366
          • Windchill Tips98
      • ALM
      • Codebeamer
          • Codebeamer452
          • Codebeamer Tips29
      • Systems/Software Engineering
          • Systems/Software Engineering2233
          • Systems/Software Engineering Tips31
      • Pure Variants
          • Pure Variants4
      • SLM (Service)
      • Arbortext
          • Arbortext3677
          • Arbortext Tips94
      • ServiceMax0
      • Servigistics1
      • Visualization
      • Product View / Illustrate798
      • IoT & Connectivity
      • ThingWorx
          • ThingWorx Developers15002
          • Mfg Solutions & Apps571
          • Ask the Experts About the Licensing App12
      • Kepware
          • Kepware1005
      • IoT & Connectivity Tips1074
      • Augmented Reality
      • Vuforia Studio3042
      • Vuforia Studio Tech Tips99
      • PTC Education
      • PTC Education Forum4157
      • PTC Working Groups (Info)
      • PTC "Working Group" Info8
      • PTC Community Information Center
      • PTC Community Announcements78
      • PTC Community Feedback299
      • Welcome & How-To's39
      • Customer Success
      • PTC eSupport Help Discussions470
      • PTC eSupport Help Ideas62
      • PTC University Training344
      • PTC University LEARN Questions171
      • Expert Session Recording Library1
      • Networking and More
      • PTC/USER
          • PTC/ USER Community Networking808
      • PTCooler "OffTopic"719
      • Archive Read Only
      • Creo (Previous to May 2018)
          • Creo Modeling Questions5673
      • Integrity Lifecycle Manager New Web UI
          • Integrity Lifecycle Manager Discussions17
          • Integrity Lifecycle Manager Blog5
          • Integrity Lifecycle Manager Ideas3
      • B&WSoftware - The Creo/Toolkit Experts
          • Discussions46
          • Blog12
      • Model Based Enterprise
          • Model Based Enterprise (MBE) Blog2
          • Discussions12
      • Community Content Groups
          • Data Exchange / Interoperability
              • Discussions31
          • PTC Medical Device Customer Community
              • Discussions3
              • Blog18
      • Innovation Lab
          • Proactive Monitoring & Support2
      • IoT Archive
          • IoT Tech Tips0
          • Expert Sessions Library21
          • Ask Navigate Emily Anything6
      • Community Archives
      • Vuforia Chalk237
  • Events
  • Groups
  • Community Resources
Arena Solutions Logo
  • Create topic
  • Login
  • Home
  • Community
  • IoT & Connectivity
  • ThingWorx
  • ThingWorx Developers
  • Error opening non-TLS socket[localhost:8001]
G
gquiroga1-Visitor
1-Visitor
8 years ago
May 31, 2018 7:30 PM UTC
Question

Error opening non-TLS socket[localhost:8001]

  • 3 replies
  • 3133 views
  • Translate All

When running wsems I get the following errors:

UnencryptedClientStream::doopen:Error opening socket. Error: 111

 

HttpClient::initialize: Exception while opening connection request to localhost. Error: Error opening non-TLS socket [localhost:8001]

 

 

  • Troubleshooting
  • Connectivity
This topic has been closed for replies.

3 replies

  • Newest first
  • Most Liked
S
smanley5-Regular Member
5-Regular Member
8 years ago
May 31, 2018 8:29 PM UTC

Are you using a self signed certificate to connect the WSEMS? We have an article that may help you resolve the issue. 

EMS and LSR are unable make a connection to SSL enabled ThingWorx server using EMS 5.4.0

 

  • Below are the sample config.json and config.lua that will work for a server with self signed certificate
  • Please find detailed explanation with examples from the Edge Help Center

WS EMS - Config.json

"http_server": {
"host": "localhost",
"port": 8000,
"ssl": true,
"authenticate": false,
"use_default_certificate" : true
},
"certificates": {
"validate": false,
"allow_self_signed": true
}


LSR - config.lua

-- EMS Connection Configuration
scripts.rap_host = "localhost"
scripts.rap_port = 8000

-- EMS Connection TLS Configuration
scripts.rap_ssl = true
scripts.rap_deny_selfsigned = false
scripts.rap_validate = false

-- EMS Connection Authentication
-- Configuration
scripts.rap_server_authenticate = false

-- HTTP Server Configuration
scripts.script_resource_host = "localhost"
scripts.script_resource_port = 8001

-- HTTP Server TLS Configuration
scripts.script_resource_ssl = true
scripts.script_resource_use_default_certificate = true

-- HTTP Server Authentication
-- Configuration
scripts.script_resource_authenticate = false
PTC
Translate
G
gquiroga1-VisitorAuthor
1-Visitor
8 years ago
May 31, 2018 8:44 PM UTC

Hi smanley,

 

That is the configuration I've got on both the config.json and the config.lua files. 

When I try to run the LSR it get's stucked on "Initializing TLS Client" even if SSL is deactivated.

Translate
S
ShravanS5-Regular Member
5-Regular Member
8 years ago
Sep 10, 2018 9:43 PM UTC

Hi @gquiroga,

Did you get it working? I am facing the same issue here

Translate

Windchill Satisfaction Survey

Help shape the future of Windchill. Take our 5-minute survey and share your feedback.

Take the Survey ↗

Powered by Gainsight
Terms & ConditionsAccessibility statement

Sign up

Already have an account? Login

Please use your PTC eSupport account.

Login

Welcome to the PTC Community

Please use your PTC eSupport account.

Login

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

    Back to overview