Erreurs création comptes La Banque Postale et Amundi

Bonjour,

Je découvre Kresus que j’ai installé sur un NAS Synology via docker.
Tout d’abord, merci aux développeurs pour cette initiative.

J’ai donc commencé par créer 2 comptes Boursorama avec succès.
Par contre, je n’ai pas réussi à créer 1 compte à la Banque Postale et 1 compte Amundi.
Ci dessous un extrait des logs relatifs à la création de ces comptes (j’ai remplacé le n° de compte par « XXXX »)

# COMPTE LA BANQUE POSTALE

[2022-11-21T15:28:34.327] [INFO] accounts-manager - Retrieve all accounts from access bp with login XXXXXXXXX
[2022-11-21T15:28:34.333] [INFO] providers/woob - Calling woob: command accounts...
[2022-11-21T15:28:35.184] [INFO] providers/woob - exited with code 1.
[2022-11-21T15:28:35.184] [WARN] providers/woob - stderr: 2022-11-21 15:28:34,804:DEBUG:woob.core.modules.loader:modules.py:182:load_module Loaded module "bp" from /home/user/data/woob-data/modules/3.1/woob_modules/bp
2022-11-21 15:28:34,804:DEBUG:woob.backend:modules.py:98:create_instance Created backend "bp" for module "bp"
2022-11-21 15:28:34,805:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,805:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,808:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,808:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,810:DEBUG:urllib3.connectionpool:connectionpool.py:815:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr:443
2022-11-21 15:28:35,002:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None
2022-11-21 15:28:35,009:DEBUG:woob.bp.browser:browsers.py:892:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage
2022-11-21 15:28:35,071:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.013968900395902373 HTTP/1.1" 200 3506
2022-11-21 15:28:35,075:DEBUG:woob.bp.browser:browsers.py:892:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.013968900395902373 with UselessPage
2022-11-21 15:28:35,088:DEBUG:PIL.PngImagePlugin:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-11-21 15:28:35,088:DEBUG:PIL.PngImagePlugin:PngImagePlugin.py:213:call STREAM b'IDAT' 41 3449
[2022-11-21T15:28:35.185] [INFO] providers/woob - Command returned an error code.
[2022-11-21T15:28:35.186] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-11-21T15:28:35.186] [INFO] providers/woob - Calling woob: command test...
[2022-11-21T15:28:35.443] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:28:35.443] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:28:35.443] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
    results['values'] = self.get_accounts()
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
    for account in list(self.backend.iter_accounts()):
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/module.py", line 80, in iter_accounts
    return self.browser.get_accounts_list()
  File "/woob/woob/browser/browsers.py", line 993, in inner
    browser.do_login()
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 500, in do_login
    self.login_without_2fa()
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 480, in login_without_2fa
    self.page.login(self.username, self.password)
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 102, in login
    vk = Keyboard(self)
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 82, in __init__
    self.check_symbols(self.symbols, page.browser.responses_dirname)
  File "/woob/woob/tools/captcha/virtkeyboard.py", line 172, in check_symbols
    self.get_symbol_code(symbols[s])
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 85, in get_symbol_code
    code = VirtKeyboard.get_symbol_code(self, md5sum)
  File "/woob/woob/tools/captcha/virtkeyboard.py", line 163, in get_symbol_code
    % all_known_md5_for_symbol)
TypeError: not all arguments converted during string formatting

