core: Something is blocking Home Assistant from wrapping up the start up phase.

The problem

Startup is slow. Looks like hanging on bootstrap:

2020-09-29 14:01:20 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward

Today I got this message in the logs as well:

2020-09-29 14:01:35 WARNING (MainThread) [homeassistant.core] Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at http://bit.ly/2ogP58T : frontend, spotify, cover.shelly, http, light.shelly, ffmpeg, sensor.buienradar, upnp, device_tracker.mobile_app, binary_sensor.nest, notify, tts, webhook, binary_sensor.mobile_app, vacuum, binary_sensor.mqtt, remote.harmony, camera, breaking_changes, tuya, logger, light.mqtt, sensor.history_stats, logbook, system_health, sensor.shelly, sensor.command_line, persistent_notification, harmony, spotcast, onboarding, light, mobile_app, fan, recorder, samsungtv, vacuum.mqtt, weather.buienradar, person, panel_iframe, binary_sensor.esphome, cover, timer, panasonic_viera, switch.template, fan.tuya, api, discovery, tag, search, mqtt, xiaomi_miio, climate.nest, input_select, google_assistant, input_boolean, camera.nest, websocket_api, automation, hassio, binary_sensor, sensor.mqtt, sensor.fritzbox_netmonitor, weather, camera.foscam, sensor.version, sensor, sensor.mobile_app, calendar, group, media_player.spotify, light.switch, sonoff, zeroconf, hacs, sensor.hacs, google, image, sensor.esphome, script, emulated_hue, sensor.systemmonitor, config, notify.mobile_app, climate, esphome, device_automation, remote, rest_command, sensor.template, sensor.afvalwijzer, input_datetime, camera.mjpeg, switch.esphome, switch.shelly, calendar.google, weather.met, media_player, sun, homeassistant, met, binary_sensor.updater, auth, zone, counter, nest, fan.mqtt, updater, switch.mqtt, sensor.nest, sensor.breaking_changes, device_tracker, media_player.panasonic_viera, switch, media_player.samsungtv, vacuum.xiaomi_miio, light.esphome, binary_sensor.shelly, system_log, history, lovelace, stream, zigbee2mqtt_networkmap, shelly, sensor.upnp

But unfortunately the issue in the bit.ly link is locked, so I opened this new issue.

Environment

  • Home Assistant Core release with the issue: 0.115.4
  • Last working Home Assistant Core release (if known): not known
  • Operating environment (OS/Container/Supervised/Core): HassOS 5.2 because of SSD boot support
  • Integration causing this issue: not known
  • Link to integration documentation on our website: not known
arch | aarch64
-- | --
chassis | embedded
dev | false
docker | true
docker_version | 19.03.11
hassio | true
host_os | HassOS 5.2
installation_type | Home Assistant OS
os_name | Linux
os_version | 4.19.127-v8
python_version | 3.8.5
supervisor | 245
timezone | Europe/Amsterdam
version | 0.115.4
virtualenv | false

Problem-relevant configuration.yaml

Traceback/Error logs

2020-09-29 13:55:20 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-29 13:55:21 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-29 13:55:21 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for breaking_changes which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-29 13:55:21 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for zigbee2mqtt_networkmap which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-29 13:55:36 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 7ab1714a84e55bca9e47df36b672099eac2b6b36545dab4413bb85d4c87d2462 from 62.251.115.21
2020-09-29 13:55:59 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2020-09-29 13:56:05 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for afvalwijzer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-29 13:56:06 WARNING (MainThread) [slixmpp.basexmpp] Legacy XMPP 0.9 protocol detected.
2020-09-29 13:56:06 WARNING (MainThread) [slixmpp.basexmpp] Legacy XMPP 0.9 protocol detected.
2020-09-29 13:56:06 WARNING (MainThread) [slixmpp.basexmpp] Legacy XMPP 0.9 protocol detected.
2020-09-29 13:56:06 WARNING (MainThread) [slixmpp.basexmpp] Legacy XMPP 0.9 protocol detected.
2020-09-29 13:56:07 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-29 13:56:08 ERROR (SyncWorker_10) [homeassistant] Error doing job: Task was destroyed but it is pending!
2020-09-29 13:56:09 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-29 13:56:10 WARNING (MainThread) [homeassistant.components.light] Setup of light platform mqtt is taking over 10 seconds.
2020-09-29 13:56:10 WARNING (MainThread) [homeassistant.components.fan] Setup of fan platform mqtt is taking over 10 seconds.
2020-09-29 13:56:10 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform mqtt is taking over 10 seconds.
2020-09-29 14:01:20 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward
2020-09-29 14:01:35 WARNING (MainThread) [homeassistant.core] Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at http://bit.ly/2ogP58T : frontend, spotify, cover.shelly, http, light.shelly, ffmpeg, sensor.buienradar, upnp, device_tracker.mobile_app, binary_sensor.nest, notify, tts, webhook, binary_sensor.mobile_app, vacuum, binary_sensor.mqtt, remote.harmony, camera, breaking_changes, tuya, logger, light.mqtt, sensor.history_stats, logbook, system_health, sensor.shelly, sensor.command_line, persistent_notification, harmony, spotcast, onboarding, light, mobile_app, fan, recorder, samsungtv, vacuum.mqtt, weather.buienradar, person, panel_iframe, binary_sensor.esphome, cover, timer, panasonic_viera, switch.template, fan.tuya, api, discovery, tag, search, mqtt, xiaomi_miio, climate.nest, input_select, google_assistant, input_boolean, camera.nest, websocket_api, automation, hassio, binary_sensor, sensor.mqtt, sensor.fritzbox_netmonitor, weather, camera.foscam, sensor.version, sensor, sensor.mobile_app, calendar, group, media_player.spotify, light.switch, sonoff, zeroconf, hacs, sensor.hacs, google, image, sensor.esphome, script, emulated_hue, sensor.systemmonitor, config, notify.mobile_app, climate, esphome, device_automation, remote, rest_command, sensor.template, sensor.afvalwijzer, input_datetime, camera.mjpeg, switch.esphome, switch.shelly, calendar.google, weather.met, media_player, sun, homeassistant, met, binary_sensor.updater, auth, zone, counter, nest, fan.mqtt, updater, switch.mqtt, sensor.nest, sensor.breaking_changes, device_tracker, media_player.panasonic_viera, switch, media_player.samsungtv, vacuum.xiaomi_miio, light.esphome, binary_sensor.shelly, system_log, history, lovelace, stream, zigbee2mqtt_networkmap, shelly, sensor.upnp
2020-09-29 14:07:49 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from eenbrugtever.xs4all.space (62.251.115.21) (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36)


Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (3 by maintainers)

Commits related to this issue

Most upvoted comments

This is still happening on Home Assistant 2021.8.8 / docker image

2021-04-07 22:48:20 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward
2021-04-07 22:48:20 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 314.45s
2021-04-07 22:48:20 INFO (MainThread) [homeassistant.core] Starting Home Assistant

Clean install on RPI4: WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward

Not going to try that, but would appreciate better logs.

Still relevant.

For me I found a work around in using the docker image as I had the issue and I was using Home Assistant for the first time so fresh install. I do now prefer using the docker container to be honest.

How’s that a workaround? Or is a fresh install the solution. If the latter: I’ve done multiple fresh installs and I ended up with this problem again and again. Also restarting gets timed out.

I had this issue on a brand new install, tried reinstall with no success but then launched the docker iamge with no issues and it’s been working ever since. I know it’s far from ideal but it works