Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript AJAX Basics Programming AJAX Processing JSON Data

Mixed Content on https://port-80-r15l5vvuup.ecs-production.treehouse-app.net/ exception in browser

For some odd reason my link workshop link is not allowing ajax to work even though everything is on https which is port 443. How do I fix this in the browser and I have hard refreshed and empty the cache but it still not working.

1 Answer

Steven Parker
Steven Parker
231,275 Points

Your code may only access secure resources, but one or more of them might link to an insecure resource; and your browser is likely set to reject mixed content.

On my browser, Chrome (and perhaps some others), you can allow this on a site-specific basis; so I just made an exception for the treehouse workspaces.

Settings :point_right: Privacy and security :point_right: site settings :point_right: Additional content settings :point_right: Insecure content.