[caisseepargne] Connection failure wrong password
Hi there,
Since 11th of September, it is not possible to connect to Caisse d'Epargne anymore. Weboob raises a BrowserIncorrectPassword() exception with error code FAILED_AUTHENTICATION.
I am using PASSWORD authentication (with Virutal Keyboard) and I face the same issue with all credentials from various pro accounts (though I have checked and are all still working through web interface).
I have instrumented the code to know from where the error was raised, and I found out that it starts through do_authentication_validation(), calls do_vk_authentication() and then raises the exception when Checking errors with self.page.check_errors(feature=feature) from do_authentication_validation(). It seems that encoding the password with virtual keyboard fails in some way. I have checked that all keys checksum are still correct, but am not sure where to look then...
If anyone can help ? Thanks !
Debug logs below :
2020-09-16 13:50:27,857:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: /root/weboob/localconfig/boobank.storage.
2020-09-16 13:50:27,858:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: /root/weboob/localconfig/boobank.storage.
2020-09-16 13:50:27,956:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "caissedepargne" from /root/weboob/modules/caissedepargne
2020-09-16 13:50:27,957:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "caissedepargne" for module "caissedepargne"
2020-09-16 13:50:27,957:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: /root/weboob/localconfig/boobank.
2020-09-16 13:50:27,957:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: /root/weboob/localconfig/boobank.
2020-09-16 13:50:27,965:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'caissedepargne'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb3c1be7ef0>>
2020-09-16 13:50:27,966:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-16 13:50:27,966:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-16 13:50:27,976:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "linebourse" from /root/weboob/modules/linebourse
2020-09-16 13:50:27,976:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-16 13:50:27,976:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-16 13:50:27,977:INFO:backend.caissedepargne.browser:2.1:switch.py:81:set_browser using 'main' browser
2020-09-16 13:50:27,978:INFO:backend.caissedepargne.browser:2.1:browser.py:335:load_state State expired, not reloading it from storage
2020-09-16 13:50:27,981:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): www.caisse-epargne.fr
2020-09-16 13:50:28,399:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.caisse-epargne.fr:443 "GET /authentification/manage?step=identification&identifiant=0013613517 HTTP/1.1" 200 367
2020-09-16 13:50:28,401:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.caisse-epargne.fr/authentification/manage?step=identification&identifiant=0013613517 with LoginPage
2020-09-16 13:50:28,463:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.caisse-epargne.fr:443 "POST /se-connecter/sso?cdetab=13135&login_hint=xxxxxxxxxx&type_srv=pro&service=bad&continue=https%3A%2F%2Fwww.netpro313.caisse-epargne.fr%2Floginbel.aspx&snid=xxxx&cancel_uri=https%3A%2F%2Fwww.caisse-epargne.fr%2Fparticuliers%23pauth&csid=xxxx&continue_parameters=%7B%22ctx%22%3A%22typsrv%3DWP%26sc%3D2%26base_url%3Dhttps%3A%5C%2F%5C%2Fwww.netpro313.caisse-epargne.fr%5C%2F%22%2C%22ctx_routage%22%3A%22%22%2C%22redirectUrl%22%3A%22%22%7D HTTP/1.1" 200 509
2020-09-16 13:50:28,466:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/sso?cdetab=13135&login_hint=xxxxxxxxxx&type_srv=pro&service=bad&continue=https%3A%2F%2Fwww.netpro313.caisse-epargne.fr%2Floginbel.aspx&snid=xxx&cancel_uri=https%3A%2F%2Fwww.caisse-epargne.fr%2Fparticuliers%23pauth&csid=xxxx&continue_parameters=%7B%22ctx%22%3A%22typsrv%3DWP%26sc%3D2%26base_url%3Dhttps%3A%5C%2F%5C%2Fwww.netpro313.caisse-epargne.fr%5C%2F%22%2C%22ctx_routage%22%3A%22%22%2C%22redirectUrl%22%3A%22%22%7D with NewLoginPage
2020-09-16 13:50:28,512:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.caisse-epargne.fr:443 "GET /se-connecter/main-es2015.53249a1906cbde2d5758.js HTTP/1.1" 200 None
2020-09-16 13:50:29,972:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.caisse-epargne.fr/se-connecter/main-es2015.53249a1906cbde2d5758.js with JsFilePage
2020-09-16 13:50:30,054:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): www.as-ex-ath-groupe.caisse-epargne.fr
2020-09-16 13:50:30,254:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.as-ex-ath-groupe.caisse-epargne.fr:443 "GET /api/oauth/v2/authorize?nonce=xxx&scope=openid+readUser&response_type=id_token+token&response_mode=form_post&cdetab=13135&login_hint=xxxxxxxxxx+xxxx&display=page&client_id=xxxx&claims=xxxx HTTP/1.1" 200 None
2020-09-16 13:50:30,282:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.as-ex-ath-groupe.caisse-epargne.fr/api/oauth/v2/authorize?nonce=xxx&scope=openid+readUser&response_type=id_token+token&response_mode=form_post&cdetab=13135&login_hint=xxxxxxxxxx+xxxx&display=page&client_id=xxxx&claims=xxxx with AuthorizePage
2020-09-16 13:50:30,285:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): www.icgauth.caisse-epargne.fr
2020-09-16 13:50:30,509:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "POST /dacswebssoissuer/AuthnRequestServlet HTTP/1.1" 303 0
2020-09-16 13:50:30,597:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx HTTP/1.1" 200 None
2020-09-16 13:50:30,601:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.caisse-epargne.fr/dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx with AuthenticationMethodPage
2020-09-16 13:50:30,604:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:243:_get_conn Resetting dropped connection: www.icgauth.caisse-epargne.fr
2020-09-16 13:50:30,744:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/mappings/70255d4c-e988-47b8-a65f-e3873d5d6e9a/images HTTP/1.1" 200 1371
2020-09-16 13:50:30,746:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/mappings/70255d4c-e988-47b8-a65f-e3873d5d6e9a/images with VkImagePage
2020-09-16 13:50:30,788:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img2eed2881-b401-455b-89fb-3c363723a846 HTTP/1.1" 200 1287
2020-09-16 13:50:30,798:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img2eed2881-b401-455b-89fb-3c363723a846
2020-09-16 13:50:30,806:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,806:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 856
2020-09-16 13:50:30,843:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img11e54ab7-8be9-43e7-bf73-b185ef4fd788 HTTP/1.1" 200 1287
2020-09-16 13:50:30,845:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img11e54ab7-8be9-43e7-bf73-b185ef4fd788
2020-09-16 13:50:30,845:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,845:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 829
2020-09-16 13:50:30,884:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img56474f2b-1513-46be-bd4c-4e7f8b454b1c HTTP/1.1" 200 1287
2020-09-16 13:50:30,885:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img56474f2b-1513-46be-bd4c-4e7f8b454b1c
2020-09-16 13:50:30,885:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,885:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1057
2020-09-16 13:50:30,923:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgef07f6d2-f3fa-453a-aace-fc800a14ef11 HTTP/1.1" 200 1287
2020-09-16 13:50:30,924:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imgef07f6d2-f3fa-453a-aace-fc800a14ef11
2020-09-16 13:50:30,924:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,925:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1141
2020-09-16 13:50:30,963:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imge7552e29-0aa8-4f6d-b4f4-442b75ebba26 HTTP/1.1" 200 1287
2020-09-16 13:50:30,964:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imge7552e29-0aa8-4f6d-b4f4-442b75ebba26
2020-09-16 13:50:30,964:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:30,964:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1128
2020-09-16 13:50:31,003:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img7571f97e-99cf-4b89-9db7-54118891e726 HTTP/1.1" 200 1287
2020-09-16 13:50:31,004:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img7571f97e-99cf-4b89-9db7-54118891e726
2020-09-16 13:50:31,005:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,005:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1117
2020-09-16 13:50:31,042:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imga2cd5c8d-fea1-4de9-be91-80b1212bfb76 HTTP/1.1" 200 1287
2020-09-16 13:50:31,044:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imga2cd5c8d-fea1-4de9-be91-80b1212bfb76
2020-09-16 13:50:31,044:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,044:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 905
2020-09-16 13:50:31,082:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgde7d4b70-25f7-4de2-9625-8a8f7705adfb HTTP/1.1" 200 1287
2020-09-16 13:50:31,083:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imgde7d4b70-25f7-4de2-9625-8a8f7705adfb
2020-09-16 13:50:31,083:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,084:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 1230
2020-09-16 13:50:31,121:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/imgde4d07a0-d35a-48e7-9369-63f22688d865 HTTP/1.1" 200 1287
2020-09-16 13:50:31,123:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/imgde4d07a0-d35a-48e7-9369-63f22688d865
2020-09-16 13:50:31,123:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,123:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 969
2020-09-16 13:50:31,161:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "GET /dacs-rest-media/api/v1u0/medias/images/img1dfdb59b-f3f7-4f75-ba67-cdab074efd3a HTTP/1.1" 200 1287
2020-09-16 13:50:31,163:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:888:internal_callback Unable to handle https://www.icgauth.caisse-epargne.fr/dacs-rest-media/api/v1u0/medias/images/img1dfdb59b-f3f7-4f75-ba67-cdab074efd3a
2020-09-16 13:50:31,163:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IHDR' 16 13
2020-09-16 13:50:31,163:DEBUG:PIL.PngImagePlugin:2.1:PngImagePlugin.py:141:call STREAM b'IDAT' 41 611
2020-09-16 13:50:31,257:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://www.icgauth.caisse-epargne.fr:443 "POST /dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx/step HTTP/1.1" 200 None
2020-09-16 13:50:31,258:DEBUG:backend.caissedepargne.browser:2.1:browsers.py:874:internal_callback Handle https://www.icgauth.caisse-epargne.fr/dacsrest/api/v1u0/transaction/CtxDACSP5344bbb22xxxxxxxxxxxff27f75315622xx/step with AuthenticationStepPage
2020-09-16 13:50:31,259:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'caissedepargne'>: Called function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb3c1be7ef0>> raised an error: BrowserIncorrectPassword()