question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HACS frontend cards only visible after refreshing the page

See original GitHub issue

Installation details

Description Value
HACS version 1.6.0
Home Assistant version 0.116.4
Installation method for HA https://github.com/home-assistant/operating-system/releases/download/4.14/hassos_ova-4.14.vhdx.gz
Web browser Edge/Brave/Chrome
Web browser version Version 86.0.622.48 (Official build) (64-bit) / Version 1.15.76 Chromium: 86.0.4240.111 (Official Build) (64-bit) / Version 86.0.4240.111 (Official Build) (64-bit)

Checklist

Describe the issue

I’ve added some HACS front ends like weather card and upcoming media card (using radarr/sonarr/kodi integrations).

When opening the home assistant webpage, these HACS front end cards are not visible. When the page is refreshed, the HACS integrations show up. Usually.

Same behavior in different browsers Edge/Brave/Chrome. Also same on Android Chrome and Android companion app. It does not matter if I connect (ssl:443) to the duckdns.org name or home assistants ip address (8123).

Steps to reproduce

  1. Install any HACS frontend
  2. Configure it in LoveLace
  3. Open home assistant web page
  4. Notice missing HACS entity. Press F5. Entity usually shows. F5 again and sometimes HACS entity is gone.

Screenshots

Here is an animated GIF that shows missing entities when loaded. Pressing F5 will usually show them. This is just an example of the upcoming media cards, but I see the same behavior for others like weather card or the simple thermostat.

m3jQ5wgOGo

Javascript logs from your browser console

Logs

Followed guide https://support.google.com/docs/thread/1873663?hl=en

Errors from 'recently added episodes' and Kodi who want to use http instead of ssl https. 
This only happens on this page. 
The page where HACS 'weather card' and 'simple thermostat' live, show console message: No issues detected so far, yet they are not visible.

10Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure element '<URL>'. This request was automatically upgraded to HTTPS, For more information see <URL>
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://192.168.1.17:8080/image/image%3A%2F%2Fsmb%253A%252F%252Fnas.my.domain%252FMoviesAndSeries%2524%252FTelevision%252FStar%2520Trek-%2520Discovery%252Ffanart.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://192.168.1.17:8080/image/image%3A%2F%2Fsmb%253A%252F%252Fnas.my.domain%252FMoviesAndSeries%2524%252FTelevision%252FThe%2520Third%2520Day%252Ffanart.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://192.168.1.17:8080/image/image%3A%2F%2Fsmb%253A%252F%252Fnas.my.domain%252FMoviesAndSeries%2524%252FTelevision%252FThe%2520Third%2520Day%252Ffanart.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://192.168.1.17:8080/image/image%3A%2F%2Fsmb%253A%252F%252Fnas.my.domain%252FMoviesAndSeries%2524%252FTelevision%252FThe%2520Third%2520Day%252Ffanart.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://192.168.1.17:8080/image/image%3A%2F%2Fsmb%253A%252F%252Fnas.my.domain%252FMoviesAndSeries%2524%252FTelevision%252FThe%2520Third%2520Day%252Ffanart.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://image.tmdb.org/t/p/original/AfgTcW4C6gq6JyUj6KcEs3ZBgeb.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://image.tmdb.org/t/p/original/8sEsY2btFsYULAS0dl21gy64qzQ.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://image.tmdb.org/t/p/original/aO5ILS7qnqtFIprbJ40zla0jhpu.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://image.tmdb.org/t/p/original/v8Nf6Y1qL1Q3PWTBezXNPPaXqza.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
/lovelace/media:1 Mixed Content: The page at 'https://example.duckdns.org/lovelace/media' was loaded over HTTPS, but requested an insecure element 'http://image.tmdb.org/t/p/original/rFDWMS8WwAxvFkn8txGDjnZRhkl.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
2/lovelace/media:1 GET https://192.168.1.17:8080/image/image%3A%2F%2Fsmb%253A%252F%252Fnas.my.domain%252FMoviesAndSeries%2524%252FTelevision%252FStar%2520Trek-%2520Discovery%252Ffanart.jpg net::ERR_CONNECTION_CLOSED



Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
DasBootU96commented, Oct 22, 2020

you are fast 😃 Thanks

0reactions
DasBootU96commented, Oct 30, 2020

Don’t know Mike, try opening a topic here https://community.home-assistant.io/c/configuration/frontend/33

Maybe others have had the same or can give better advice.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS frontend cards only visible after refreshing the page
When opening the home assistant webpage, these HACS front end cards are not visible. When the page is refreshed, the HACS integrations show...
Read more >
5 FRONTEND HACS (Cards and Elements) - YouTube
In todays video I will be showing you 5 Front End HACS that you can make use of in your Home Assistant Lovelace...
Read more >
5 MORE FRONTEND HACS (Cards) - YouTube
In todays video we are having a look at 5 more Frontend HACS that you can add to your Home Assistant. I run...
Read more >
Install HACS in Home Assistant for themes and custom cards
In today's video, we will install the Home Assistant Community Store, aka HACS. Then, after the installation, we'll go over how to use...
Read more >
Status: Not Loaded - HACS
Something strange has happened, click on the card for it to get to the repository page and then click the 3 dots in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found