Hi,
I am running hassio as docker images on Raspbian.
Everything works great, except for the connectivity to Home Assistant Cloud.
I get the following in the log file:
… botocore.vendored.requests.exceptions.ConnectTimeout: HTTPConnectionPool(host=‘169.254.169.254’, port=80): Max retries exceeded with url: /latest/meta-data/iam/security-credentials/ (Caused by ConnectTimeoutError(<botocore.awsrequest.AWSHTTPConnection object at 0x729a0bf0>, ‘Connection to 169.254.169.254 timed out. (connect timeout=1)’))
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.utils] Max number of attempts exceeded (1) when attempting to retrieve data from metadata service.
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.session] Loading variable profile from defaults.
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.hooks] Event creating-client-class.cognito-idp: calling handler <function add_generate_presigned_url at 0x756778a0>
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.args] The s3 config key is not a dictionary type, ignoring its value of: None
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.endpoint] Setting cognito-idp timeout as (60, 60)
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.client] Registering retry handlers for service: cognito-idp
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.session] Loading variable profile from defaults.
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.session] Loading variable ca_bundle from defaults.
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.session] Loading variable profile from defaults.
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.session] Loading variable api_versions from defaults.
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: env
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: assume-role
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: shared-credentials-file
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: config-file
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: ec2-credentials-file
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: boto-config
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: container-role
2018-05-20 18:51:42 DEBUG (SyncWorker_11) [botocore.credentials] Looking for credentials via: iam-role
2018-05-20 18:51:42 INFO (SyncWorker_11) [botocore.vendored.requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): 169.254.169.254
I know that the 169.254.169.254 IP is not supposed to leave the RasPi it is running on, but I wonder what is going on? Why is it even resolving to that IP?
SSH’ing into the image reveals that I can easily ping hosts on the internet, so outbound connectivity should be ok.
Any ideas?
-Lars