Errors in home-assistant.log

I am recieving the following errors in my log, and don’t quite know what to make out of them. Needles to say that nothing is working since the connection to mqtt isn’t working:

2019-03-19 21:15:46 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 350, in _async_add_entity
await entity.async_added_to_hass()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/switch.py”, line 114, in async_added_to_hass
await self._subscribe_topics()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/switch.py”, line 167, in _subscribe_topics
‘qos’: self._config.get(CONF_QOS)}})
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py”, line 83, in async_subscribe_topics
await requested.resubscribe_if_necessary(hass, current)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py”, line 44, in resubscribe_if_necessary
self.qos, self.encoding
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/init.py”, line 320, in async_subscribe
qos, encoding)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/init.py”, line 702, in async_subscribe
await self._async_perform_subscription(topic, qos)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/init.py”, line 737, in _async_perform_subscription
_raise_on_error(result)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mqtt/init.py”, line 822, in _raise_on_error
‘Error talking to MQTT: {}’.format(mqtt.error_string(result_code)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.

Anyone got a clue what this could be?