iFrame acces to XF51 with Profinet active

Hi everyone!

When I try to access web view of the camera device connected to XF10 using iFrame widget it works fine. When I do the same trough X51, Webiq cannot reach it, meanwhile I can ping it from CtrlXOS. I use X51, because Profinet is used to communicate with the camera. Is there any restrictions for Webiq regarding port access, or maybe when Profinet is used it can cause the issue?

Best reply by HmiGuide

I see the following difference between Designer and runtime:

Your camera URL uses http and WebIQ Designer uses http protocol, too.
=> The camera content is shown in iframe

My interpretation, the different http URLs are not blocked by browser security (see remark of webiq-sk regarding cross-origin below)
When you start WebIQ runtime from the ctrlX UI, it uses https ( via the reverse proxy of the ctrlX)
=> The camera content is NOT shown in iframe (browser blocks iframe content because of different protocols http <=> https)

You can start WebIQ runtime with http protocol via the link: http://192.168.1.11:10123/<your-project-name>/ to use http protocol for runtime & camera.

I'll test it to see if my assumptions are correct. However, the use of HTTP in industrial environments is no longer appropriate, as it is too insecure. This should be looked into more closely in the future. Especially since I can well imagine that browser security restrictions for HTTP could also become more stringent.

View original
13 replies