[2022-11-21T15:28:35.444] [ERROR] providers/woob - 	(error code: GENERIC_EXCEPTION)
[2022-11-21T15:28:36.029] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-11-21T15:28:36.029] [INFO] controllers/accesses - 	deleting access...
[2022-11-21T15:28:36.583] [ERROR] helpers - when creating a bank access: Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
    results['values'] = self.get_accounts()
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
    for account in list(self.backend.iter_accounts()):
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/module.py", line 80, in iter_accounts
    return self.browser.get_accounts_list()
  File "/woob/woob/browser/browsers.py", line 993, in inner
    browser.do_login()
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 500, in do_login
    self.login_without_2fa()
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 480, in login_without_2fa
    self.page.login(self.username, self.password)
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 102, in login
    vk = Keyboard(self)
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 82, in __init__
    self.check_symbols(self.symbols, page.browser.responses_dirname)
  File "/woob/woob/tools/captcha/virtkeyboard.py", line 172, in check_symbols
    self.get_symbol_code(symbols[s])
  File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 85, in get_symbol_code
    code = VirtKeyboard.get_symbol_code(self, md5sum)
  File "/woob/woob/tools/captcha/virtkeyboard.py", line 163, in get_symbol_code
    % all_known_md5_for_symbol)
TypeError: not all arguments converted during string formatting

[2022-11-21T15:28:36.583] [INFO] helpers - Error
    at new KError (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:59:22)
    at callWoob (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _fetchHelper (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:259:12)
    at async pollAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:97:34)
    at async AccountManager.syncAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:280:24)
    at async createAndRetrieveData (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:115:33)
    at async create (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:180:22)
[2022-11-21T15:28:36.585] [ERROR] HTTP - POST /api/accesses - 500 (2872 ms)
[2022-11-21T15:28:53.934] [INFO] providers/woob - Calling woob: command version...
[2022-11-21T15:28:54.183] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:28:54.183] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:28:54.185] [INFO] HTTP - GET /api/instance/woob - 304 (254 ms)
[2022-11-21T15:28:59.141] [INFO] providers/woob - Calling woob: command test...
[2022-11-21T15:28:59.141] [INFO] providers/woob - Woob will be updated prior to command "test"
[2022-11-21T15:28:59.778] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:28:59.778] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:28:59.780] [INFO] HTTP - PUT /api/instance/woob/ - 200 (640 ms)

# COMPTE AMUNDI

[2022-11-21T15:45:34.216] [INFO] accounts-manager - Retrieve all accounts from access amundi with login XXXXXX
[2022-11-21T15:45:34.220] [INFO] providers/woob - Calling woob: command accounts...
[2022-11-21T15:45:34.868] [INFO] providers/woob - exited with code 1.
[2022-11-21T15:45:34.868] [WARN] providers/woob - stderr: 2022-11-21 15:45:34,512:DEBUG:woob.core.modules.loader:modules.py:182:load_module Loaded module "amundi" from /home/user/data/woob-data/modules/3.1/woob_modules/amundi
2022-11-21 15:45:34,512:DEBUG:woob.backend:modules.py:98:create_instance Created backend "amundi" for module "amundi"
2022-11-21 15:45:34,513:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:45:34,513:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:45:34,516:DEBUG:urllib3.connectionpool:connectionpool.py:815:_new_conn Starting new HTTPS connection (1): epargnant.amundi-ee.com:443
2022-11-21 15:45:34,740:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://epargnant.amundi-ee.com:443 "GET /public/config?site=m1st&manufacturer=Mozilla&model=X11&platform=web&uuid=e5eb219c-616a-40dc-80af-5eb2757dde0c&version=Linux+Linux+x86_64&navigateur=firefox&navigateurVersion=78.0.0 HTTP/1.1" 200 1260
2022-11-21 15:45:34,742:DEBUG:woob.amundi.browser:browsers.py:892:internal_callback Handle https://epargnant.amundi-ee.com/public/config?site=m1st&manufacturer=Mozilla&model=X11&platform=web&uuid=e5eb219c-616a-40dc-80af-5eb2757dde0c&version=Linux+Linux+x86_64&navigateur=firefox&navigateurVersion=78.0.0 with ConfigPage
2022-11-21 15:45:34,815:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://epargnant.amundi-ee.com:443 "POST /public/authenticateFails HTTP/1.1" 200 21
2022-11-21 15:45:34,817:DEBUG:woob.amundi.browser:browsers.py:892:internal_callback Handle https://epargnant.amundi-ee.com/public/authenticateFails with AuthenticateFailsPage
[2022-11-21T15:45:34.868] [INFO] providers/woob - Command returned an error code.
[2022-11-21T15:45:34.870] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-11-21T15:45:34.871] [INFO] providers/woob - Calling woob: command test...
[2022-11-21T15:45:35.129] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:45:35.130] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:45:35.130] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: The site requires solving a captcha.
Traceback (most recent call last):
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
    results['values'] = self.get_accounts()
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
    for account in list(self.backend.iter_accounts()):
  File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/module.py", line 67, in iter_accounts
    return self.browser.iter_accounts()
  File "/woob/woob/browser/browsers.py", line 993, in inner
    browser.do_login()
  File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/browser.py", line 127, in do_login
    raise RecaptchaV2Question(website_key=website_key, website_url=website_url)
