mihaituhari / snow

Snow resorts forecast & webcams in Romania
https://snow.tuhari.ro/
5 stars 0 forks source link

Straja webcams are unsecure #2

Open mihaituhari opened 4 years ago

mihaituhari commented 4 years ago

@stefanraduadrian Straja was working fine on my local machine but it wasn't working on production. The reason is that production is under HTTPS, but the webcams of Straja are on HTTP (http://82.79.247.31...)

I tried a dirty hack with a cURL via redirect.php but it didn't work smooth, so we'll need to investigate. Having the site on HTTP makes those webcams work, but it's unsecure.

lithiil commented 4 years ago

Maybe recording the stream on the server and then streaming it from your own app would solve that problem.

Possible solutions:

mihaituhari commented 4 years ago

thanks! I'm gonna check during next days