Skip to main content
slangleyAnswer
Nov 14, 2019 9:02 PM UTC

Hi @hujingrui.

 

The config.json you provided appears to be incomplete.  For example, since you're running SSL, there needs to be a valid certificate.  That is not indicated in your config.  Note that the example in the documentation you are following is not complete.

 

If you have a support account, you might consider opening a case to review your configuration for correcting the issue.  You may also want to check the Help Center for more information.

 

Regards.

 

--Sharon

11 replies

Oct 22, 2019 9:40 AM UTC

@hujingrui I found these posts which might be helpful to refer:

Community Post 1

Community Post 2

Community Post 3

Community Post 4

Community Post 5

 

 

Thanks,

Vibhuti

Oct 22, 2019 7:10 PM UTC

Can you upload more of the log file along with your config.json file 

hujingruiAuthor
Oct 23, 2019 2:11 AM UTC

I am starting to think it might be a subsystem issue. I cannot access or http://123.123.123.31:443/Thingworx/WS even http://123.123.123.31:443/Thingworx/WS on browser.

Is there a place in thingworx composer where i can find this information?

 

Previously i have similiar issue for anomaly detection: http://123.123.123.31:8091/training but that issue is solved but seems to be down again now. Are the microservices running together backend? ie all services either run or stops together. if so, it might be the issue.

Oct 24, 2019 3:48 PM UTC

Hi @hujingru.

 

Are you sure there isn't a port issue?  In the url you provided:   http://123.123.123.31:443/Thingworx/WS, the protocol (http) is unsecured but the port of 443 is the default port for SSL.  So I would expect your url to be this:   https://123.123.123.31/Thingworx/WS (443 is the default, therefore it's not necessary to include it).  However, in your config, you indicated SSL was "false" so perhaps the correct url would be something like this:

 

 http://123.123.123.31/Thingworx/WS

 http://123.123.123.31:8080/Thingworx/WS

 

Regards.

 

--Sharon

hujingruiAuthor
Oct 23, 2019 3:46 AM UTC

log file is as follows. 

error is as attached

 

 

{
"ws_servers": [{
"host": "123.123.123.31",
"port": 443
}],
"appKey": "xxxxxxxxxx......",
"http_server" : {
"host": "127.0.0.1",
"port": 8080,
"use_default_certificate" : true,
"ssl" : false,
"authenticate" : false
},
"logger":{
"level":"INFO"
},

"certificates":{
"validate": false
}
}