woob.exceptions.RecaptchaV2Question: The site requires solving a captcha

[2022-11-21T15:45:35.130] [ERROR] providers/woob - 	(error code: GENERIC_EXCEPTION)
[2022-11-21T15:45:35.247] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-11-21T15:45:35.247] [INFO] controllers/accesses - 	deleting access...
[2022-11-21T15:45:35.841] [ERROR] helpers - when creating a bank access: Unknown error: The site requires solving a captcha.
Traceback (most recent call last):
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
    results['values'] = self.get_accounts()
  File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
    for account in list(self.backend.iter_accounts()):
  File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/module.py", line 67, in iter_accounts
    return self.browser.iter_accounts()
  File "/woob/woob/browser/browsers.py", line 993, in inner
    browser.do_login()
  File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/browser.py", line 127, in do_login
    raise RecaptchaV2Question(website_key=website_key, website_url=website_url)
woob.exceptions.RecaptchaV2Question: The site requires solving a captcha

[2022-11-21T15:45:35.842] [INFO] helpers - Error
    at new KError (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:59:22)
    at callWoob (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _fetchHelper (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:259:12)
    at async pollAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:97:34)
    at async AccountManager.syncAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:280:24)
    at async createAndRetrieveData (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:115:33)
    at async create (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:180:22)
[2022-11-21T15:45:35.844] [ERROR] HTTP - POST /api/accesses - 500 (2038 ms)

Pour info, dans la partie administration, j’ai validé les options « mises à jour auto des modules » et « utiliser libnss »

Merci de votre aide.

JP

Bonjour.

J’ai moi aussi une erreur avec mon compte La Banque Postale. Il s’agit d’une installation par Yunohost (version 0.18.1~ynh9) sur un petit serveur.

[2022-12-05T08:32:31.602] [INFO] HTTP - DELETE /kresus/api/logs - 200 (7 ms)
[2022-12-05T08:32:34.590] [INFO] providers/woob - Calling woob: command operations...
[2022-12-05T08:32:36.271] [INFO] providers/woob - exited with code 1.
[2022-12-05T08:32:36.271] [INFO] providers/woob - Command returned an error code.
[2022-12-05T08:32:36.272] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-12-05T08:32:36.272] [INFO] providers/woob - Calling woob: command test...
[2022-12-05T08:32:36.942] [INFO] providers/woob - exited with code 0.
[2022-12-05T08:32:36.943] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-12-05T08:32:36.943] [ERROR] providers/woob - Got error while running command "operations": Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
    results['values'] = self.get_operations(from_date)
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 589, in get_operations
    for account in list(self.backend.iter_accounts()):
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/module.py", line 80, in iter_accounts
    return self.browser.get_accounts_list()
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
    browser.do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 500, in do_login
    self.login_without_2fa()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 480, in login_without_2fa
    self.page.login(self.username, self.password)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 102, in login
    vk = Keyboard(self)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 82, in __init__
    self.check_symbols(self.symbols, page.browser.responses_dirname)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 174, in check_symbols
    self.get_symbol_code(symbols[s])
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 85, in get_symbol_code
    code = VirtKeyboard.get_symbol_code(self, md5sum)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 164, in get_symbol_code
    'Code not found for these hashes "%s".'
