Webclient "Blocked Insecure Content"

Forum to discuss the Web client version of Servoy.

Webclient "Blocked Insecure Content"

Postby grahamg » Mon Jul 29, 2019 9:46 am

Servoy 7.4.x

Have a client concerned at Browser "Content Blocked" warnings when using Print Preview - also appears when using the Forum see screenshot.

Solution is using https and shows as secure but people are understandably reluctant to click on the "Load unsafe Scripts" option.

Could not find anything previously on the Forum and welcome suggestions on how others are handling this.

Thanks
You do not have the required permissions to view the files attached to this post.
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 747
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Webclient "Blocked Insecure Content"

Postby mboegem » Mon Jul 29, 2019 11:13 am

Hi Graham,

your customer is getting these warnings, because at that point a page is loaded with scripts that, most likely, use unsafe http connections.
The main page might be secured with a certificate, but scripts could load content over unsafe http connection.

In order to find the source of these messages: open the inspector in Chrome, navigate to the 'Network' tab and then see which resources are (trying to be) loaded over http. (They probably appear in red)

This problem might even be some script outside of your application as it can be a Chrome extension that injects a script in each page, which then is trying to load other resources over http.
Try the inspector and you'll find out very soon :-)

Hope this helps
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1514
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: Webclient "Blocked Insecure Content"

Postby grahamg » Mon Jul 29, 2019 11:33 pm

Thanks Marc - great advice from you as always :)

Mixed Content: The page at 'https://xxxx.worxinfo.com/servoy-webclient/application/s/sdlt.3.1' was loaded over HTTPS, but requested an insecure resource 'http://xxxx.worxinfo.com/servoy-webclient/resources/servoy/resources'. This request has been blocked; the content must be served over HTTPS.


However, I'm not sure how to resolve this as the offending function is simply to [Print Preview] - all code & forms are on the Servoy Server - but there is a "http://......../servoy-webclient/resources/servoy/resources" call that I presume is made internally by Servoy?

Does anyone know how to change the 'http://....' call to 'https://..."?


Thanks
Graham
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 747
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 1 guest

cron