3378 lines
290 KiB
Groff
3378 lines
290 KiB
Groff
2021-08-31 09:39:29 ERROR (MainThread) [homeassistant.components.sensor] The sonarr platform for the sensor integration does not support platform setup. Please remove it from your config.
|
|
2021-08-31 09:39:29 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform hassio is taking over 10 seconds.
|
|
2021-08-31 09:39:29 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds.
|
|
2021-08-31 09:39:29 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds.
|
|
2021-08-31 09:39:29 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook eb9d2fbd9f8fea4200d7752b689aecfe6a2ca2215d2cbe0600b75a4fd20a6797 from 192.168.86.163
|
|
2021-08-31 09:39:45 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform mqtt is taking over 10 seconds.
|
|
2021-08-31 09:39:48 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform sonarr is taking over 10 seconds.
|
|
2021-08-31 09:39:48 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Philips hue' for hue integration not ready yet: Error connecting to the Hue bridge at 192.168.86.44; Retrying in background
|
|
2021-08-31 10:23:56 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-08-31 10:38:26 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-08-31 10:54:26 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-08-31 11:25:26 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-08-31 11:27:26 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-08-31 14:48:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.home_temperature is taking over 10 seconds
|
|
2021-08-31 14:48:38 WARNING (MainThread) [homeassistant.components.sensor] Updating ecobee sensor took longer than the scheduled update interval 0:00:30
|
|
2021-08-31 14:48:39 ERROR (SyncWorker_4) [pyecobee] Connection to ecobee timed out while attempting to refresh tokens. Possible connectivity outage.
|
|
2021-08-31 14:48:39 ERROR (MainThread) [homeassistant.components.ecobee] Error refreshing ecobee tokens
|
|
2021-08-31 14:51:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.home_temperature is taking over 10 seconds
|
|
2021-08-31 14:51:38 WARNING (MainThread) [homeassistant.components.sensor] Updating ecobee sensor took longer than the scheduled update interval 0:00:30
|
|
2021-08-31 14:51:39 ERROR (SyncWorker_14) [pyecobee] Connection to ecobee timed out while attempting to refresh tokens. Possible connectivity outage.
|
|
2021-08-31 14:51:39 ERROR (MainThread) [homeassistant.components.ecobee] Error refreshing ecobee tokens
|
|
2021-08-31 14:54:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.home_temperature is taking over 10 seconds
|
|
2021-08-31 14:54:38 WARNING (MainThread) [homeassistant.components.sensor] Updating ecobee sensor took longer than the scheduled update interval 0:00:30
|
|
2021-08-31 14:54:39 ERROR (SyncWorker_4) [pyecobee] Connection to ecobee timed out while attempting to refresh tokens. Possible connectivity outage.
|
|
2021-08-31 14:54:39 ERROR (MainThread) [homeassistant.components.ecobee] Error refreshing ecobee tokens
|
|
2021-08-31 14:57:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.home_temperature is taking over 10 seconds
|
|
2021-08-31 23:40:00 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-01 00:49:31 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 01:49:31 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 02:49:31 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 03:16:01 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 03:51:01 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 04:49:31 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 06:49:32 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 07:49:32 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 08:49:32 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 09:49:32 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 10:49:32 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 11:36:39 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-01 12:30:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.home_temperature is taking over 10 seconds
|
|
2021-09-01 12:30:57 ERROR (SyncWorker_3) [pyecobee] Error requesting authorization from ecobee: 525: {}
|
|
2021-09-01 12:30:57 ERROR (MainThread) [homeassistant.components.ecobee] Error refreshing ecobee tokens
|
|
2021-09-01 18:01:04 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-01 22:21:55 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-01 23:03:29 WARNING (Thread-3) [homeassistant.components.mqtt] Disconnected from MQTT server 192.168.86.198:1888 (1)
|
|
2021-09-01 23:03:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:03:33.001570-04:00>: (MySQLdb._exceptions.OperationalError) (1927, 'Connection was killed')
|
|
[SQL: SELECT 1]
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1770, in _execute_context
|
|
self.dialect.do_execute(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute
|
|
cursor.execute(statement, parameters)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 206, in execute
|
|
res = self._query(query)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 319, in _query
|
|
db.query(q)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 259, in query
|
|
_mysql.connection.query(self, query)
|
|
MySQLdb._exceptions.OperationalError: (1927, 'Connection was killed')
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1162, in scalar
|
|
return self.execute(object_, *multiparams, **params).scalar()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1262, in execute
|
|
return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 324, in _execute_on_connection
|
|
return connection._execute_clauseelement(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1451, in _execute_clauseelement
|
|
ret = self._execute_context(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1813, in _execute_context
|
|
self._handle_dbapi_exception(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1994, in _handle_dbapi_exception
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1770, in _execute_context
|
|
self.dialect.do_execute(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute
|
|
cursor.execute(statement, parameters)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 206, in execute
|
|
res = self._query(query)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/cursors.py", line 319, in _query
|
|
db.query(q)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 259, in query
|
|
_mysql.connection.query(self, query)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1927, 'Connection was killed')
|
|
[SQL: SELECT 1]
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:03:45 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:03:48 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:03:45.001986-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:03:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:03:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:03:49.001327-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:03:56 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Error occurred while communicating with API
|
|
2021-09-01 23:03:57 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:04:00 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:03:57.002191-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:04:19 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:04:03.001585-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:04:22 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:04:25 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:04:15.002570-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:04:25 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:04:28 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:04:19.001428-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:04:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:04:33.001904-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:04:45 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:04:48 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:04:42.002035-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:04:48 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:04:51 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:04:46.001562-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:04:54 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:04:57 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:04:49.001263-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:05:06 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:05:03.001631-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:05:22 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:05:25 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:05:19.001255-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:05:25 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:05:28 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:05:23.001583-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:05:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:05:33.001373-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:05:47 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:05:50 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:05:44.001081-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:05:50 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:05:53 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:05:49.000864-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:05:54 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:05:57 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:05:54.001604-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:06:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:06:03.000688-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:06:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:06:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:06:19.001427-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:06:25 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:06:28 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:06:25.002824-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:06:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:06:33.001253-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:06:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:06:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:06:49.001647-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:07:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:07:03.001891-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:07:04 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:07:07 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:07:04.001188-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:07:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:07:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:07:19.001542-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:07:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:07:33.000724-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:07:34 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:07:37 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:07:34.001722-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:07:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:07:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:07:49.001456-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:08:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:08:03.001332-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:08:04 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:08:07 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:08:04.000873-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:08:18 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:08:21 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:08:18.000964-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:08:21 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:08:24 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:08:19.000928-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:08:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:08:33.001588-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:08:34 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:08:37 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:08:34.002320-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:08:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:08:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:08:49.001497-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:09:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:09:03.002031-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:09:05 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:09:08 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:09:05.003167-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:09:14 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:09:17 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:09:14.001291-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:09:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:09:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:09:19.000880-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:09:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:09:33.001356-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:09:36 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:09:39 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:09:36.000824-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:09:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:09:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:09:49.000855-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:10:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:10:03.000961-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:10:06 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:10:09 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:10:06.000569-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:10:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:10:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:10:19.001507-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:10:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:10:33.001605-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:10:36 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:10:39 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:10:36.001647-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:10:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:10:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:10:49.000929-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:11:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:11:03.001202-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:11:07 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:11:10 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:11:07.001571-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:11:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:11:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:11:19.001309-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:11:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:11:33.000892-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:11:38 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:11:41 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:11:38.001697-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:11:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:11:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:11:49.001098-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:12:00 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:00 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:00 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:00 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:00 WARNING (Recorder) [homeassistant.components.recorder.util] Error executing statistics: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:12:03.001658-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:15 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:12:18 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:12:15.002797-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:12:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:12:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:12:19.001157-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:12:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:12:33.000843-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:12:44 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:12:47 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:12:44.001468-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:12:47 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:12:50 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:12:46.001255-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:12:50 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:12:53 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:12:49.001078-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:12:53 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:12:56 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:12:50.002590-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:13:03 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:13:03.000871-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:13:19 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:13:22 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:13:19.002210-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:13:22 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:13:25 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:13:22.001084-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:13:33 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-01T23:13:33.000817-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 546, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-01 23:13:43 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:13:46 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:13:43.001159-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:13:49 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:13:52 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:13:49.000947-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:13:52 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:13:55 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:13:50.002473-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:13:59 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:14:02 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:13:59.002397-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:14:02 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:14:05 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:14:00.009308-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:14:05 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:14:08 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:14:01.000807-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-01 23:14:08 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-01 23:14:11 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-01T23:14:02.001162-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-02 01:08:54 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-02 01:08:54 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-02 03:09:43 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-02 03:09:43 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-02 12:45:17 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-02 12:45:17 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-02 22:42:12 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-03 21:12:58 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-04 10:43:58 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-04 18:59:19 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-04 22:00:32 ERROR (Recorder) [homeassistant.components.recorder] Database connection invalidated: Error executing query: (MySQLdb._exceptions.OperationalError) (1927, 'Connection was killed')
|
|
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)]
|
|
[parameters: ('state_changed', '{}', 'LOCAL', datetime.datetime(2021, 9, 5, 2, 0, 31, 381563, tzinfo=datetime.timezone.utc), datetime.datetime(2021, 9, 5, 2, 0, 31, 381563, tzinfo=datetime.timezone.utc), 'b63c6ee7cf83ba985f0f87f610e4918c', None, None)]
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-04 22:00:35 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-04T22:00:32.001509-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (1927, 'Connection was killed')
|
|
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)]
|
|
[parameters: ('state_changed', '{}', 'LOCAL', datetime.datetime(2021, 9, 5, 2, 0, 31, 381563, tzinfo=datetime.timezone.utc), datetime.datetime(2021, 9, 5, 2, 0, 31, 381563, tzinfo=datetime.timezone.utc), 'b63c6ee7cf83ba985f0f87f610e4918c', None, None)]
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (1927, 'Connection was killed')
|
|
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id, context_parent_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)]
|
|
[parameters: ('state_changed', '{}', 'LOCAL', datetime.datetime(2021, 9, 5, 2, 0, 31, 381563, tzinfo=datetime.timezone.utc), datetime.datetime(2021, 9, 5, 2, 0, 31, 381563, tzinfo=datetime.timezone.utc), 'b63c6ee7cf83ba985f0f87f610e4918c', None, None)]
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-04 22:00:35 ERROR (Recorder) [homeassistant.components.recorder] Unhandled database error while processing event <Event time_changed[L]: now=2021-09-04T22:00:34.001452-04:00>: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
Traceback (most recent call last):
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 574, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 747, in _process_one_event
|
|
self._send_keep_alive()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 886, in _send_keep_alive
|
|
self.event_session.connection().scalar(select([1]))
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1516, in connection
|
|
return self._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1526, in _connection_for_bind
|
|
return self._transaction._connection_for_bind(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
|
|
conn = bind.connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3166, in connect
|
|
return self._connection_cls(self, close_with_result=close_with_result)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
|
|
else engine.raw_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3245, in raw_connection
|
|
return self._wrap_pool_connect(self.pool.connect, _connection)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3215, in _wrap_pool_connect
|
|
Connection._handle_dbapi_exception_noconnection(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2068, in _handle_dbapi_exception_noconnection
|
|
util.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3212, in _wrap_pool_connect
|
|
return fn()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 301, in connect
|
|
return _ConnectionFairy._checkout(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 761, in _checkout
|
|
fairy = _ConnectionRecord.checkout(pool)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 424, in checkout
|
|
rec._checkin_failed(err, _fairy_was_created=False)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 421, in checkout
|
|
dbapi_connection = rec.get_connection()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 574, in get_connection
|
|
self.__connect()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 605, in __connect
|
|
pool.logger.debug("Error on connect(): %s", e)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
|
|
compat.raise_(
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
|
|
raise exception
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 599, in __connect
|
|
connection = pool._invoke_creator(self)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 578, in connect
|
|
return dialect.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 584, in connect
|
|
return self.dbapi.connect(*cargs, **cparams)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/__init__.py", line 130, in Connect
|
|
return Connection(*args, **kwargs)
|
|
File "/usr/local/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
|
|
super().__init__(*args, **kwargs2)
|
|
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8)
|
|
2021-09-04 22:00:38 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-04 22:00:41 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-04T22:00:38.001370-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-04 22:00:44 ERROR (Recorder) [homeassistant.components.recorder] Error in database connectivity during commit: Error executing query: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
|
|
2021-09-04 22:00:47 ERROR (Recorder) [homeassistant.components.recorder] SQLAlchemyError error processing event <Event time_changed[L]: now=2021-09-04T22:00:44.001081-04:00>: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
Traceback (most recent call last):
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 632, in _process_one_event_or_recover
|
|
self._process_one_event(event)
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 752, in _process_one_event
|
|
self._commit_event_session_or_retry()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 815, in _commit_event_session_or_retry
|
|
self._commit_event_session()
|
|
File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 841, in _commit_event_session
|
|
self.event_session.commit()
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1428, in commit
|
|
self._transaction.commit(_to_root=self.future)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 827, in commit
|
|
self._assert_active(prepared_ok=True)
|
|
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active
|
|
raise sa_exc.PendingRollbackError(
|
|
sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on '192.168.86.198' (115)")
|
|
(Background on this error at: http://sqlalche.me/e/14/e3q8) (Background on this error at: http://sqlalche.me/e/14/7s2a)
|
|
2021-09-05 06:03:02 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-05 22:21:57 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-05 22:21:57 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-05 22:39:24 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-05 23:50:54 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 12:34:58 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 15:27:29 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 15:50:29 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 15:56:59 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 15:59:29 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 16:01:29 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 16:18:59 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 16:38:59 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 17:29:59 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 17:41:29 ERROR (MainThread) [homeassistant.components.sonarr.sensor] Error communicating with API: Timeout occurred while connecting to API
|
|
2021-09-06 19:42:49 ERROR (MainThread) [homeassistant.components.hue.light] Timeout fetching light data
|
|
2021-09-06 19:42:49 ERROR (MainThread) [homeassistant.components.hue.sensor_base] Timeout fetching sensor data
|
|
2021-09-06 20:49:41 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /core/update request Server disconnected
|
|
2021-09-06 20:49:41 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /core/update -
|