WebSocket connection failed - embedded Ignition website

We have already managed to start the embedded Ignition website on another website, it no longer gives us that error.

The problem is that now we get another connection error ('WebSocket connection failed'). The embedded ingnition website stays in 'initializing' all the time and gives me the following error every time it tries to initialize and authenticate:

As you can see, the website stays all the time initializing:

We believe that it may be a matter of CORS policy, but we are not entirely sure how to tackle it and solve it, could you help us?

Thank you all!

That usually means there's a firewall or reverse proxy along the path from client browser to Ignition gateway that is interfering. Can the client browsers connect to Ignition outside an IFrame? Make sure that works first, before you can expect an IFrame to work.