Setup:
Version 2.50+ Build 160804 running behind an NGINX load balancer with wilcard SSL installed on it.
Problem:
I was just tinkering with the Google Maps API via short answer question and using the IP Info DB API settings. This survey NGINX setup has a wildcard SSL on it that is working without issue. Force HTTPS is set to "don't force on/off".
When I try to view the map on the launched survey, it comes up blank. Using inspector I get two errors:
Code:
Mixed Content: The page at 'https://surveyurl.com/index.php/726714?lang=en' was loaded over HTTPS, but requested an insecure script 'https://maps.googleapis.com/maps/api/js?sensor=false&key=googleapimapkeyhere'. This request has been blocked; the content must be served over HTTPS.
I have a feeling this error is caused by the map not loading:
Code:
VM135 map.js:301Uncaught ReferenceError: google is not definedGMapsInitialize @ VM135 map.js:301(anonymous function) @ VM135 map.js:17each @ jquery-2.2.4.min.js:2each @ jquery-2.2.4.min.js:2(anonymous function) @ VM135 map.js:9i @ jquery-2.2.4.min.js:2fireWith @ jquery-2.2.4.min.js:2ready @ jquery-2.2.4.min.js:2J @ jquery-2.2.4.min.js:2
This isn't a serious issue for me as I don't need this question type just yet. However, I was curious if anyone else came across this as I assume most surveys are being run under https. Perhaps this is worthy of bug tracker if it isn't isolated to me.