Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello all,
We are running thingworx microserver in raspberry pi. WEMS works properly, but when we run luaresource it get
stuck at creating new handler.
PFB for lua log
[INFO ] 2018-08-13 09:29:16,343 ./luaScriptResource: Using config file: /home/pi/microserver/etc/config.lua
[FORCE] 2018-08-13 09:29:16,343 ./luaScriptResource: Starting up ....
[INFO ] 2018-08-13 09:29:16,348 luaScriptResource:main: Encryption is disabled on the RAP connection.
[INFO ] 2018-08-13 09:29:16,348 luaScriptResource:main: FIPS is disabled.
[INFO ] 2018-08-13 09:29:16,350 ./luaScriptResource: New path is /home/pi/microserver/etc/thingworx/clibs:/home/pi/microserver/etc/custom/clibs:/home/pi/microserver/etc/community/clibs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[WARN ] 2018-08-13 09:29:16,351 ScriptResource::initialize: Encryption is disabled on HTTP Server.
[WARN ] 2018-08-13 09:29:16,351 ScriptResource::initialize: Authentication is disabled on the HTTP Server.
[WARN ] 2018-08-13 09:29:16,353 :
[WARN ] 2018-08-13 09:29:16,380 :
[FORCE] 2018-08-13 09:29:16,394 httpServer: starting http server port=9091
[INFO ] 2018-08-13 09:29:16,397 thingworx.shape: Creating a new shape.
[INFO ] 2018-08-13 09:29:16,401 RemoteBharatForgeVibration: -- Configuration -------------------------------
[INFO ] 2018-08-13 09:29:16,402 RemoteBharatForgeVibration: scanRate: 501
[INFO ] 2018-08-13 09:29:16,402 RemoteBharatForgeVibration: scanRateResolution: 500
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: taskRate: 501
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: keepAliveRate: 60000
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: requestTimeout: 15000
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: registerRate: 43200000
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: register: true
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: getPropertySubscriptionOnReconnect: false
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: maxConcurrentPropertyUpdates: 100
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: defaultPushType: VALUE
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: useShapes: true
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: identifier: RemoteBharatForgeVibration
[INFO ] 2018-08-13 09:29:16,403 RemoteBharatForgeVibration: ------------------------------------------------
[INFO ] 2018-08-13 09:29:16,409 thingworx.template: Adding shape 'shapes.metadata' to template 'thingworx.template'
[INFO ] 2018-08-13 09:29:16,410 thingworx.template: Adding shape 'shapes.propsubscribe' to template 'thingworx.template'
[INFO ] 2018-08-13 09:29:16,410 thingworx.template: Creating new templates.RemoteBharatForgeVibrationTemplate named 'RemoteBharatForgeVibration'
[INFO ] 2018-08-13 09:29:16,410 RemoteBharatForgeVibration: -- Initializing properties ---------------------
[INFO ] 2018-08-13 09:29:16,410 RemoteBharatForgeVibration: Initialized property avgFreq [baseType: NUMBER, pushType: ALWAYS, handler: nil, value: 0]
[INFO ] 2018-08-13 09:29:16,412 RemoteBharatForgeVibration: Initialized property upToDate [baseType: BOOLEAN, pushType: NEVER, handler: nil, value: true]
[INFO ] 2018-08-13 09:29:16,413 RemoteBharatForgeVibration: Initialized property minFreq [baseType: NUMBER, pushType: ALWAYS, handler: nil, value: 0]
[INFO ] 2018-08-13 09:29:16,414 RemoteBharatForgeVibration: Initialized property maxFreq [baseType: NUMBER, pushType: ALWAYS, handler: nil, value: 0]
[INFO ] 2018-08-13 09:29:16,415 RemoteBharatForgeVibration: Initialized property avgForce [baseType: NUMBER, pushType: ALWAYS, handler: nil, value: 0]
[INFO ] 2018-08-13 09:29:16,415 RemoteBharatForgeVibration: ------------------------------------------------
[INFO ] 2018-08-13 09:29:16,415 Thingworx: Registering identifier *RemoteBharatForgeVibration for thing RemoteBharatForgeVibration
[INFO ] 2018-08-13 09:29:17,417 RemoteBharatForgeVibration: Identifier *RemoteBharatForgeVibration registered with main Thingworx script for for Thing RemoteBharatForgeVibration
[INFO ] 2018-08-13 09:29:19,387 RemoteBharatForgeVibration: -- Starting script --------------------------
[INFO ] 2018-08-13 09:29:19,387 RemoteBharatForgeVibration: Registering core callback handler
[INFO ] 2018-08-13 09:29:19,387 RemoteBharatForgeVibration: Starting main loop
[INFO ] 2018-08-13 09:29:19,387 RemoteBharatForgeVibration: Calling lifecycle start listeners.
[INFO ] 2018-08-13 09:29:19,387 shapes.propsubscribe: Initialized
[INFO ] 2018-08-13 09:29:19,388 thingworx.handler: Creating a new handler.
Regards,
Velkumar R