Skip to content
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

DKB issues since server change #468

Open
roben opened this issue Nov 26, 2024 · 9 comments
Open

DKB issues since server change #468

roben opened this issue Nov 26, 2024 · 9 comments

Comments

@roben
Copy link

roben commented Nov 26, 2024

Hi everyone,

yesterday was the deadline to use the new fints url for DKB. After implementing the changes we are now facing some issues when verifying the now updated credentials (TAN Mode 940 instead of 921):

Message: FinTS errors:
9050 (global): Teilweise liegen Fehler vor.
9010 (wrt seg 3): Verarbeitungssystem nicht verfügbar.
Request segments:
HKSPA:3:3'

Fhp\Protocol\ServerException in zend/library/Fhp/Protocol/ServerException.php(170)
#0 /Fhp/FinTs.php(963): Fhp\Protocol\ServerException::detectAndThrowErrors(Object(Fhp\Protocol\Message), Object(Fhp\Protocol\Message))
#1 /Fhp/FinTs.php(307): Fhp\FinTs->sendMessage(Object(Fhp\Protocol\Message))
#2 [...]/Api/Bank/Hbci.php(130): Fhp\FinTs->execute(Object(Fhp\Action\GetSEPAAccounts))

This stack trace is after authorizing the TAN request in the DKB APP and resubmitting the Action. This works fine for other banks and even before the server change with DKB.

Am I the only one with these issues? Maybe I am missing something which is now required.

@roben
Copy link
Author

roben commented Dec 3, 2024

FWIW I have reverted the new DKB URL for now until I have more time to look into this. With the old URL (https://banking-dkb.s-fints-pt-dkb.de/fints30) everything (still) works as expected.

@roben
Copy link
Author

roben commented Dec 3, 2024

I just noticed this: https://help.outbankapp.com/de/kb/articles/dkb-fints-umstellung-2024

Darlehenskonten nicht mehr über FinTS abrufbar
Seit der Servermigration übermittelt die DKB keine Darlehenskonten mehr über die finTS-Schnittstelle.

And that's exactly the kind of account I have tested with. I hope that this is only temporary.

@roben
Copy link
Author

roben commented Jan 9, 2025

Update: The situation has improved. I can now synchronize credit accounts without issues but I have to re-authenticate every time I do it.
Luckily the old server is still available for now. I'll report back here if anything changes.

@peukerjonathan
Copy link

I can confirm this behaviour - same here. The old server working flawlessly up to now. The new one is working as well but requires re-authentification on every Umsatzabfrage.

@nemiah
Copy link
Owner

nemiah commented Jan 9, 2025

Maybe it's the same like with Sparkasse and you have to persist and re-use the last session or at least save and restore the Kundensystem-ID like in #471

@peukerjonathan
Copy link

Unfortunately not.
My code is running flawlessly with Sparkasse Accounts and DKB accounts as well as long as I am using the "old" DKB Server.
So I guess the way I am persisting and reusing the kundensystemId should be generally fine. Then again my code is running on the latest "release" version of this lib and not on the latest master...

However I am not sure if this is even is a problem of the lib, it could possibly also be an issue with the new DKB system.
If everything would be fine DKB would probably already be fading out the old system.

If anyone is interested I could be providing logs to further analyze the situation? (I myself am unfortunately not very familiar with the protocols and have difficulty analyzing what is going on under the hood...)

@roben
Copy link
Author

roben commented Jan 9, 2025

The same here. I am already reusing the Kundensystem-ID for Sparkasse which works just fine.

@niklas152
Copy link

niklas152 commented Jan 10, 2025

@peukerjonathan

However I am not sure if this is even is a problem of the lib, it could possibly also be an issue with the new DKB system. If everything would be fine DKB would probably already be fading out the old system.

I fear it is actually be design - both the end customer ("Es ist erforderlich, dass du jede Anmeldung bzw. jeden Umsatzabruf mit der DKB-App oder chipTAN bestätigst.") and the business customer ("Aus Sicherheitsgründen ist zukünftig bei jedem Login bzw. Umsatzabruf eine Autorisierung erforderlich. Die Bestätigung erfolgt mittels DKB-App oder mit einer TAN (chipTAN).") fints information pages of the DKB state that with their new FinTS access, a TAN / confirmation is required for any signin (including retrieving transactions).
Their documentation even includes to leave the "Kunden-ID" empty, suggesting they don't use it.

@peukerjonathan
Copy link

So based on this information we can assume that unsupervised automated data synchronization will not really be possible with the new DKB server once the old server is not usable anymore.... what a shame.

Well maybe the responsible persons at the DKB will change their mind in the future - but if this turns out to be true maybe this information should be placed in the "Banks with special needs" part of the libs readme file ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants