Hi All
I'm trying to add a web components in my LCA, it should open a device that Dataminer already able to reach.
But when I try to add the Web components in the LCA, and insert the right URL, I got different kind of error, with one device I got "IP refused the connection", another time the web components just stare blank, and dosen't load anything or prompt any info.
Just to be sure, the web components have some kind of constrains? I see required to have a https, it also refuse to connect when there isn't a valid certificate?
Hi Marco
The Web component doesn't have a restriction on http vs https. It only enforces the use of https when the LCA itself is visited using https (which we highly recommend). When using https, most browser requires the certificate to be valid to be able to display the webpage. In some cases, depending on the browser settings for that site, invalid certificated are allowed by the browser.
You can verify if an invalid certificate is why the component is blank by looking at the network tab of the developer tools of your browser. There you should be able to see a failed get request to the configured URL with a certificate error.
Example for an expired certificate:
Hi Marco, this header means that the webpage doesn't allow being embedded in another webpage. This is probably something you can modify on the device hosting the webpage.
Hi
Thansk a lot for your answer, at the least you also give to me the idea to check the console (that I forgot) it not seems a problem with the certificate, but something related to the x-frame-options: from the devices, as it response
x-frame-options: SAMEORIGIN
So at this point I think I need to understand if there is a way to change this value from the devices to embed the value in an iframe