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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Unable to execute EMS on RPi3 b

chaitanya
7-Bedrock

Unable to execute EMS on RPi3 b

I am trying to deploy ems on RPi3 b. My ems seems to be connected, but when I am running LSR I am getting below error,

 ---------------------------------


[INFO ] 2018-05-09 09:06:48,19 ./wsems: Creating the WsEms proxy.
[INFO ] 2018-05-09 09:06:48,19 ./wsems: Starting HTTP Server.
[ERROR] 2018-05-09 09:06:48,19 Main: Error initializing HTTP Server
[FORCE] 2018-05-09 09:06:48,19 Main: Exiting....
[DEBUG] 2018-05-09 09:06:48,19 jsonConfigurator::~jsonConfigurator: Deleting JSON object

 

-------------------------------------------------

Below is my config.json file :

 

----------------------------------------------------


    "ws_servers":   [{
            "host": "192.168.43.25",
            "port": 8080
        }],
    "http_server":  {
        "host": "127.0.0.1",
        "port": 8090,
"ssl": false,
"authenticate": false }, "appKey": "990d0f05-c17f-4416-aa07-beefd1e61b50", "logger": { "level": "DEBUG" }, "auto_bind": [{ "name": "PiThing", "gateway": false }], "certificates": { "validate": false, "allow_self_signed":true }, "ws_connection": { "encryption": "none", "verbose": true, "msg_timeout": 1000 } }

 

1 REPLY 1
supandey
19-Tanzanite
(To:chaitanya)

Hi @chaitanya could you try with this

 

{
    "ws_servers": [
        {
            "host": "192.168.43.25",
            "port": 8080
        }
    ],
    "appKey": "990d0f05-c17f-4416-aa07-beefd1e61b50",
    "resource": "/Thingworx/WS",
    "logger": {
        "level": "DEBUG"
    },
    "http_server": {
        "host": "127.0.0.1",
        "port": 8090,
        "ssl": false,
        "authenticate": false
    },
    "auto_bind": [
        {
            "name": "PiThing",
            "gateway": false
        }
    ],
    "certificates": {
        "validate": false,
        "allow_self_signed": true
    },
    "ws_connection": {
        "encryption": "none",
        "verbose": true,
        "msg_timeout": 1000
    }
}

 

 

Announcements


Top Tags