Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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
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