TypeError: not all arguments converted during string formatting

[2022-12-05T08:32:36.943] [ERROR] providers/woob - 	(error code: GENERIC_EXCEPTION)
[2022-12-05T08:32:36.962] [ERROR] helpers - when fetching operations: Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
    results['values'] = self.get_operations(from_date)
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 589, in get_operations
    for account in list(self.backend.iter_accounts()):
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/module.py", line 80, in iter_accounts
    return self.browser.get_accounts_list()
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
    browser.do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 500, in do_login
    self.login_without_2fa()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 480, in login_without_2fa
    self.page.login(self.username, self.password)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 102, in login
    vk = Keyboard(self)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 82, in __init__
    self.check_symbols(self.symbols, page.browser.responses_dirname)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 174, in check_symbols
    self.get_symbol_code(symbols[s])
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 85, in get_symbol_code
    code = VirtKeyboard.get_symbol_code(self, md5sum)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 164, in get_symbol_code
    'Code not found for these hashes "%s".'
TypeError: not all arguments converted during string formatting

[2022-12-05T08:32:36.963] [INFO] helpers - Error
    at new KError (/var/www/kresus/build/server/helpers.js:59:22)
    at callWoob (/var/www/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchOperations (/var/www/kresus/build/server/providers/woob/index.js:270:12)
    at async pollTransactions (/var/www/kresus/build/server/lib/accounts-manager.js:215:34)
    at async AccountManager.syncTransactions (/var/www/kresus/build/server/lib/accounts-manager.js:338:24)
    at async fetchOperations (/var/www/kresus/build/server/controllers/accesses.js:205:37)
[2022-12-05T08:32:36.966] [ERROR] HTTP - POST /kresus/api/accesses/1/fetch/operations - 500 (2423 ms)
[2022-12-05T08:32:43.528] [INFO] providers/woob - Calling woob: command version...
[2022-12-05T08:32:44.194] [INFO] providers/woob - exited with code 0.
[2022-12-05T08:32:44.196] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-12-05T08:32:44.209] [INFO] HTTP - GET /kresus/api/instance/woob - 200 (681 ms)

J’ai aussi essayé en activant libnss, j’ai une erreur différente :

[2022-12-05T08:28:24.855] [INFO] HTTP - DELETE /kresus/api/logs - 200 (11 ms)
[2022-12-05T08:28:28.040] [INFO] providers/woob - Calling woob: command operations...
[2022-12-05T08:28:29.861] [INFO] providers/woob - exited with code 0.
[2022-12-05T08:28:29.861] [WARN] providers/woob - stderr: 2022-12-05 08:28:29,419:WARNING:urllib3.connectionpool:connectionpool.py:812:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))': /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers
2022-12-05 08:28:29,547:WARNING:urllib3.connectionpool:connectionpool.py:812:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))': /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers
[2022-12-05T08:28:29.862] [INFO] providers/woob - Command returned an error code.
[2022-12-05T08:28:29.863] [ERROR] providers/woob - Got error while running command "operations": HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.")))
[2022-12-05T08:28:29.863] [ERROR] providers/woob - 	(error code: CONNECTION_ERROR)
[2022-12-05T08:28:29.877] [ERROR] helpers - when fetching operations: HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.")))
[2022-12-05T08:28:29.878] [INFO] helpers - Error
    at new KError (/var/www/kresus/build/server/helpers.js:59:22)
    at callWoob (/var/www/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchOperations (/var/www/kresus/build/server/providers/woob/index.js:270:12)
    at async pollTransactions (/var/www/kresus/build/server/lib/accounts-manager.js:215:34)
    at async AccountManager.syncTransactions (/var/www/kresus/build/server/lib/accounts-manager.js:338:24)
    at async fetchOperations (/var/www/kresus/build/server/controllers/accesses.js:205:37)
[2022-12-05T08:28:29.882] [ERROR] HTTP - POST /kresus/api/accesses/1/fetch/operations - 500 (1877 ms)
[2022-12-05T08:28:36.912] [INFO] providers/woob - Calling woob: command version...
[2022-12-05T08:28:37.590] [INFO] providers/woob - exited with code 0.
[2022-12-05T08:28:37.592] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-12-05T08:28:37.608] [INFO] HTTP - GET /kresus/api/instance/woob - 200 (696 ms)

