• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PeerJs Error: peer.js: 861 Mixed Content

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Guys.

I'm trying to develop a "video-conference" site.

I'm using PeerJs.

The browsers require that the site page be HTTPS.

The problem is that when calling the PeerJs library, it has an HTTP call and not HTTPS inside.

Then it returns the error:

peer.js: 861 Mixed Content: The page at 'https://conciliar.org/conciliacao_v4.php?' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://0.peerjs.com:9000/tadjksnufvlvj9k9/id?ts=15174003570050.24148370874463132'. This request has been blocked; the content must be served over HTTPS


That is, the PeerJs library itself does not allow the site to be completed, since all calls should be HTTPS, and inside the PeerJs library it calls HTTP.

Has anyone ever had this situation using PeerJs or something similar to solve?

Is there another way to solve this problem?

Thank you,

Fernando
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic