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

Issue Learn Path Guide

SOLVED
Highlighted
Bedrock

Issue Learn Path Guide

Hello guys,

Let me expose some issue that occurs during learn step on Learn Path module. Exactly in the guide called  “Use the Edge MicroServer (EMS) to Connect to ThingWorx. In this guide the EMS can`t connect to the server. Appear code 201 error.

DiegoTavares_0-1595275047393.png

 

I tried change the log level, changed to DEBUG.

Like this link expose.

https://community.ptc.com/t5/ThingWorx-Developers/ERROR-Connecting-WS-EMS-on-Raspberry-Pi/td-p/56991...

 

 

DiegoTavares_1-1595275047423.png

 

Became the same error.

 

I noted a little strange difference between the number of folders that appears in the example…

 

DiegoTavares_2-1595275047448.png

 

Maybe it would be the problem? Or other procedure.

Thanks.

Att. Diego Tavares

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Issue Learn Path Guide

Hello @slangley 

I´ve concluded this situation with @emoreira, meeting.

He gave me the text complement to put in the config.json file.

And tham it connected successfully.

Let me expose below.

 

{

    "ws_servers": [{

        "host": "xxxxxx",

        "port": 8080

    }],

    "appKey": "xxxxxx",

    "logger": {

        "level":             "DEBUG",

        "publish_directory": "C:\\CDEMO_EMS\\logs",

        "publish_level":     "DEBUG",

        "max_file_storage":  2000000,

        "auto_flush":        true

    },

    "http_server":  {

        "ssl": false,

        "authenticate": false

    },

    "ws_connection": {

        "encryption": "none"

    },

    "certificates": {

        "validate": false,

"allow_self_signed": true

    },

    "tunnel": {

        "buffer_size":    8192, 

        "read_timeout":   10, 

        "idle_timeout":   300000,

        "max_concurrent": 4

    },

    "file": {

        "buffer_size": 8192,

        "max_file_size": 8000000000, 

        "virtual_dirs": [  

            {"other":   "C:\\CDEMO_EMS\\other"},

            {"tw":      "C:\\CDEMO_EMS\\tw"},    

            {"updates": "C:\\CDEMO_EMS\\updates"}          

        ],

        "staging_dir":  "C:\\CDEMO_EMS\\staging"

    }  

}

 

 

We had diferences on logger level,  port and certificates.

Thanks for atenption!

Hugs,

Diego Tavares

 

 

 

View solution in original post

4 REPLIES 4
Highlighted

Re: Issue Learn Path Guide

Hi @DiegoTavares.

 

I have notified the team responsible for the creation of the guide.  In the meantime, I will try to investigate for addressing the issue you encountered.

 

Regards.

 

--Sharon

Highlighted

Re: Issue Learn Path Guide

Hi @DiegoTavares.

 

Which version of the EMS are you using?

 

Regards

 

--Sharon

Highlighted

Re: Issue Learn Path Guide

Hello @slangley 

I´ve concluded this situation with @emoreira, meeting.

He gave me the text complement to put in the config.json file.

And tham it connected successfully.

Let me expose below.

 

{

    "ws_servers": [{

        "host": "xxxxxx",

        "port": 8080

    }],

    "appKey": "xxxxxx",

    "logger": {

        "level":             "DEBUG",

        "publish_directory": "C:\\CDEMO_EMS\\logs",

        "publish_level":     "DEBUG",

        "max_file_storage":  2000000,

        "auto_flush":        true

    },

    "http_server":  {

        "ssl": false,

        "authenticate": false

    },

    "ws_connection": {

        "encryption": "none"

    },

    "certificates": {

        "validate": false,

"allow_self_signed": true

    },

    "tunnel": {

        "buffer_size":    8192, 

        "read_timeout":   10, 

        "idle_timeout":   300000,

        "max_concurrent": 4

    },

    "file": {

        "buffer_size": 8192,

        "max_file_size": 8000000000, 

        "virtual_dirs": [  

            {"other":   "C:\\CDEMO_EMS\\other"},

            {"tw":      "C:\\CDEMO_EMS\\tw"},    

            {"updates": "C:\\CDEMO_EMS\\updates"}          

        ],

        "staging_dir":  "C:\\CDEMO_EMS\\staging"

    }  

}

 

 

We had diferences on logger level,  port and certificates.

Thanks for atenption!

Hugs,

Diego Tavares

 

 

 

View solution in original post

Highlighted

Re: Issue Learn Path Guide

Hi @DiegoTavares.

 

I'm happy to hear you found a solution, and thank you for sharing it with the community!

 

Regards.

 

--Sharon

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!