[boobill][edfparticulier] 400 Client Error: Bad Request
With which module do you encounter problems?
edfparticulier
Describe the problem you encounter
400 Client Error: Bad Request
thrown during module execution. It seems this started some time ago (2020-10-28 according to my logs)
Paste here the stacktrace or error message you observe
2020-12-30 21:58:46,268:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: <homedir>/.config/weboob/boobill.storage.
2020-12-30 21:58:46,271:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: <homedir>/.config/weboob/boobill.storage.
2020-12-30 21:58:46,354:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "edfparticulier" from <homedir>/Projects/WEBOOB/weboob/modules/edfparticulier
2020-12-30 21:58:46,672:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "edf" for module "edfparticulier"
2020-12-30 21:58:46,673:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: <homedir>/.config/weboob/boobill.
2020-12-30 21:58:46,673:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: <homedir>/.config/weboob/boobill.
2020-12-30 21:58:46,690:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'edf'>: Calling function <bound method Application._do_complete of <weboob.applications.boobill.boobill.Boobill object at 0x109c4f690>>
2020-12-30 21:58:46,698: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-12-30 21:58:46,698: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-12-30 21:58:46,699:INFO:backend.edf.browser:2.1:browsers.py:1056:_load_cookies Reloaded cookies from storage
2020-12-30 21:58:46,702:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:813:_new_conn Starting new HTTPS connection (1): particulier.edf.fr:443
2020-12-30 21:58:50,050:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://particulier.edf.fr:443 "GET /bin/edf_rc/servlets/sasServlet?processus=TDB HTTP/1.1" 302 0
2020-12-30 21:58:50,108:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://particulier.edf.fr:443 "GET /bin/edf_rc/servlets/sasServlet?processus=TDB&forceAuth=true HTTP/1.1" 302 713
2020-12-30 21:58:50,115:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:813:_new_conn Starting new HTTPS connection (1): espace-client.edf.fr:443
2020-12-30 21:58:50,186:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://espace-client.edf.fr:443 "GET /sso/oauth2/INTERNET/authorize?response_type=code&scope=openid%20email%20profile%20infotech%20b2c_services%20b2c_business_process%20comptes-internet%20gestion-bons-plans%20contracts_list%3Aread%20customers%3Aread%20contracts%3Aread%20documents%3Aread&client_id=SiteCP&state=***************************&redirect_uri=https%3A%2F%2Fparticulier.edf.fr%2Ffr%2Faccueil%2Fespace-client%2Fmoduleopenidc.html&nonce=*******************************************&response_mode=form_post HTTP/1.1" 302 0
2020-12-30 21:58:50,224:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://espace-client.edf.fr:443 "GET /sso/UI/Login?realm=%2FINTERNET&goto=https%3A%2F%2Fespace-client.edf.fr%2Fsso%2Foauth2%2FINTERNET%2Fauthorize%3Fresponse_type%3Dcode%26scope%3Dopenid%2520email%2520profile%2520infotech%2520b2c_services%2520b2c_business_process%2520comptes-internet%2520gestion-bons-plans%2520contracts_list%253Aread%2520customers%253Aread%2520contracts%253Aread%2520documents%253Aread%26client_id%3DSiteCP%26state%3D***************************%26redirect_uri%3Dhttps%253A%252F%252Fparticulier.edf.fr%252Ffr%252Faccueil%252Fespace-client%252Fmoduleopenidc.html%26nonce%3D*******************************************%26response_mode%3Dform_post HTTP/1.1" 302 0
2020-12-30 21:58:50,251:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://espace-client.edf.fr:443 "GET /sso/XUI/ HTTP/1.1" 200 1389
2020-12-30 21:58:50,257:DEBUG:backend.edf.browser:2.1:browsers.py:894:internal_callback Unable to handle https://espace-client.edf.fr/sso/XUI/#login/&realm=%2FINTERNET&goto=https%3A%2F%2Fespace-client.edf.fr%2Fsso%2Foauth2%2FINTERNET%2Fauthorize%3Fresponse_type%3Dcode%26scope%3Dopenid%2520email%2520profile%2520infotech%2520b2c_services%2520b2c_business_process%2520comptes-internet%2520gestion-bons-plans%2520contracts_list%253Aread%2520customers%253Aread%2520contracts%253Aread%2520documents%253Aread%26client_id%3DSiteCP%26state%3D***************************%26redirect_uri%3Dhttps%253A%252F%252Fparticulier.edf.fr%252Ffr%252Faccueil%252Fespace-client%252Fmoduleopenidc.html%26nonce%3D*******************************************%26response_mode%3Dform_post
2020-12-30 21:58:50,339:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:393:_make_request https://espace-client.edf.fr:443 "POST /sso/json/authenticate?realm=%2FINTERNET HTTP/1.1" 400 82
2020-12-30 21:58:50,340:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'edf'>: Called function <bound method Application._do_complete of <weboob.applications.boobill.boobill.Boobill object at 0x109c4f690>> raised an error: ClientError('400 Client Error: Bad Request')
Error(edf): 400 Client Error: Bad Request
2020-12-30 21:58:50,390:INFO:backend.edf.browser:2.1:browsers.py:1095:dump_state Stored cookies into storage
2020-12-30 21:58:50,394:DEBUG:weboob.config:2.1:yamlconfig.py:90:save Configuration file saved: <homedir>/.config/weboob/boobill.storage.
What are the steps to reproduce the problem?
boobill -b edf ls --debug
What weboob version are you using?
Output of weboob-config --version
command:
weboob-config v2.1 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
What module version are you using?
Output of weboob-config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module edfparticulier |
+-----------------.------------------------------------------------------------'
| Version | 202012122358
| Maintainer | Florian Duguet <florian.duguet@budget-insight.com>
| License | LGPLv3+
| Description | edf particulier
| Capabilities | CapDocument, CapProfile, CapCollection
| Installed | yes
| Location | /Users/llange/Projects/WEBOOB/weboob/modules/edfparticulier
| |
| Configuration | login: E-mail ou Identifiant
| | password: Mot de passe (default: )
| | otp: Entrez le code reçu par SMS
'-----------------'
How did you install weboob?
pip -e .