iammexx / home-assistant-config

Files for my Home Assistant setup
75 stars 77 forks source link

Custom element doesn't exist: dark-sky-weather-card when accessing through NGINX proxy #36

Closed jayscovill closed 4 years ago

jayscovill commented 4 years ago

Anyone else experiencing the custom card erroring out when accessing homeassistant (hassio .98.4) through an nginx proxy and duckdns.org?

Works fine as soon as I VPN in and use the local host name for my hassio install.

HorizonKane commented 4 years ago

I experience the same through Home Assistant cloud service, however I don't know if it would work from home.

If so it might have something to do with the base_url setting? Will check later when at home.

jayscovill commented 4 years ago

This has been resolved for me. Turned out I had an auth_basic_user_file statement in my NGINX proxy conf for the /local URL that was causing that custom card to fail. It wasn't affecting any other pages or cards for some reason until today which made me go back and check the logs. It was failing to authenticate for any custom cards.

Once I removed the authentication statement the card started displaying properly.