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
Andrew Lobach
8,782 PointsMixed Content Error thrown in modern (2025) browsers
This is less a question and more a request to Treehouse to update where they are storing the astros.json file. Most browsers will block less secure content (http requests) when you are on a secure site (https).
1 Answer
Laura Coronel
Treehouse TeacherHi Andrew Lobach,
You’re absolutely right! Modern browsers will block requests to less secure (HTTP) endpoints when running from a secure (HTTPS) site.
We’re aware of this issue, and we actually mention it in the Teacher’s Notes for an earlier video called “Async Programming and Callback Functions” Under that video, we note:
When you're following along in Workspaces you may encounter an error in the console saying that the request has been blocked because it’s trying to request from an insecure endpoint. This happens because the Open Notify API uses the HTTP protocol while Workspaces run on HTTPS.
To work around this, you have a couple of options:
- You can download the project code and follow along in your own text editor.
- Or, you can add your Workspace preview URL to the exceptions list in your browser settings:
- Chrome:
chrome://settings/content/insecureContent - Firefox: Unblock Mixed Content
- Chrome:
Also, it’s always a good idea to check the Teacher’s Notes for each video. We use them to post important updates and fixes like this.