Synchronisation avec Credit Mutuel de Bretagne ne fonctionne pas
Rapport de bug
Merci de compléter tous les champs suivants, dans la mesure du possible, et de décrire le plus précisément possible votre souci.
Version de Weboob que j'utilise : 2.0
Version de Kresus que j'utilise : 0.15.2 (Yunohost 0.15.2~ynh4)
Les étapes à faire pour reproduire le bug : Ajouter un compte Crédit mutuel de bretagne
Ce que je m'attends à voir : Un nouveau compte ajouté
Ce que j'observe en pratique : Un message d'erreur.
Mes logs côté client (s'ils s'appliquent) :
Unknown error: Site did not reply successfully after multiple tries. Erreur inconnue de Kresus : essayez de mettre à jour Weboob, et si cela ne règle pas votre problème, merci de signaler l'erreur aux auteurs de Kresus. Veuillez vous référer à la console développeurs pour plus d'informations.
Mes logs côté serveur (s'ils s'appliquent) :
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:08,630:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "POST /domiapi/oauth/json/edr/infosPerson HTTP/1.1" 200 644
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:08,632:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://mon.cmb.fr/domiapi/oauth/json/edr/infosPerson with ProfilePage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:09,316:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "POST /domiapi/oauth/json/transfer/transferinfos HTTP/1.1" 200 None
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:09,317:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://mon.cmb.fr/domiapi/oauth/json/transfer/transferinfos with TransferInfoPage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:09,795:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "POST /domiapi/oauth/json/accounts/synthesecomptes HTTP/1.1" 200 None
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:09,796:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://mon.cmb.fr/domiapi/oauth/json/accounts/synthesecomptes with AccountsPage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:10,121:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "POST /domiapi/oauth/json/accounts/syntheseepargne HTTP/1.1" 200 None
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:10,123:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://mon.cmb.fr/domiapi/oauth/json/accounts/syntheseepargne with AccountsPage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:10,535:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "GET /assuranceapi/v1/oauth/sso/suravenir/SYNTHESE_ASSURANCEVIE HTTP/1.1" 200 258
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:10,536:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://mon.cmb.fr/assuranceapi/v1/oauth/sso/suravenir/SYNTHESE_ASSURANCEVIE with RedirectInsurancePage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:10,797:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://domiweb.suravenir.fr:443 "GET /group/eclient-cmb/?redirect=%2Fgroup%2Feclient-cmb%2F&token=<longstring> HTTP/1.1" 302 0
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,154:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://domiweb.suravenir.fr:443 "GET /group/eclient-cmb/;jsessionid=<sessionid>.40368tc3 HTTP/1.1" 200 None
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,160:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://domiweb.suravenir.fr/group/eclient-cmb/;jsessionid=<sessionid>.40368tc3 with LifeinsurancePage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,208:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "GET /creditapi/rest/oauth/v1/synthese HTTP/1.1" 502 150
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,320:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "POST /securityapi/tokens HTTP/1.1" 302 0
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,353:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:400:_make_request https://mon.cmb.fr:443 "GET /auth/checkuser HTTP/1.1" 200 None
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,355:DEBUG:weboob.cmb.browser:browsers.py:720:internal_callback Handle https://mon.cmb.fr/auth/checkuser#access_token=<longstring>&id_token=<longstring> with LoginPage
Feb 28 18:45:11 <domain> kresus[1316]: 2020-02-28 18:45:11,356:INFO:weboob.cmb.browser:browser.py:64:wrapper 502 Server Error: Bad Gateway raised, retrying
Feb 28 18:45:11 <domain> kresus[1316]: [2020-02-28T18:45:11.414] [INFO] sources/weboob - Command returned an error code.
Feb 28 18:45:11 <domain> kresus[1316]: [2020-02-28T18:45:11.414] [INFO] sources/weboob - Checking that weboob is installed and can actually be called…
Feb 28 18:45:11 <domain> kresus[1316]: [2020-02-28T18:45:11.414] [INFO] sources/weboob - Calling weboob: command test...
Feb 28 18:45:11 <domain> kresus[1316]: [2020-02-28T18:45:11.742] [INFO] sources/weboob - exited with code 0.
Feb 28 18:45:11 <domain> kresus[1316]: [2020-02-28T18:45:11.742] [INFO] sources/weboob - OK: weboob exited normally with non-empty JSON content.
Feb 28 18:45:11 <domain> kresus[1316]: [2020-02-28T18:45:11.742] [ERROR] sources/weboob - Got error while running command "accounts": Unknown error: Site did not reply successfully after multiple tries.
Feb 28 18:45:11 <domain> kresus[1316]: Traceback (most recent call last):
Feb 28 18:45:11 <domain> kresus[1316]: File "/var/www/kresus/build/server/weboob/main.py", line 681, in fetch
Feb 28 18:45:11 <domain> kresus[1316]: results['values'] = self.get_accounts()
Feb 28 18:45:11 <domain> kresus[1316]: File "/var/www/kresus/build/server/weboob/main.py", line 531, in get_accounts
Feb 28 18:45:11 <domain> kresus[1316]: for account in list(self.backend.iter_accounts()):
Feb 28 18:45:11 <domain> kresus[1316]: File "/var/www/kresus/data/weboob-data/modules/2.0/cmso/module.py", line 61, in iter_accounts
Feb 28 18:45:11 <domain> kresus[1316]: return self.browser.iter_accounts()
Feb 28 18:45:11 <domain> kresus[1316]: File "/var/www/kresus/data/weboob-data/modules/2.0/cmso/par/browser.py", line 71, in wrapper
Feb 28 18:45:11 <domain> kresus[1316]: raise BrowserUnavailable('Site did not reply successfully after multiple tries')
Feb 28 18:45:11 <domain> kresus[1316]: weboob.exceptions.BrowserUnavailable: Site did not reply successfully after multiple tries
J'ai mis à jour weboob puis réessayé, même problème.