Fix Clash VPN Mixed Content Errors | Generated by AI

Home PDF

The error messages you’re encountering indicate a mixed content issue with the Clash VPN application, specifically when the page at https://clash.razord.top/ tries to load resources from an insecure http://127.0.0.1:9090/ endpoint (e.g., http://127.0.0.1:9090/version). Modern browsers block such requests because they violate security policies by attempting to load insecure HTTP content on a secure HTTPS page. Additionally, there are CORS (Cross-Origin Resource Sharing) errors due to access control restrictions. Below is a step-by-step guide to resolve this issue.


Why This Happens


Steps to Fix the Issue

1. Verify Clash Core Configuration

2. Access the Dashboard via HTTP (Temporary Workaround)

3. Update URLs to HTTPS

4. Set Up a Reverse Proxy with HTTPS

5. Bypass CORS Restrictions (Advanced)

6. Update Clash or Switch to a Compatible Version

8. Check for Conflicting Extensions or Firewall

9. Contact Clash Support or Community


The most secure and robust solution is to set up a reverse proxy with HTTPS (step 4) to ensure all requests are served over HTTPS, resolving both the mixed content and CORS issues. If you’re unable to modify the Clash core or dashboard, using a newer version of Clash (e.g., Clash Verge) or accessing the dashboard via HTTP temporarily (step 2) may be quicker workarounds.


Additional Notes

Let me know if you need help with specific steps, such as setting up Nginx or debugging the Clash configuration!


Back 2025.06.29 Donate