Perte du démon

Hello Mips
Le démon est tombé et impossible de le redémarrer.

Exception in thread Thread-7779:
[2022-04-27 07:12:52][WARNING] : Connection pool is full, discarding connection: api.authentication.husqvarnagroup.dev
Exception in thread Thread-4402:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.7/http/client.py", line 1352, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 310, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 279, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 531, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/dist-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.7/http/client.py", line 1352, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 310, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 279, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 1166, in run
    self.function(*self.args, **self.kwargs)
  File "/var/www/html/plugins/gardena/resources/gardenad/gardena/smart_system.py", line 257, in _check_if_ws_connected
    self._on_ws_failure_callback()
  File "/var/www/html/plugins/gardena/resources/gardenad/gardena_handler.py", line 32, in on_ws_failure
    self.smart_system.quit()
  File "/var/www/html/plugins/gardena/resources/gardenad/gardena/smart_system.py", line 102, in quit
    headers={"X-Api-Key": self.client_id},
  File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 624, in delete
    return self.request('DELETE', url, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 516, in request
    method, url, headers=headers, data=data, **kwargs
  File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

[2022-04-27 10:20:31][DEBUG] : Signal 15 caught, exiting...
[2022-04-27 10:20:31][INFO] : Shuting down
[2022-04-27 10:20:33][INFO] : Starting daemon
[2022-04-27 10:20:33][INFO] : Log level: debug
[2022-04-27 10:20:33][DEBUG] : Socket port: 55070
[2022-04-27 10:20:33][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:20:33][DEBUG] : Init request module v2.25.1
[2022-04-27 10:20:33][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:20:33][INFO] : Shuting down
[2022-04-27 10:20:33][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:20:33][DEBUG] : Exit 0
[2022-04-27 10:25:03][INFO] : Starting daemon
[2022-04-27 10:25:03][INFO] : Log level: debug
[2022-04-27 10:25:03][DEBUG] : Socket port: 55070
[2022-04-27 10:25:03][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:25:03][DEBUG] : Init request module v2.25.1
[2022-04-27 10:25:04][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:25:04][INFO] : Shuting down
[2022-04-27 10:25:04][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:25:04][DEBUG] : Exit 0
[2022-04-27 10:30:04][INFO] : Starting daemon
[2022-04-27 10:30:04][INFO] : Log level: debug
[2022-04-27 10:30:04][DEBUG] : Socket port: 55070
[2022-04-27 10:30:04][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:30:04][DEBUG] : Init request module v2.25.1
[2022-04-27 10:30:05][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:30:05][INFO] : Shuting down
[2022-04-27 10:30:05][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:30:05][DEBUG] : Exit 0
[2022-04-27 10:35:03][INFO] : Starting daemon
[2022-04-27 10:35:03][INFO] : Log level: debug
[2022-04-27 10:35:03][DEBUG] : Socket port: 55070
[2022-04-27 10:35:03][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:35:03][DEBUG] : Init request module v2.25.1
[2022-04-27 10:35:04][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:35:04][INFO] : Shuting down
[2022-04-27 10:35:04][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:35:04][DEBUG] : Exit 0
[2022-04-27 10:40:04][INFO] : Starting daemon
[2022-04-27 10:40:04][INFO] : Log level: debug
[2022-04-27 10:40:04][DEBUG] : Socket port: 55070
[2022-04-27 10:40:04][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:40:04][DEBUG] : Init request module v2.25.1
[2022-04-27 10:40:05][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:40:05][INFO] : Shuting down
[2022-04-27 10:40:05][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:40:05][DEBUG] : Exit 0
[2022-04-27 10:45:03][INFO] : Starting daemon
[2022-04-27 10:45:03][INFO] : Log level: debug
[2022-04-27 10:45:03][DEBUG] : Socket port: 55070
[2022-04-27 10:45:03][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:45:03][DEBUG] : Init request module v2.25.1
[2022-04-27 10:45:04][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:45:04][INFO] : Shuting down
[2022-04-27 10:45:04][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:45:04][DEBUG] : Exit 0
[2022-04-27 10:50:04][INFO] : Starting daemon
[2022-04-27 10:50:04][INFO] : Log level: debug
[2022-04-27 10:50:04][DEBUG] : Socket port: 55070
[2022-04-27 10:50:04][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:50:04][DEBUG] : Init request module v2.25.1
[2022-04-27 10:50:05][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:50:05][INFO] : Shuting down
[2022-04-27 10:50:05][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:50:05][DEBUG] : Exit 0
[2022-04-27 10:55:03][INFO] : Starting daemon
[2022-04-27 10:55:03][INFO] : Log level: debug
[2022-04-27 10:55:03][DEBUG] : Socket port: 55070
[2022-04-27 10:55:03][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:55:03][DEBUG] : Init request module v2.25.1
[2022-04-27 10:55:04][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 10:55:04][INFO] : Shuting down
[2022-04-27 10:55:04][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 10:55:04][DEBUG] : Exit 0
[2022-04-27 11:00:04][INFO] : Starting daemon
[2022-04-27 11:00:04][INFO] : Log level: debug
[2022-04-27 11:00:04][DEBUG] : Socket port: 55070
[2022-04-27 11:00:04][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 11:00:04][DEBUG] : Init request module v2.25.1
[2022-04-27 11:00:05][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 11:00:05][INFO] : Shuting down
[2022-04-27 11:00:05][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 11:00:05][DEBUG] : Exit 0
[2022-04-27 11:05:03][INFO] : Starting daemon
[2022-04-27 11:05:03][INFO] : Log level: debug
[2022-04-27 11:05:03][DEBUG] : Socket port: 55070
[2022-04-27 11:05:03][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 11:05:03][DEBUG] : Init request module v2.25.1
[2022-04-27 11:05:04][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 11:05:04][INFO] : Shuting down
[2022-04-27 11:05:04][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 11:05:04][DEBUG] : Exit 0
[2022-04-27 11:08:35][INFO] : Starting daemon
[2022-04-27 11:08:35][INFO] : Log level: debug
[2022-04-27 11:08:35][DEBUG] : Socket port: 55070
[2022-04-27 11:08:35][DEBUG] : PID file: /tmp/jeedom/gardena/deamon.pid
[2022-04-27 11:08:35][DEBUG] : Init request module v2.25.1
[2022-04-27 11:08:35][ERROR] : Fatal error: (missing_token) Missing access token parameter.
[2022-04-27 11:08:35][INFO] : Shuting down
[2022-04-27 11:08:35][DEBUG] : Removing PID file /tmp/jeedom/gardena/deamon.pid
[2022-04-27 11:08:35][DEBUG] : Exit 0

Tu as toujours les infos sur le compte Husqvarna.

Peux-tu vérifier ton compte sur le portail husqvarna?
Éventuellement régénérer une clé api pour tester.

je reproduis le problème chez moi avec tes infos de compte mais le démon n’arrive même pas à s’authentifier alors qu’avec mon compte aucun problème hors pour cette partie c’est commun, c’est le même code.

Je ne comprends pas.
J’ai été obligé de modifier mon mot de passe. L’ancien n’étais plus reconnu.
Rien changé d’autre !

Si tu as besoin par le suite de te reconnecter, je te filerais le nouveau.

1 « J'aime »

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.