Démon arlo NOK - Exception dans le log

Bonjour,

Depuis quelques heures (jours ?) mon plugin Arlo (Beta) ne démarre plus. Le log du démon signal une exception :

Exception occurred when calling on_start_cb: debug() takes 2 positional arguments but 3 were given


Informations Jeedom

Core : 4.4.17 (master)
DNS Jeedom : oui

Plugin : Arlo
Version : 2024-09-20 01:20:25 (beta)
Statut Démon : Stoppé - (2024-09-20 12:54:04)

Informations complémentaires

Log des dépendances:


======================================================================
== 20/09/2024 12:50:54 == Dependencies installation for arlo
======================================================================
[  5% ] : Clean apt...
[  9% ] : Clean apt : [  OK  ]
[ 10% ] : Update apt...
[ 14% ] : Update apt : [  OK  ]
[ 15% ] : Install apt packages...
[ 19% ] : Install apt packages : [  OK  ]
[ 20% ] : Init python3 & prerequisites...
[ 31% ] : Init python3 & prerequisites : [  OK  ]
[ 32% ] : Init PyEnv...
** PyEnv not required: 3.9.2 >= 3.9 **
** python3 path: python3 **
[ 43% ] : Init PyEnv : [  OK  ]
[ 44% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.2
[ 79% ] : Setting up virtual environment : [  OK  ]
[ 80% ] : Install the required python packages...
[ 89% ] : Install the required python packages : [  OK  ]
[ 90% ] : Summary of installed packages...
aiohttp==3.9.5
aiosignal==1.3.1
async-timeout==4.0.3
attrs==23.2.0
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
cloudscraper==1.2.71
cryptography==43.0.1
frozenlist==1.4.1
idna==3.7
jeedomdaemon==0.11.2
monotonic==1.6
multidict==6.0.5
paho-mqtt==2.1.0
pkg_resources==0.0.0
pycparser==2.22
pyparsing==3.1.2
requests==2.32.3
requests-toolbelt==1.0.0
six==1.16.0
sseclient==0.0.18
Unidecode==1.3.8
urllib3==2.2.1
yarl==1.9.4
[ 99% ] : Summary of installed packages : [  OK  ]
[100% ] : Finished !
======================================================================
==OK== Installation Successful
======================================================================

Log du démon:


[2024-09-20 12:54:07] INFO  : ffmpeg loglevel: debug->debug
[2024-09-20 12:54:07] INFO  : Starting daemon with log level: debug
[2024-09-20 12:54:07] DEBUG  : Writing PID 1267369 to /tmp/jeedom/arlo/daemon.pid
[2024-09-20 12:54:07] INFO  : Listening on 127.0.0.1:55064
[2024-09-20 12:54:07] DEBUG  : config: loaded
[2024-09-20 12:54:07] DEBUG  : background: starting
[2024-09-20 12:54:07] DEBUG  : backend: session file not read
[2024-09-20 12:54:07] DEBUG  : backend: looking for user_agent arlo
[2024-09-20 12:54:07] DEBUG  : backend: oldish session, getting a new one
[2024-09-20 12:54:07] DEBUG  : backend: CloudFlare curve set to: prime256v1
[2024-09-20 12:54:07] DEBUG  : backend: login attempt #1
[2024-09-20 12:54:07] DEBUG  : Starting new HTTPS connection (1): ocapi-app.arlo.com:443
[2024-09-20 12:54:07] DEBUG  : https://ocapi-app.arlo.com:443 "POST /api/auth HTTP/1.1" 200 None
[2024-09-20 12:54:07] DEBUG  : backend: need 2FA...
[2024-09-20 12:54:07] DEBUG  : backend: getting tfa choices
[2024-09-20 12:54:07] DEBUG  : https://ocapi-app.arlo.com:443 "GET /api/getFactors?data%20=%201726829647 HTTP/1.1" 200 None
[2024-09-20 12:54:07]WARNING : Exception occurred when calling on_start_cb: debug() takes 2 positional arguments but 3 were given
[2024-09-20 12:54:07] INFO  : Listening cancelled
[2024-09-20 12:54:07] INFO  : Shutdown
[2024-09-20 12:54:07] DEBUG  : Removing PID file /tmp/jeedom/arlo/daemon.pid
[2024-09-20 12:54:07] DEBUG  : Exit 0

Log du plugin:


[2024-09-20 12:52:26] INFO  : Lancement démon
[2024-09-20 12:52:27] DEBUG  : test from daemon
[2024-09-20 12:52:36] ERROR  : Impossible de lancer le démon
[2024-09-20 12:54:06] INFO  : Lancement démon
[2024-09-20 12:54:07] DEBUG  : test from daemon
[2024-09-20 12:54:16] ERROR  : Impossible de lancer le démon

Salut,

Regardes les sujets (très) récent (hier :wink:) et le changelog d’aujourd’hui

Tu as un nom d’utilisateur mail sans @ ?

Salut,

C’est ce que j’ai fait avant j’ai vu un problème Debian 10 (je suis bien en 11) et un problème de nom d’utilisateur qui n’était pas un e-mail mais ce n’est pas mon cas.

Après plusieurs tentatives de démarrage du plugin j’ai eu d’autres messages dans le log :

[2024-09-20 13:04:14] DEBUG  : https://ocapi-app.arlo.com:443 "POST /api/auth HTTP/1.1" 403 None
[2024-09-20 13:04:14]WARNING : body-error=JSONDecodeError
[2024-09-20 13:04:14] DEBUG  : request-text=<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]-->
<style>body{margin:0;padding:0}</style>
<!--[if gte IE 10]><!-->
<script>
if (!navigator.cookieEnabled) {
window.addEventListener('DOMContentLoaded', function () {
var cookieEl = document.getElementById('cookie-alert');
cookieEl.style.display = 'block';
})
}
</script>
<!--<![endif]-->
</head>
<body>
<div id="cf-wrapper">
<div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
<div id="cf-error-details" class="cf-error-details-wrapper">
<div class="cf-wrapper cf-header cf-error-overview">
<h1 data-translate="block_headline">Sorry, you have been blocked</h1>
<h2 class="cf-subheadline"><span data-translate="unable_to_access">You are unable to access</span> ocapi-app.arlo.com</h2>
</div><!-- /.header -->
<div class="cf-section cf-highlight">
<div class="cf-wrapper">
<div class="cf-screenshot-container cf-screenshot-full">
<span class="cf-no-screenshot error"></span>
</div>
</div>
</div><!-- /.captcha-container -->
<div class="cf-section cf-wrapper">
<div class="cf-columns two">
<div class="cf-column">
<h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>
<p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
</div>
<div class="cf-column">
<h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>
<p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
</div>
</div>
</div><!-- /.section -->
<div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
<p class="text-13">
<span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">8c6155638fb2024b</strong></span>
<span class="cf-footer-separator sm:hidden">&bull;</span>
<span id="cf-footer-item-ip" class="cf-footer-item hidden sm:block sm:mb-1">
Your IP:
<button type="button" id="cf-footer-ip-reveal" class="cf-footer-ip-reveal-btn">Click to reveal</button>
<span class="hidden" id="cf-footer-ip">82.64.207.52</span>
<span class="cf-footer-separator sm:hidden">&bull;</span>
</span>
<span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>
</p>
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /.error-footer -->
</div><!-- /#cf-error-details -->
</div><!-- /#cf-wrapper -->
<script>
window._cf_translation = {};
</script>
</body>
</html>
[2024-09-20 13:04:15] DEBUG  : backend: login attempt #2
[2024-09-20 13:04:15] DEBUG  : https://ocapi-app.arlo.com:443 "POST /api/auth HTTP/1.1" 403 None
[2024-09-20 13:04:15]WARNING : body-error=JSONDecodeError
[2024-09-20 13:04:15] DEBUG  : request-text=<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]-->
<style>body{margin:0;padding:0}</style>
<!--[if gte IE 10]><!-->
<script>
if (!navigator.cookieEnabled) {
window.addEventListener('DOMContentLoaded', function () {
var cookieEl = document.getElementById('cookie-alert');
cookieEl.style.display = 'block';
})
}
</script>
<!--<![endif]-->
</head>
<body>
<div id="cf-wrapper">
<div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
<div id="cf-error-details" class="cf-error-details-wrapper">
<div class="cf-wrapper cf-header cf-error-overview">
<h1 data-translate="block_headline">Sorry, you have been blocked</h1>
<h2 class="cf-subheadline"><span data-translate="unable_to_access">You are unable to access</span> ocapi-app.arlo.com</h2>
</div><!-- /.header -->
<div class="cf-section cf-highlight">
<div class="cf-wrapper">
<div class="cf-screenshot-container cf-screenshot-full">
<span class="cf-no-screenshot error"></span>
</div>
</div>
</div><!-- /.captcha-container -->
<div class="cf-section cf-wrapper">
<div class="cf-columns two">
<div class="cf-column">
<h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>
<p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
</div>
<div class="cf-column">
<h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>
<p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
</div>
</div>
</div><!-- /.section -->
<div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
<p class="text-13">
<span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">8c615569fd00024b</strong></span>
<span class="cf-footer-separator sm:hidden">&bull;</span>
<span id="cf-footer-item-ip" class="cf-footer-item hidden sm:block sm:mb-1">
Your IP:
<button type="button" id="cf-footer-ip-reveal" class="cf-footer-ip-reveal-btn">Click to reveal</button>
<span class="hidden" id="cf-footer-ip">82.64.207.52</span>
<span class="cf-footer-separator sm:hidden">&bull;</span>
</span>
<span class="cf-footer-item sm:block sm:mb-1"><span>Performance &amp; security by</span> <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx-error-landing" id="brand_link" target="_blank">Cloudflare</a></span>
</p>
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /.error-footer -->
</div><!-- /#cf-error-details -->
</div><!-- /#cf-wrapper -->
<script>
window._cf_translation = {};
</script>
</body>
</html>
[2024-09-20 13:04:16] DEBUG  : backend: login attempt #3

Un problème Cloudfare ?? Dans ce cas je stop le plugin et je réessaye dans quelques jours ?

pourtant c’est le log qui correspond au crash:

[2024-09-20 12:54:07]WARNING : Exception occurred when calling on_start_cb: debug() takes 2 positional arguments but 3 were given
[2024-09-20 12:54:07] INFO  : Listening cancelled
[2024-09-20 12:54:07] INFO  : Shutdown

je peux voir la page config? (remplace ton nom par xxx mais laisses le reste visible)


là t’as eu un autre problème que je n’ai jamais vu jusqu’ici,

essayes de te connecter manuellement sur myarlo.com sinon attend quelques heures (pas jours)

J’ai également essayé de me connecter sur myarlo et ca fonctionne sans problème.

j’ai mis en ligne une nouvelle beta, peux-tu réessayer stp?

1 « J'aime »

Ca fonctionne ! Merci beaucoup !

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.