InfluxDB don't work on reboot

Hi,

Everytime I reboot my Pi I need to manualy restart the InfluxDB cause Hassio can’t contact with it, it seems that on the time hassio starts influxdb is not yet available.

Is there any way to have hassio wait for influxdb?

Regards,
Nuno

The error message

2018-10-28 20:20:05 ERROR (SyncWorker_1) [homeassistant.components.influxdb] Database host is not accessible due to ‘HTTPConnectionPool(host=‘192.168.1.10’, port=8086): Max retries exceeded with url: /query?q=SHOW+SERIES+LIMIT+1%3B&db=homeassistant (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x72c4a990>: Failed to establish a new connection: [Errno 111] Connection refused’,))’, please check your entries in the configuration file (host, port, etc.) and verify that the database exists and is READ/WRITE

Fixed… after some tests I had to roolback the initial HassIO component config under Node Red to

Base URL: http://hassio/homeassistant

API Pass: Empty

Retart the addon and you will see something like

INFO: API token is incorrect in the Node-RED configuration, fixing…

Then it starts working… LOL