Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
El nuevo alojamiento web rompe la cámara web que funcionaba con el antiguo alojamiento web

Tengo un sitio web de pasatiempos meteorológicos que recientemente cambié del alojamiento web de HostGator al alojamiento web de Hostinger. Todo funciona bien en el nuevo host con la excepción de mi cámara web. La página de la cámara en el sitio web usa un script que extrae una imagen estática de mi cámara, la muestra y luego la actualiza cada 1 segundo... esto funcionó muy bien con el alojamiento antiguo y falla con el nuevo alojamiento. Soy un completo tonto en lo que respecta a la codificación y no sé cómo solucionar este problema. Sin embargo, sospecho que el problema es la forma en que se fuerza SSL para todo en mi nuevo host. La URL que el script extrae de mi cámara es: http://172.100.163.136/webcapture.jpg?command=snap&channel=1&user=viewer&password

Esa URL funciona en un navegador como http pero no como https

Aquí está el script que estoy usando:

 <script type="text/javascript"> // <![CDATA[ var refreshrate = 1; // seconds between refresh var image = "http://172.100.163.136/webcapture.jpg?command=snap&channel=1&user=viewer&password"; // image name var imgwidth = 665; // image width var imgheight = 374; // image height var imgalt = "WebCam Image"; var imgtitle = "header=[WebCam Image] body=[WebCam Image Automatically Updated Every 1-2 Seconds] delay=[500]"; function refresh() { document.images["pic"].src = image + "?" + new Date(); setTimeout('refresh()', refreshrate * 500); } document.write('<img src="' + image + '" alt="' + imgalt + '" title="' + imgtitle + '" name="pic" id="pic" width="' + imgwidth + '" height="' + imgheight + '" style="border:1px dashed gray;"/>'); if(document.images)window.onload=refresh; // ]]> </script>

¿Alguien tiene una idea sobre cómo solucionar esto?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Bien, encontré la solución... El nuevo host estaba "forzando" https con la solución let's encrypt SSL. Pude cambiar una configuración para dejar de forzar https pero aún así dejé SSL intacto. ¡La cámara web vuelve a funcionar!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!