Hello, I'm having problems resolving Mixed content issues and http over https as shown in my developer tools in Chrome on my website.

1,705 views
Skip to first unread message

Traveling Musician

unread,
Apr 24, 2018, 2:00:38 AM4/24/18
to Chrome DevTools
I've looked at everything and haven't been able to figure out what's wrong???  Is it in my webpage or something in my index causing this??  Thanks for any help or advice.

This is what it shows about my page in developer tools::: 

Mixed Content: The page at 'https://www.adventurelandtravel.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.adventurelandtravel.com/'. This request has been blocked; the content must be served over HTTPS.
qU71nf1h9kU:1 Failed to load https://googleads.g.doubleclick.net/pagead/id: Redirect from 'https://googleads.g.doubleclick.net/pagead/id' to 'https://googleads.g.doubleclick.net/pagead/id?dpt=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.youtube.com' is therefore not allowed access.
(index):1 Mixed Content: The page at 'https://www.adventurelandtravel.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.adventurelandtravel.com/'. This request has been blocked; the content must be served over HTTPS.
2qU71nf1h9kU:1 Failed to load https://googleads.g.doubleclick.net/pagead/id: Redirect from 'https://googleads.g.doubleclick.net/pagead/id' to 'https://googleads.g.doubleclick.net/pagead/id?dpt=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.youtube.com' is therefore not allowed access.

PhistucK

unread,
Apr 24, 2018, 12:47:22 PM4/24/18
to Google Chrome Developer Tools
​You have some references to http://www.adventurelandtravel.com/ (instead of https://www.adventurelandtravel.com/) from your pages. Change them to always use https://www.adventurelandtravel.com/ or use relative references (/image.png instead of https://www.adventurelandtravel.com/image.png) instead.


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/33b54347-5ced-4e3f-8ce8-164852f51540%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Traveling Musician

unread,
Apr 24, 2018, 4:56:59 PM4/24/18
to Chrome DevTools
Hi, I just tried to reply but not sure what happened.  Anyway, now it's showing 3 instances of: 
3qU71nf1h9kU:1 Failed to load https://googleads.g.doubleclick.net/pagead/id: Redirect from 'https://googleads.g.doubleclick.net/pagead/id' to 'https://googleads.g.doubleclick.net/pagead/id?dpt=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.youtube.com' is therefore not allowed access.

So I changed the HTML language tag to  <html lang="en" dir="ltr" data-cast-api-enabled="true"> because console showed it with a red X before. 
I'm not using Google Ads on my home page and don't see any HTTP links missing a S. Could it be my Google analytics code at the bottom of my </head> section or would it be something to do with the YouTube video I have on my home page?  I'm just trying to fix my homepage so I don't make the same mistake on my other pages I'm rebuilding.
________________________________________________________________________________________________

Traveling Musician

unread,
Apr 24, 2018, 4:56:59 PM4/24/18
to Chrome DevTools
Hi and thanks for your reply,
I am rebuilding my site and there are many pages I have't gotten to yet.  I'm basically concerned with my main home page which I cannot find any HTTP references.  I cannot find the Google ads references google developer is showing for Doubleclick.  All the console showed was a red X by my <doctype> at the top and now that's gone.  I believe if I could just figure out my home page problems I could avoid it on the rest of my site.  I haven't found any instances of HTTP without the S after it on my homepage.  Now the console shows some different problems.  Is it something to do with my Google script at the bottom of my </head>  that is used for my analytics?  I'm not running any Google Ads on that page.  Or, could it have something to do with the Youtube video I have embedded on that page?  I changed the HTML "en" to <html lang="en" dir="ltr" data-cast-api-enabled="true"> like they showed a red X by in console.  Now I'm just getting 3 instances of this below.  Any ideas on how to fix?  Thanks for any help.

Now it's showing :

Failed to load https://googleads.g.doubleclick.net/pagead/id: Redirect from 'https://googleads.g.doubleclick.net/pagead/id' to 'https://googleads.g.doubleclick.net/pagead/id?dpt=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.youtube.com' is therefore not allowed access.
<!DOCTYPE html>  <html lang="en" dir="ltr" data-cast-api-enabled="true">
VM305:1 Uncaught SyntaxError: Unexpected token <

__________________________________________________________________________

PhistucK

unread,
Apr 24, 2018, 5:01:02 PM4/24/18
to Google Chrome Developer Tools
I am actually not seeing any error when I go to your page. Perhaps you have an extension installed that causes those errors.
Try going to your page in incognito mode, do you still see errors? 
Try uninstalling or disabling your extensions one by one until the errors stop.


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages