garage-door-controller icon indicating copy to clipboard operation
garage-door-controller copied to clipboard

Browser issue since the migration to HTTPS

Open Gilles94500 opened this issue 6 years ago • 3 comments

I have just migrated to https/ssl. It works fine from an Android browser, but the doorlist along with the status is not shown in Chrome or IE from a Windows PC.

It seems that, as the "index.html" refers to several HTTP links, they are considered as "not secure" .

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.js"></script>

Do I have to download them to the raspberry or is there another way? Thanks Gilles

Gilles94500 avatar Jun 25 '18 14:06 Gilles94500

If you make the links "https" it should work. The files are on the pi in the directories under www. An earlier issue or commit mentioned making the references local so that operating the doors is possible without an internet connection. If you change the links to "/js/jquery-1.8.3.min.js" for example it may work too. I have not done it yet!

Michael-W avatar Jun 25 '18 19:06 Michael-W





I don't have to try it. This is in my index.html.

Michael-W avatar Jun 25 '18 19:06 Michael-W

Thanks Michael,

I will update the www (sub)directories then.

I had not been noticed about the commit. I need to check my github settings :).

Gilles

From: Michael Wetmore [mailto:[email protected]] Sent: lundi 25 juin 2018 21:45 To: andrewshilliday/garage-door-controller [email protected] Cc: Gilles94500 [email protected]; Author [email protected] Subject: Re: [andrewshilliday/garage-door-controller] Browser issue since the migration to HTTPS (#93)

If you make the links "https" it should work. The files are on the pi in the directories under www http://www . An earlier issue or commit mentioned making the references local so that operating the doors is possible without an internet connection. If you change the links to "www/js/jquery-1.8.3.min.js" for example it may work too. I have not done it yet!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/93#issuecomment-400072107 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQHIgQKqm-Pi1WhqrHJd1my0_6KZxPe-ks5uAT3TgaJpZM4U2RSF . https://github.com/notifications/beacon/AQHIgRID-L7shtrfsXbhK0l057rdQ_1Pks5uAT3TgaJpZM4U2RSF.gif

Gilles94500 avatar Jun 26 '18 05:06 Gilles94500