user1182071
user1182071

Reputation: 181

Http and Https communicating issues

Trying to upload a media (video / image) for iphone and android, from one domain using HTTPs to another HTTP. Cant change both to a single protocol as both have different environments which cant be changed apparently.

Everything's working fine on iOS but Android is not doing the uploading thing.

Getting following error on Android chrome :

Mixed Content: The page at 'https://*****' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://*****'. This request has been blocked; the content must be served over HTTPS.

Upvotes: 0

Views: 146

Answers (1)

Tom
Tom

Reputation: 4826

When the main page is https, then insecure (http) request are mostly blocked.

The best way to avoid mixed content errors is to use https for everything.

Upvotes: 0

Related Questions