Crédit coopératif: impossible de se connecter à mes comptes depuis maj vers debian buster (SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1056))
Rapport de bug
J'utilise Kresus via YunoHost depuis maintenant un bon moment, merci beaucoup au passage :)
Depuis la mise à jour de YunoHost 4 qui implique la migration vers debian buster, Kresus (ou plutôt boobank ?) n'arrive plus à se connecter à mon compte (crédit coopératif)
Voici le log :
[2020-08-16T19:10:18.356] [INFO] HTTP - GET /api/all/ - 200 (199 ms)
[2020-08-16T19:23:54.808] [INFO] providers/weboob - Calling weboob: command version...
[2020-08-16T19:23:55.224] [INFO] providers/weboob - exited with code 0.
[2020-08-16T19:23:55.225] [INFO] providers/weboob - OK: weboob exited normally with non-empty JSON content.
[2020-08-16T19:23:55.227] [INFO] HTTP - GET /api/settings/weboob - 200 (443 ms)
[2020-08-16T19:23:58.016] [INFO] HTTP - POST /api/settings/ - 200 (99 ms)
[2020-08-16T19:24:02.291] [INFO] providers/weboob - Calling weboob: command test...
[2020-08-16T19:24:02.292] [INFO] providers/weboob - Weboob will be updated prior to command "test"
[2020-08-16T19:24:03.582] [INFO] providers/weboob - exited with code 0.
[2020-08-16T19:24:03.582] [INFO] providers/weboob - OK: weboob exited normally with non-empty JSON content.
[2020-08-16T19:24:03.584] [INFO] HTTP - PUT /api/settings/weboob/ - 200 (1292 ms)
[2020-08-16T19:24:11.435] [INFO] providers/weboob - Calling weboob: command operations...
[2020-08-16T19:24:12.326] [INFO] providers/weboob - exited with code 0.
[2020-08-16T19:24:12.327] [WARN] providers/weboob - stderr: 2020-08-16 19:24:11,837:DEBUG:modules:modules.py:166:load_module Loaded module "creditcooperatif" from /var/www/kresus/data/weboob-data/modules/2.0/creditcooperatif
2020-08-16 19:24:12,013:DEBUG:modules:modules.py:166:load_module Loaded module "caissedepargne" from /var/www/kresus/data/weboob-data/modules/2.0/caissedepargne
2020-08-16 19:24:12,014:DEBUG:backend:modules.py:97:create_instance Created backend "creditcooperatif" for module "creditcooperatif"
2020-08-16 19:24:12,014:DEBUG:urllib3.util.retry:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-08-16 19:24:12,015:DEBUG:urllib3.util.retry:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-08-16 19:24:12,031:DEBUG:modules:modules.py:166:load_module Loaded module "linebourse" from /var/www/kresus/data/weboob-data/modules/2.0/linebourse
2020-08-16 19:24:12,032:DEBUG:urllib3.util.retry:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-08-16 19:24:12,032:DEBUG:urllib3.util.retry:retry.py:230:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-08-16 19:24:12,033:INFO:weboob.creditcooperatif.browser:switch.py:81:set_browser using 'main' browser
2020-08-16 19:24:12,036:INFO:weboob.creditcooperatif.browser:browser.py:334:load_state State expired, not reloading it from storage
2020-08-16 19:24:12,040:DEBUG:urllib3.connectionpool:connectionpool.py:943:_new_conn Starting new HTTPS connection (1): www.credit-cooperatif.coop:443
2020-08-16 19:24:12,141:DEBUG:urllib3.util.retry:retry.py:441:increment Incremented Retry for (url='/authentification/manage?step=identification&identifiant=**********'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
2020-08-16 19:24:12,144:WARNING:urllib3.connectionpool:connectionpool.py:752:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1056)'))': /authentification/manage?step=identification&identifiant=**********
2020-08-16 19:24:12,145:DEBUG:urllib3.connectionpool:connectionpool.py:943:_new_conn Starting new HTTPS connection (2): www.credit-cooperatif.coop:443
2020-08-16 19:24:12,195:DEBUG:urllib3.util.retry:retry.py:441:increment Incremented Retry for (url='/authentification/manage?step=identification&identifiant=**********'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2020-08-16 19:24:12,196:WARNING:urllib3.connectionpool:connectionpool.py:752:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1056)'))': /authentification/manage?step=identification&identifiant=**********
2020-08-16 19:24:12,197:DEBUG:urllib3.connectionpool:connectionpool.py:943:_new_conn Starting new HTTPS connection (3): www.credit-cooperatif.coop:443
2020-08-16 19:24:12,252:INFO:weboob.creditcooperatif.browser:browsers.py:909:dump_state Stored cookies into storage
[2020-08-16T19:24:12.328] [INFO] providers/weboob - Command returned an error code.
[2020-08-16T19:24:12.329] [ERROR] providers/weboob - Got error while running command "operations": HTTPSConnectionPool(host='www.credit-cooperatif.coop', port=443): Max retries exceeded with url: /authentification/manage?step=identification&identifiant=********** (Caused by SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1056)')))
[2020-08-16T19:24:12.330] [ERROR] providers/weboob - (error code: CONNECTION_ERROR)
[2020-08-16T19:24:12.353] [ERROR] helpers - when fetching operations: HTTPSConnectionPool(host='www.credit-cooperatif.coop', port=443): Max retries exceeded with url: /authentification/manage?step=identification&identifiant=********** (Caused by SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1056)')))
[2020-08-16T19:24:12.353] [INFO] helpers - Error
at new KError (/var/www/kresus/build/server/helpers.js:59:22)
at callWeboob (/var/www/kresus/build/server/providers/weboob/index.js:213:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async _fetchHelper (/var/www/kresus/build/server/providers/weboob/index.js:258:16)
at async Object.fetchOperations (/var/www/kresus/build/server/providers/weboob/index.js:281:12)
at async AccountManager.retrieveOperationsByAccess (/var/www/kresus/build/server/lib/accounts-manager.js:218:25)
at async fetchOperations (/var/www/kresus/build/server/controllers/accesses.js:117:43)
[2020-08-16T19:24:12.356] [ERROR] HTTP - GET /api/accesses/1/fetch/operations - 500 (971 ms)
[2020-08-16T19:24:31.053] [INFO] providers/weboob - Calling weboob: command version...
[2020-08-16T19:24:31.372] [INFO] providers/weboob - exited with code 0.
[2020-08-16T19:24:31.373] [INFO] providers/weboob - OK: weboob exited normally with non-empty JSON content.
[2020-08-16T19:24:31.377] [INFO] HTTP - GET /api/settings/weboob - 304 (325 ms)
Version de Weboob : 2.0
Version de Kresus : 0.16.0
Version openssl : 1.1.1d-0+deb10u3