cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Windows TWEMS stopped working

ptc-6292023
1-Newbie

Windows TWEMS stopped working

I am trying to run Exercise 20 Thingworx Edge Microsever, but when I start the twems.exe it fails with:

[FORCE] 2014-01-09 22:55:39,235 Main: Starting twems.exe, version 4.1.1.3
[FORCE] 2014-01-09 22:55:39,250 httpServer: starting http server port=8000
[ERROR] 2014-01-09 22:55:40,389 area: 0x100:
  localhost: connection refused
[WARN ] 2014-01-09 22:55:40,389 ConnectionManager::onDisconnect: Disconnects count 1.
[WARN ] 2014-01-09 22:55:40,389 ConnectionManager::onDisconnect: Agent could not connect. 9
[WARN ] 2014-01-09 22:55:40,389 Connection: Connect attempt failed
[WARN ] 2014-01-09 22:55:40,389 ConnectionManager::execute: Connection exited with status: 0
[WARN ] 2014-01-09 22:55:40,389 ConnectionManager::checkRetry: Attempting to reconnect in 15 seconds.

It was working at first by stopped.  Not sure what may have changed....

Thanks
Ben

2 REPLIES 2
adam11
5-Regular Member
(To:ptc-6292023)

Hi Benjamin,

In order to have the Edge MicroServer connect to ThingWorx, you will need to complete

Exercise 21

. Setting up a +Channel +and starting the XMPP Subsystem should eliminate this error message.


Thanks,

Adam



Actually, I had completed the Exercise 21 already.  The issue was the XMPP service needed to be started again after I rebooted my laptop.... forgot the auto start checkbox


Thanks

Ben



Top Tags