-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consorsbank: Error during dialog initialization, could not fetch BPD. #99
Comments
The relevant log line is
But nothing looks wrong about the segments 🤔 |
Your Log output: Change field security_method_version. It must be 2 in all messages using two-step-procedure .according to document |
Can you cite which document exactly? |
Page 58: Last message received from the bank contains no challenge of TAN-input due to the wrong setting security_method_version=1. |
How can we use this to fix the issue? I am willing to help but I have almost no knowledge of how FinTS or this library work. I played around with my pycharm debugger inside the client.py file to force the client to use It seems, Consorsbank does not send any information on 1) that it requires a TAN and 2) which TAN methods they support. Maybe they do not implement the API correctly. However, Banking4A on Android is able to connect to Consorsbank after requesting a TAN. It should be possible somehow but their code is not accessible: https://subsembly.com/fints-api.html... Could someone try pointing me into the correct direction? I can try to do the legwork. |
It also works with Hibiscus / hcbi4java. Here are my logs for fetching transactions:
In all messages the security version is 2: I also got hcbi4java's sample script
|
Hello, I tried to modify the code in such a way that the secure method matches the hbci4java method:
As a response from Consorbank I receive:
In the FinTS Specs they say: However, in client.py I found the comment "Implementing HKTAN#6 implies support for Strong Customer Authentication (SCA) which may require TANs for many more operations including dialog initialization. We do not currently support that." My question is, does it mean that SCA/HKTAN#6 is not supported yet? I hope it helps solving the issue. |
How do you change this field? |
Each use of class HNSHK4 (SiganturKopf.) in messages must use class SecurityProfile with security_method_version = 2 e.g. security_profile=SecurityProfile(SecurityMethod.PIN, 2),
In FinTS you find setting of security_method_version=1 in module security.py / class PinTanAuthenticationMechanism. security_profile=SecurityProfile(SecurityMethod.PIN, 2) Each message must contain a HKTAN6 segment, if BPD Data (Bankdata) announces a TAN challenge to use HKKAZ, HKWPD, HKSAL, ....
|
I also got this problem, I tried the above but same output |
Hi. |
Describe the bug
Execution of the test script fails in line 37 (on entering the with-block) with the exception
fints.exceptions.FinTSClientError: Error during dialog initialization, could not fetch BPD. Please check that you passed the correct bank identifier to the HBCI URL of the correct bank.
Bank I tested this with
Name of the bank: Consorsbank
FinTS URL: https://brokerage-hbci.consorsbank.de/hbci
Expected behavior
On entering the with-block a dialog should be opened with the bank.
Code required to reproduce
Same as https://python-fints.readthedocs.io/en/latest/trouble.html, with
Log output / error message
Log output
The text was updated successfully, but these errors were encountered: