Hassio.dock.interface error, can't install add-ons

I get the following error when trying to install any add-on, locally or from a repo: ERROR (SyncWorker_1) [hassio.dock.interface] Can't install bestlibre/armhf-python-exec:0.1.2 -> 500 Server Error: Internal Server Error ("Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:51116->[::1]:53: read: connection refused").
Home assistant works fine and so do the other add-ons, however I do have to manually start them if I completely restart my raspberry pi.
Any ideas?

I get a slightly more elaborate error when trying to install my own hello world add-on:
17-11-19 01:39:47 INFO (SyncWorker_4) [hassio.dock.addon] Start build local/armhf-addon-hello_world:1 17-11-19 01:39:48 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 416, in start resp = yield from self._request_handler(request) File "/usr/lib/python3.6/site-packages/aiohttp/web.py", line 323, in _handle resp = yield from handler(request) File "/usr/lib/python3.6/site-packages/hassio/api/util.py", line 31, in wrap_api answer = await method(api, *args, **kwargs) File "/usr/lib/python3.6/site-packages/hassio/addons/addon.py", line 474, in install if not await self.docker.install(self.last_version): File "/usr/lib/python3.6/site-packages/hassio/dock/util.py", line 18, in wrap_api return await method(api, *args, **kwargs) File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.6/site-packages/hassio/dock/addon.py", line 219, in _install return self._build(tag) File "/usr/lib/python3.6/site-packages/hassio/dock/addon.py", line 232, in _build image = self.docker.images.build(**build_env.get_docker_args(tag)) File "/usr/lib/python3.6/site-packages/docker/models/images.py", line 175, in build raise BuildError(chunk['error']) docker.errors.BuildError: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:37677->[::1]:53: read: connection refused

Uhhm, so after two days it suddenly started to work again. I have no clue why or why it didn’t work, but hey, I hope it stays this way