Broken frontend

After a normal reboot of pi platform i can’t connect to home assistant. All i get is

2018-07-30 18:52:33 ERROR (Recorder) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-07-30 18:52:39 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!

Switched on debugging and the same

2018-07-30 19:05:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-07-30 19:05:20 DEBUG (SyncWorker_12) [homeassistant.components.recorder.util] converting 5 rows to native objects took 0.026879s
2018-07-30 19:05:20 DEBUG (SyncWorker_12) [homeassistant.components.recorder.util] converting 1 rows to native objects took 0.023498s

Was going to delete the topic but than… The problem was expired let’s encrypt certificate.
Hope one day better logging will be introduced

I saw this and was gonna mention your cert.
Same thing happened to me yesterday. I have script for letsencrypt renew my sites but haven’t bothered to cron or HA automate this.

Only figured this out because another site showed the.insecure warning. HA just not load at all