I configured Thingworx platform to use self-signed certificate and updated Experience Service configuration. I can access Vuforia Studio and connected it to Experience Service server. But a bad gateway error is displayed when accessing External Data panel in Vuforia Studio. What's possible reasons?
Solved! Go to Solution.
@eyli It appears there is an issue with TWX & ES connectivity or configuration values inside ES configuration.json. I am suspecting you are having On-premise ES and TWX setup and facing the issue. Please confirm.
Do you see any errors in TWX application logs and ES Terminal when you click external data inside Studio app?
I would suggest enabling the DEBUG level log in ES by running the below command before starting the ES service. Restart both ES & tomcat services.
set DEBUG=vxs* start.bat
Review the error that occurred in ES terminal & TWX logs and validate the configuration again. Refer our existing knowledge base article which could be of help -
Also, recommend considering the usage of CA-signed certificates since that is most secured and also there has been an issue reported with the latest iOS & Android OS releases where self-signed certificates ( HTTPS) requests are blocked. So, while accessing experience in View app with ES/TWX self-signed SSL enabled you might face additional challenges.
I got the following error when I was starting es on Windows.
Error: self signed certificate
at TLSSocket.<anonymous> (_tls_wrap.js:1116:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:643:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:473:38)