Bonjour,

Problème identique pour moi avec YunoHost 11.0.10.2 (stable). Ci-dessous vous trouverez les journaux après les essais avec openssl puis libnss;
Si quelqu’un entrevoit une solution, merci à lui.

log avec openssl:

Unknown error: not all arguments converted during string formatting. Erreur inconnue de Kresus : essayez de mettre à jour Woob, 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.

[2022-12-11T10:21:43.836] [INFO] HTTP - DELETE /kresus/api/logs - 200 (3 ms)
[2022-12-11T10:22:07.806] [INFO] accounts-manager - Retrieve all accounts from access bp with login 0000000000a
[2022-12-11T10:22:07.810] [INFO] providers/woob - Calling woob: command accounts...
[2022-12-11T10:22:08.628] [INFO] providers/woob - exited with code 1.
[2022-12-11T10:22:08.629] [INFO] providers/woob - Command returned an error code.
[2022-12-11T10:22:08.630] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-12-11T10:22:08.630] [INFO] providers/woob - Calling woob: command test...
[2022-12-11T10:22:08.885] [INFO] providers/woob - exited with code 0.
[2022-12-11T10:22:08.886] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-12-11T10:22:08.886] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
    results['values'] = self.get_accounts()
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
    for account in list(self.backend.iter_accounts()):
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/module.py", line 80, in iter_accounts
    return self.browser.get_accounts_list()
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
    browser.do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 500, in do_login
    self.login_without_2fa()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 480, in login_without_2fa
    self.page.login(self.username, self.password)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 102, in login
    vk = Keyboard(self)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 82, in __init__
    self.check_symbols(self.symbols, page.browser.responses_dirname)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 174, in check_symbols
    self.get_symbol_code(symbols[s])
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 85, in get_symbol_code
    code = VirtKeyboard.get_symbol_code(self, md5sum)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 164, in get_symbol_code
    'Code not found for these hashes "%s".'
TypeError: not all arguments converted during string formatting

[2022-12-11T10:22:08.887] [ERROR] providers/woob - 	(error code: GENERIC_EXCEPTION)
[2022-12-11T10:22:08.918] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-12-11T10:22:08.919] [INFO] controllers/accesses - 	deleting access...
[2022-12-11T10:22:08.929] [ERROR] helpers - when creating a bank access: Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
    results['values'] = self.get_accounts()
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
    for account in list(self.backend.iter_accounts()):
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/module.py", line 80, in iter_accounts
    return self.browser.get_accounts_list()
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/browser/browsers.py", line 981, in inner
    browser.do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 500, in do_login
    self.login_without_2fa()
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/browser.py", line 480, in login_without_2fa
    self.page.login(self.username, self.password)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 102, in login
    vk = Keyboard(self)
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 82, in __init__
    self.check_symbols(self.symbols, page.browser.responses_dirname)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 174, in check_symbols
    self.get_symbol_code(symbols[s])
  File "/var/www/kresus/data/woob-data/modules/3.0/bp/pages/login.py", line 85, in get_symbol_code
    code = VirtKeyboard.get_symbol_code(self, md5sum)
  File "/var/www/kresus/venv/lib/python3.9/site-packages/woob/tools/captcha/virtkeyboard.py", line 164, in get_symbol_code
    'Code not found for these hashes "%s".'
TypeError: not all arguments converted during string formatting

