Problem in Chrome, new today

We started seeing a problem today for web clients logging in with Chrome to Servoy 5.2.16
We think the problem started with the recent Chrome Update Version 30.0.1599.69, at least on a Mac, but haven’t confirmed this.
The issue is the secure login screen doesn’t load, just get Loading… in the top left corner.
With Firefox, Safari, IE, login works fine.

Our solution is at https://s1.cesoft.com.au/cesoft
we see the following redirects from https to http to https

https://s1.cesoft.com.au/servoy-webclient/?x=M31PN9deQnfSx9dT1V6xRA
http://s1.cesoft.com.au/servoy-webclient/../../../servoy-webclient/solutions/solution/cesoft
https://s1.cesoft.com.au/servoy-webclient/solutions/solution/cesoft
http://s1.cesoft.com.au/servoy-webclient/solutions/solution/../../?x=Jii14PC6sxEj5moDRkgK*A
https://s1.cesoft.com.au/servoy-webclient/?x=Jii14PC6sxEj5moDRkgK*A

Nothing untoward in the servoy log
Is this expected and could this be the cause of the problem?

I have tested with Chrome 29 and indeed, it was working.
after that I upgraded to Chrome 30, and no page appears.

This has nothing todo with Servoy, but with your html-page with an iframe.
If you try the link directly in chrome: https://s1.cesoft.com.au/servoy-webclie … ion/cesoft
everything is working fine here.

So maybe Chrome has changed something, with an iframe? don’t know…

We always put an Apache server in front of Servoy for deployment to handle all the security stuff. Then never any complaints with iframes and other resources potentially connecting with different protocols.

Thanks for the confirmation and the advice.
Is there anything I can edit in server/ROOT/cesoft/index.html to address this?

<html>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=3.0; user-scalable=1;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-icon" href="CEIco64.png">
<title>CESOFT</title>
<frameset cols="0%,100%" frameborder=0 border=0>
 <frame src="blank.html">
 <frame src="https://s1.cesoft.com.au/servoy-webclient/solutions/solution/cesoft">
</frameset><noframes></noframes>
</html>

We have nginx on the server, I’m looking into how it redirects.

Try a relative URL in the iframe src:

<frame src="/servoy-webclient/solutions/solution/cesoft">

Feel free to poke around in our swc iframe code for additional ideas. We’ve been fine-tuning iframe style for awhile now: http://community.data-sutra.com/project … er.js#L187

Oh, just looked at your code closer and…frame?! In HTML5 the frame tag is gone. Just like the blink tag :) Maybe latest chrome is HTML5 only? Or has a strict mode setting on my default?

Well spotted. What generic code in servoy-webclient/solutions/solution/mySolution/index.html is recommended to cope with both HTML5 and pre-5?

iframe!

chrome changed the way that http and https works
You can’t mix them anymore it think
For example if your main page is in https then http calls to sites in that page are blocked.

jcompagner:
chrome changed the way that http and https works
You can’t mix them anymore it think
For example if your main page is in https then http calls to sites in that page are blocked.

Thanks Johan, that certainly fits the issue, the login page is https. Can you let me know, which of the redirects are a result of Servoy’s inner workings, and are they configurable?

https://s1.cesoft.com.au/servoy-webclient/?x=M31PN9deQnfSx9dT1V6xRA
http://s1.cesoft.com.au/servoy-webclient/../../../servoy-webclient/solutions/solution/cesoft
https://s1.cesoft.com.au/servoy-webclient/solutions/solution/cesoft
http://s1.cesoft.com.au/servoy-webclient/solutions/solution/../../?x=Jii14PC6sxEj5moDRkgK*A
https://s1.cesoft.com.au/servoy-webclient/?x=Jii14PC6sxEj5moDRkgK*A

i think you have in your code somehow a redirect (in html/inline frame or js) that redirects to a none https url.
Because we don’t use full urls (stripping of http(s)) inside servoy itself. All the urls are relative.

We resolved the problem by adding this to the nginx config.

proxy_redirect http://s1.cesoft.com.au/ /; 

Harjo, have you found a different fix at your end?

at my end? I have no trouble with our servers.
so no it’s not my server! :-)

Sorry, I misunderstood this, I thought you had the same prob.

Harjo:
after that I upgraded to Chrome 30, and no page appears.