Not Able to Register RemoteThing on EMS using Lua Script
- March 1, 2018
- 2 replies
- 2833 views
Hi Team -
I am trying to run the Respberry Pi example from the Guides.
Everything is working fine and my TW Server, EMS Server and LuaResource is talking to each other.
However - LuaResource is NOT able to register the RemoteThing on EMS server.
Its getting stuck at
[DEBUG] 2018-03-01 15:13:19,864 thingworx.server: Invoking /Thingworx/Things/LocalEms/Services/AddEdgeThing on server. content: {"keepalive":60000,"port":"8001","timeout":15000,"host":"127.0.0.1","proto":"http","name":"*ExampleThing","path":"/scripts/Thingworx"}
[TRACE] 2018-03-01 15:13:19,865 luaBindings:newRapClient: Found RAP at 127.0.0.1:8080
[TRACE] 2018-03-01 15:13:19,865 luaBindings: Got RAP timeout: 0
[TRACE] 2018-03-01 15:13:19,865 luaRapBindings: Self Signed certificates are enabled for the RAP conneciton.
[TRACE] 2018-03-01 15:13:19,865 luaRapBindings: Certificate validation is disabled for the RAP conneciton.
[DEBUG] 2018-03-01 15:13:19,866 SDK: twTlsClient_Create: Initializing TLS Client
it makes a call to EMS server and waits for sometime and EMS server closes the twTlsClient.
Any suggestions pls? Attached is Config.jason and Config.lua files...

