Webclient Iframe, SSL

Forum to discuss the Web client version of Servoy.

Webclient Iframe, SSL

Postby d.pearce » Tue Mar 19, 2013 12:57 am

Hi,

I am seeing some strange behaviour in IE when embedding our servoy solution in an iframe. We get a message that the page contains both secure and nonsecure data.

I put the iframe in the servoy web apps root, which is under https and still the same thing happens.

Also when its on an external server and framed then everything bunches up to the left.

Screen Shot 2013-03-18 at 22.54.24.png


Code: Select all
<html>
<body>
<h1>Testing iframe on episource server</h1>
<iframe src="https://www.episource-au.com:8443/servoy-webclient/ss/s/ePIsource/a/1000" height="100%" width="100%" frameborder="0"></iframe>
</body></html>


All very odd

David
You do not have the required permissions to view the files attached to this post.
d.pearce
 
Posts: 11
Joined: Wed Jul 18, 2012 11:48 am

Re: Webclient Iframe, SSL

Postby ngervasi » Tue Mar 19, 2013 1:09 pm

From the screenshot I see that the page is served trough http and the iframe content through https but you say you also tried to serve the page through the same https as servoy, if that is the case check for the header images, are they stored in an external http server? Once upon a time (servoy 4.x) I had a similar issue with explorer 6 but there were more details in the error.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Webclient Iframe, SSL

Postby david.pearce » Tue Mar 19, 2013 1:32 pm

Code: Select all
<html>
<body>
<h1>Testing iframe on episource server</h1>
<iframe src="https://www.episource-au.com:8443/servoy-webclient/ss/s/ePIsource/a/1000" height="100%" width="100%" frameborder="0"></iframe>
</body></html>


Yes this was my test, where i put the file i was calling into the webapps/ROOT of my servoy instance and then called that using the same tomcat server that servoy is on and secured.

it gave the white screen with a message in it. That i dont understand as tomcat is set for everything behind it to be secure.
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am

Re: Webclient Iframe, SSL

Postby ngervasi » Tue Mar 19, 2013 1:35 pm

Can you post the full source of the iframe web page?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Webclient Iframe, SSL

Postby sbutler » Wed Mar 20, 2013 1:05 am

I've had this happen to me as well. Follow the instructions under: Adding a "Compact Privacy Policy" header to the Web Client pages
http://wiki.servoy.com/display/public/t ... +an+IFrame

Its interesting how this problem appears. Things just shift, and there are no errors. Policy change should fix it.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Webclient Iframe, SSL

Postby sbutler » Wed Mar 20, 2013 1:07 am

PS. It would be nice if they made this the default for Servoy installs. Almost everyone I know loads Web Client via iFrame.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 2 guests