[bnporc] 400 Client Error: Bad Request (GET /pe-war/rpc/synthesis/get)
With which module do you encounter problems?
bnporc / pp
Describe the problem you encounter
any command (list/history) returns error 400
Paste here the stacktrace or error message you observe
Here is a test on fresh 2.0 install:
/bankfetcher $ weboob-config update
=== [ 0%] Getting https://updates.weboob.org/2.0/main/
The repository https://updates.weboob.org/2.0/main/ isn't trusted yet.
Fingerprint of keyring is 2358fddede5b782c80c09d4dc2e24574a6e96440
Are you sure you want to continue? (Y/n): y
=== [ 0%] Keyring version 201905191640, checksum 2358fddede5b782c80c09d4dc2e24574a6e96440
=== [100%] All modules are up-to-date.
/bankfetcher $ boobank --auto-update --debug
2020-06-21 13:14:10,654:DEBUG:weboob.config:2.0:yamlconfig.py:69:load Loading configuration file: /config/boobank.storage.
2020-06-21 13:14:10,659:DEBUG:weboob.config:2.0:yamlconfig.py:90:save Configuration file saved: /config/boobank.storage.
2020-06-21 13:14:10,660:DEBUG:weboob.config:2.0:yamlconfig.py:76:load Configuration file created with default values: /config/boobank.storage.
2020-06-21 13:14:10,665:INFO:root:2.0:base.py:270:load_backends No backend loaded
Warning: there is currently no configured backend for boobank
Do you want to configure backends? (Y/n):
Available modules:
1) [ ] afer Association française d'épargne et de retraite
2) [ ] amazonstorecard Amazon Store Card
[...]
15) [ ] bnporc BNP Paribas
[...]
Select a backend to create (q to stop): 15
Module "bnporc" is available but not installed.
2020-06-21 13:14:27,095:DEBUG:urllib3.util.retry:2.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-06-21 13:14:27,096:DEBUG:urllib3.util.retry:2.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
=== [ 20%] Module bnporc is not installed yet
=== [ 30%] Downloading module...
2020-06-21 13:14:27,112:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:955:_new_conn Starting new HTTPS connection (1): updates.weboob.org:443
2020-06-21 13:14:27,328:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://updates.weboob.org:443 "GET /2.0/main/bnporc.tar.gz HTTP/1.1" 200 40273
=== [ 50%] Checking module authenticity...
2020-06-21 13:14:27,363:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://updates.weboob.org:443 "GET /2.0/main/bnporc.tar.gz.sig HTTP/1.1" 200 310
=== [ 70%] Setting up module...
=== [ 90%] Downloading icon...
2020-06-21 13:14:27,799:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://updates.weboob.org:443 "GET /2.0/main/bnporc.png HTTP/1.1" 200 5192
=== [100%] Module bnporc has been installed!
2020-06-21 13:14:28,314:DEBUG:modules:2.0:modules.py:166:load_module Loaded module "bnporc" from /data/modules/2.0/bnporc
Configuration of backend bnporc
-------------------------------
[login] Numéro client:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s):
[password] Code secret:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s):
[rotating_password] Automatically renew password every 100 connections (y/N):
[digital_key] User with digital key have to add recipient with digital key (y/N):
pp: Particuliers/Professionnels
hbank: HelloBank
ent: Entreprises
ent2: Entreprises et PME (nouveau site)
[website] Type de compte (PP/hbank/ent/ent2): pp
-------------------------------
Backend "bnporc" successfully added.
2020-06-21 13:14:46,649:DEBUG:backend:2.0:modules.py:97:create_instance Created backend "bnporc" for module "bnporc"
[...]
Select a backend to create (q to stop): q
Right right!
2020-06-21 13:14:48,790:DEBUG:weboob.config:2.0:iniconfig.py:76:load Application configuration file created with default values: /config/boobank. Please customize it.
Welcome to boobank v2.0
Copyright(C) 2010-2020 Romain Bignon, Christophe Benz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Type "help" to display available commands.
Loaded backends: bnporc
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
2020-06-21 13:14:51,744:DEBUG:bcall:2.0:bcall.py:92:backend_process <Backend 'bnporc'>: Calling function iter_resources
[bnporc] Numéro client (hidden input):
[bnporc] Code secret (hidden input):
2020-06-21 13:15:04,926:DEBUG:urllib3.util.retry:2.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-06-21 13:15:04,927:DEBUG:urllib3.util.retry:2.0:retry.py:229:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-06-21 13:15:04,951:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:955:_new_conn Starting new HTTPS connection (1): mabanque.bnpparibas:443
2020-06-21 13:15:05,161:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /identification-wspl-pres/identification?acceptRedirection=true×tamp=1592745304940 HTTP/1.1" 200 None
2020-06-21 13:15:05,177:DEBUG:backend.bnporc.browser:2.0:browsers.py:720:internal_callback Handle https://mabanque.bnpparibas/identification-wspl-pres/identification?acceptRedirection=true×tamp=1592745304940 with LoginPage
2020-06-21 13:15:05,224:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /identification-wspl-pres/grille/t77466718421694202753893366973137560565 HTTP/1.1" 200 6259
2020-06-21 13:15:05,311:DEBUG:backend.bnporc.browser:2.0:browsers.py:734:internal_callback Unable to handle https://mabanque.bnpparibas/identification-wspl-pres/grille/t77466718421694202753893366973137560565
2020-06-21 13:15:05,522:DEBUG:PIL.PngImagePlugin:2.0:PngImagePlugin.py:146:call STREAM b'IHDR' 16 13
2020-06-21 13:15:05,523:DEBUG:PIL.PngImagePlugin:2.0:PngImagePlugin.py:146:call STREAM b'IDAT' 41 6202
2020-06-21 13:15:06,472:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "POST /SEEA-pa01/devServer/seeaserver HTTP/1.1" 302 7895
2020-06-21 13:15:06,657:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /aiguillage-wspl/redirect/login?u=%2FSEEA-pa01%2FdevServer%2Fseeaserver HTTP/1.1" 302 0
2020-06-21 13:15:06,998:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /fr/connexion/comptes-et-contrats HTTP/1.1" 200 None
2020-06-21 13:15:07,109:DEBUG:backend.bnporc.browser:2.0:browsers.py:720:internal_callback Handle https://mabanque.bnpparibas/fr/connexion/comptes-et-contrats with UselessPage
2020-06-21 13:15:07,288:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /rib-wspl/rpc/comptes HTTP/1.1" 200 None
2020-06-21 13:15:07,301:DEBUG:backend.bnporc.browser:2.0:browsers.py:720:internal_callback Handle https://mabanque.bnpparibas/rib-wspl/rpc/comptes with AccountsIBANPage
2020-06-21 13:15:07,534:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "POST /virement-wspl/rest/initialisationVirement HTTP/1.1" 200 None
2020-06-21 13:15:07,552:DEBUG:backend.bnporc.browser:2.0:browsers.py:720:internal_callback Handle https://mabanque.bnpparibas/virement-wspl/rest/initialisationVirement with TransferInitPage
2020-06-21 13:15:07,678:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /udc-wspl/rest/getlstcpt HTTP/1.1" 200 None
2020-06-21 13:15:07,731:DEBUG:backend.bnporc.browser:2.0:browsers.py:720:internal_callback Handle https://mabanque.bnpparibas/udc-wspl/rest/getlstcpt with AccountsPage
2020-06-21 13:15:07,872:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:428:_make_request https://mabanque.bnpparibas:443 "GET /pe-war/rpc/synthesis/get HTTP/1.1" 400 9424
2020-06-21 13:15:07,882:DEBUG:bcall:2.0:bcall.py:98:backend_process <Backend 'bnporc'>: Called function iter_resources raised an error: ClientError('400 Client Error: Bad Request')
Error(bnporc): 400 Client Error: Bad Request
------------------------------------------+----------+----------
boobank>
What module version are you using?
.------------------------------------------------------------------------------.
| Module bnporc |
+-----------------.------------------------------------------------------------'
| Version | 202006171130
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | BNP Paribas
| Capabilities | CapBankTransferAddRecipient, CapBankTransfer, CapBank, CapContact, CapMessages, CapBankWealth, CapCollection, CapDocument, CapProfile
| Installed | yes
| Location | https://updates.weboob.org/2.0/main/bnporc.tar.gz
| |
| Configuration | login: Numéro client (default: )
| | password: Code secret (default: )
| | rotating_password: Automatically renew password every 100 connections (default: False)
| | digital_key: User with digital key have to add recipient with digital key (default: False)
| | website: Type de compte (default: pp)
'-----------------'
How did you install weboob?
git clone 2.0 in docker
Edited by Woob Import