[2022-12-11T10:22:08.929] [INFO] helpers - Error
    at new KError (/var/www/kresus/build/server/helpers.js:59:22)
    at callWoob (/var/www/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchAccounts (/var/www/kresus/build/server/providers/woob/index.js:259:12)
    at async pollAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:97:34)
    at async AccountManager.syncAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:280:24)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:115:33)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-12-11T10:22:08.937] [ERROR] HTTP - POST /kresus/api/accesses - 500 (1156 ms)
[2022-12-11T10:22:43.370] [INFO] providers/woob - Calling woob: command version...
[2022-12-11T10:22:43.623] [INFO] providers/woob - exited with code 0.
[2022-12-11T10:22:43.624] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-12-11T10:22:43.627] [INFO] HTTP - GET /kresus/api/instance/woob - 200 (257 ms)

log avec libnss:

HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))) Veuillez vous référer à la console développeurs pour plus d'informations.

[2022-12-11T10:27:07.189] [INFO] HTTP - DELETE /kresus/api/logs - 200 (2 ms)
[2022-12-11T10:27:29.695] [INFO] accounts-manager - Retrieve all accounts from access bp with login 0000000000a
[2022-12-11T10:27:29.699] [INFO] providers/woob - Calling woob: command accounts...
[2022-12-11T10:27:30.427] [INFO] providers/woob - exited with code 0.
[2022-12-11T10:27:30.428] [WARN] providers/woob - stderr: 2022-12-11 10:27:30,175:WARNING:urllib3.connectionpool:connectionpool.py:812:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))': /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers
2022-12-11 10:27:30,256:WARNING:urllib3.connectionpool:connectionpool.py:812:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user."))': /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers
[2022-12-11T10:27:30.428] [INFO] providers/woob - Command returned an error code.
[2022-12-11T10:27:30.429] [ERROR] providers/woob - Got error while running command "accounts": HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.")))
[2022-12-11T10:27:30.430] [ERROR] providers/woob - 	(error code: CONNECTION_ERROR)
[2022-12-11T10:27:30.451] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-12-11T10:27:30.451] [INFO] controllers/accesses - 	deleting access...
[2022-12-11T10:27:30.462] [ERROR] helpers - when creating a bank access: HTTPSConnectionPool(host='voscomptesenligne.labanquepostale.fr', port=443): Max retries exceeded with url: /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers (Caused by SSLError(SSLError(0, "(SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.")))
[2022-12-11T10:27:30.463] [INFO] helpers - Error
    at new KError (/var/www/kresus/build/server/helpers.js:59:22)
    at callWoob (/var/www/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchAccounts (/var/www/kresus/build/server/providers/woob/index.js:259:12)
    at async pollAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:97:34)
    at async AccountManager.syncAccounts (/var/www/kresus/build/server/lib/accounts-manager.js:280:24)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:115:33)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-12-11T10:27:30.467] [ERROR] HTTP - POST /kresus/api/accesses - 500 (801 ms)
[2022-12-11T10:27:34.637] [INFO] providers/woob - Calling woob: command version...
[2022-12-11T10:27:34.892] [INFO] providers/woob - exited with code 0.
[2022-12-11T10:27:34.893] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-12-11T10:27:34.896] [INFO] HTTP - GET /kresus/api/instance/woob - 200 (259 ms)

Bonjour,

On m’apprend que la version 3.0 de woob n’est plus prise en charge et les modules non mis à jour.
Une version 3.1 devrait sortir prochainement, et réglera je l’espère le souci !

L’utilisation de libnss dans ce cas semble apporter + de problèmes que nécessaires.

Il faudra que je réfléchisse à permettre au paquet yunohost d’utiliser la version unstable de woob pour éviter de rester bloqués sur la 3.0…

Le passage de v0.18.1~ynh9 vers v0.18.1~ynh10 de Kresus depuis une instance de YunoHost stable a corrigé le bug : Unknown error: not all arguments converted during string formatting.

Merci à l’équipe pour le support.

3 « J'aime »

Pareil ici !
Merci beaucoup <3

1 « J'aime »