Merci pour cette update. J’ai mis a jour il y a 10j, j’ai testé la connexion et c’était en bug, j’ai également mis a jour aujourd’hui et c’est la meme erreur.
Je ne sait pas si ca peut aider mais je te transmet qd meme l’info, le crédit coop a la particularité de proposer un petit générateur de code physique ou l’on insère sa carte bancaire. On tape son code de carte et le boitier génère un code.
Ils ont donc 3 double authentification différentes en comptant l’app mobile et les sms.
Concrètement au niveau du bug, j’ouvre kresus, je choisit ma banque, je tape mes id, je recoit un sms, je tape le code dans le navigateur puis paf "error when entering 2nd factor… blabla code expiré et aprés c’est la suite situé à [2022-07-09T23:31:34.026] [ERROR].
Voici les logs complet d’aujourd’hui.
[2022-07-09T23:26:03.190] [INFO] apply-config - Running Kresus with the following parameters:
[2022-07-09T23:26:03.193] [INFO] apply-config - NODE_ENV = production
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_LOGIN = user
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_DIR = /var/www/kresus/data/
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_USER_ID = null
[2022-07-09T23:26:03.193] [INFO] apply-config - PORT = 9876
[2022-07-09T23:26:03.193] [INFO] apply-config - HOST = 127.0.0.1
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_PYTHON_EXEC = /var/www/kresus/venv/bin/python
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_URL_PREFIX = /kresus
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_SALT = (hidden)
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_FORCE_DEMO_MODE = false
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_WOOB_DIR = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_WOOB_SOURCES_LIST = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_TRANSPORT = sendmail
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_SENDMAIL_BIN = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_FROM = kresus@faztelecom.fr
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_HOST = 127.0.0.1
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_PORT = 465
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_USER = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_PASSWORD = (hidden)
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_FORCE_TLS = false
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_REJECT_UNAUTHORIZED_TLS = true
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_APPRISE_API_BASE_URL = null
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_AUTH = null
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_LOG_FILE = /var/log/kresus/kresus.log
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_TYPE = postgres
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_LOG = error
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_SQLITE_PATH = null
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_HOST = localhost
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_PORT = 5432
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_USERNAME = kresus
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_PASSWORD = (hidden)
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_NAME = kresus
[2022-07-09T23:26:04.147] [INFO] models/index - User has id 1
[2022-07-09T23:26:04.148] [INFO] init - Starting bank accounts polling et al...
[2022-07-09T23:26:04.154] [INFO] poller - > Next check of accounts on 10/07/2022 at 03:34:00
[2022-07-09T23:26:04.155] [INFO] poller - Checking accounts and operations for all accesses...
[2022-07-09T23:26:04.166] [INFO] poller - All accounts have been polled.
[2022-07-09T23:26:04.167] [INFO] poller - Maybe sending reports...
[2022-07-09T23:26:04.168] [INFO] report-manager - Checking if user has enabled daily report...
[2022-07-09T23:26:04.174] [INFO] report-manager - User hasn't enabled daily report.
[2022-07-09T23:26:04.174] [INFO] poller - Reports have been sent.
[2022-07-09T23:26:04.175] [INFO] init - Server is ready, let's start the show!
[2022-07-09T23:30:09.458] [INFO] HTTP - GET /kresus/manifest - 200 (37 ms)
[2022-07-09T23:30:10.573] [INFO] providers/woob - Calling woob: command version...
[2022-07-09T23:30:10.936] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:30:10.939] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-07-09T23:30:10.957] [INFO] HTTP - GET /kresus/api/all/ - 200 (427 ms)
[2022-07-09T23:31:12.883] [INFO] accounts-manager - Retrieve all accounts from access creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:12.893] [INFO] providers/woob - Calling woob: command accounts...
[2022-07-09T23:31:16.845] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:31:16.846] [WARN] providers/woob - stderr: 2022-07-09 23:31:15,599:WARNING:woob.creditcooperatif.browser.authenticationmethodpage:pages.py:237:is_other_authentication_method Found a fallbackFactorAvailable, try to fall back to other auth methods.
[2022-07-09T23:31:16.848] [INFO] providers/woob - Saving session for access from bank creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:16.944] [INFO] providers/woob - Browser question is required; propagating question to the user.
[2022-07-09T23:31:16.951] [INFO] HTTP - POST /kresus/api/accesses - 200 (4184 ms)
[2022-07-09T23:31:30.663] [INFO] accounts-manager - Retrieve all accounts from access creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:30.668] [INFO] providers/woob - Calling woob: command accounts...
[2022-07-09T23:31:33.242] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:31:33.242] [INFO] providers/woob - Saving session for access from bank creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:33.268] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-07-09T23:31:33.269] [INFO] accounts-manager - -> 1 bank account(s) found
[2022-07-09T23:31:33.273] [INFO] accounts-manager - New account found: COMPTE COURANT
[2022-07-09T23:31:33.273] [INFO] accounts-manager - => Saving it as per request.
[2022-07-09T23:31:33.294] [INFO] providers/woob - Calling woob: command operations...
[2022-07-09T23:31:33.759] [INFO] providers/woob - exited with code 1.
[2022-07-09T23:31:33.759] [INFO] providers/woob - Command returned an error code.
[2022-07-09T23:31:33.761] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-07-09T23:31:33.761] [INFO] providers/woob - Calling woob: command test...
[2022-07-09T23:31:34.024] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:31:34.025] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-07-09T23:31:34.026] [ERROR] providers/woob - Got error while running command "operations": Unknown error: Le délai pour saisir le code a expiré, veuillez recommencer.
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/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/cenet/browser.py", line 116, in do_login
super(CenetBrowser, self).do_login()
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/compat/woob_browser.py", line 416, in do_double_authentication
handle_method()
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 794, in handle_otp_sms
self.handle_step_validation("SMS", "login")
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 869, in handle_step_validation
AUTHENTICATION_METHODS[authentication_method](**params)
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 586, in do_otp_sms_authentication
self.handle_2fa_otp(otp_type='SMS', **params)
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 540, in handle_2fa_otp
raise BrowserIncorrectPassword('Le délai pour saisir le code a expiré, veuillez recommencer')
woob.exceptions.BrowserIncorrectPassword: Le délai pour saisir le code a expiré, veuillez recommencer
[2022-07-09T23:31:34.027] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2022-07-09T23:31:34.052] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-07-09T23:31:34.053] [INFO] controllers/accesses - deleting access...
[2022-07-09T23:31:34.067] [ERROR] helpers - when creating a bank access: Unknown error: Le délai pour saisir le code a expiré, veuillez recommencer.
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/caissedepargne/module.py", line 86, in iter_accounts
for account in self.browser.get_accounts_list():
File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/switch.py", line 100, in wrapper
return val(*args, **kwargs)
File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/cenet/browser.py", line 116, in do_login
super(CenetBrowser, self).do_login()
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/compat/woob_browser.py", line 416, in do_double_authentication
handle_method()
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 794, in handle_otp_sms
self.handle_step_validation("SMS", "login")
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 869, in handle_step_validation
AUTHENTICATION_METHODS[authentication_method](**params)
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 586, in do_otp_sms_authentication
self.handle_2fa_otp(otp_type='SMS', **params)
File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 540, in handle_2fa_otp
raise BrowserIncorrectPassword('Le délai pour saisir le code a expiré, veuillez recommencer')
woob.exceptions.BrowserIncorrectPassword: Le délai pour saisir le code a expiré, veuillez recommencer
[2022-07-09T23:31:34.072] [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 (internal/process/task_queues.js:95: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 createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:145:37)
at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:31:34.097] [ERROR] HTTP - POST /kresus/api/accesses - 500 (3453 ms)
[2022-07-09T23:32:09.549] [ERROR] helpers - Assertion error: Expected variable to be defined
Error
at panic (/var/www/kresus/build/server/helpers.js:31:46)
at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:32:09.553] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-07-09T23:32:09.553] [ERROR] helpers - when creating a bank access: Assertion error: Expected variable to be defined
Error
at panic (/var/www/kresus/build/server/helpers.js:31:46)
at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:32:09.555] [INFO] helpers - Error: Assertion error: Expected variable to be defined
Error
at panic (/var/www/kresus/build/server/helpers.js:31:46)
at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
at panic (/var/www/kresus/build/server/helpers.js:33:11)
at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:32:09.559] [ERROR] HTTP - POST /kresus/api/accesses - 500 (43 ms)