Traceback (most recent call last):


 "/config/custom_components/sonoff/sonoff_local.py", line 270, in send

json=payload, headers=LOCAL_HEADERS, timeout=timeout)


 "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 504, in _request

await resp.start(conn)


 "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 847, in start

message, payload = await self._protocol.read()
# type: ignore
# noqa


 "/usr/local/lib/python3.7/site-packages/aiohttp/streams.py", line 591, in read

await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: None

```This script runs a swarm on the input data (rec-center-hourly.csv) and creates a model parameters file in the `model_params` directory containing the best model found by the swarm. Dumps a bunch of crud to stdout because that is just what swarming does at this point. You really don't need to pay any attention to it. ================================================= = Swarming on rec-center-hourly data... = Medium swarm. Sit back and relax, this could take awhile. ================================================= Generating experiment files in directory: /home/aleksandar/work/Numenta/nupic/examples/opf/clients/hotgym/prediction/one_gym/swarm... Writing 314 lines... Writing 114 lines... done. None WARNING:nupic.database.client_jobs_dao:[] First failure in <function connect at 0x7fb54e53d848>; initial retry in 0.1 sec.; timeoutSec=300. Caller stack: 
 "swarm.py", line 111, in <module> swarm(INPUT_FILE) 
 "swarm.py", line 103, in swarm modelParams = swarmForBestModelParams(SWARM_DESCRIPTION, name) 
 "swarm.py", line 80, in swarmForBestModelParams verbosity=0 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py", line 271, in runWithConfig return _runAction(runOptions) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py", line 212, in _runAction returnValue = _runHyperSearch(runOptions) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py", line 141, in _runHyperSearch search = _HyperSearchRunner(runOptions) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py", line 412, in __init__ self.__cjDAO = _clientJobsDB() 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/swarming/permutations_runner.py", line 376, in _clientJobsDB return cjdao.ClientJobsDAO.get() 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/support/decorators.py", line 56, in exceptionLoggingWrap return func(*args, **kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/database/client_jobs_dao.py", line 548, in get cjDAO.connect() 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/support/decorators.py", line 56, in exceptionLoggingWrap return func(*args, **kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/support/decorators.py", line 234, in retryWrap timeoutSec, ''.join(traceback.format_stack()), exc_info=True) Traceback (most recent call last): 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/support/decorators.py", line 208, in retryWrap result = func(*args, **kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/database/client_jobs_dao.py", line 633, in connect with ConnectionFactory.get() as conn: 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/database/connection.py", line 167, in get return cls._connectionPolicy.acquireConnection() 
 "/home/aleksandar/.local/lib/python2.7/site-packages/nupic/database/connection.py", line 553, in acquireConnection dbConn = self._pool.connection(shareable=False) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/DBUtils/PooledDB.py", line 331, in connection con = self.steady_connection() 
 "/home/aleksandar/.local/lib/python2.7/site-packages/DBUtils/PooledDB.py", line 279, in steady_connection *self._args, **self._kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/DBUtils/SteadyDB.py", line 134, in connect failures, ping, closeable, *args, **kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/DBUtils/SteadyDB.py", line 186, in __init__ self._store(self._create()) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/DBUtils/SteadyDB.py", line 190, in _create con = self._creator(*self._args, **self._kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/pymysql/__init__.py", line 88, in Connect return Connection(*args, **kwargs) 
 "/home/aleksandar/.local/lib/python2.7/site-packages/pymysql/connections.py", line 626, in __init__ self._connect() 
 "/home/aleksandar/.local/lib/python2.7/site-packages/pymysql/connections.py", line 818, in _connect 2003, "Can't connect to MySQL server on %r (%s)" % (self.host, e)) OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ((1251, u'Client does not support authentication protocol requested by server; consider upgrading MySQL client'))")```

