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

comdirect: Die Nachricht hat nicht die erwartete Nachrichtennummer. #135

Open
msix81 opened this issue Jul 21, 2024 · 2 comments
Open

comdirect: Die Nachricht hat nicht die erwartete Nachrichtennummer. #135

msix81 opened this issue Jul 21, 2024 · 2 comments

Comments

@msix81
Copy link

msix81 commented Jul 21, 2024

I tried to configure the FinTS Importer for a comdirect account, but received the error message Die Nachricht hat nicht die erwartete Nachrichtennummer. unfortunately.

Configuration (done via UI):
image

The chosen Two-Factor Method doesn't really matter. My bank supports 901 and 902 (as confirmed by the error message when selecting another one), and the error is the same for both.

Any ideas?

Full stacktrace:
Fatal error: Uncaught Fhp\Protocol\ServerException: FinTS errors: 9050 (global): Die Nachricht enthaelt Fehler. 9800 (global): Dialog abgebrochen 9120 (global): Die Nachricht hat nicht die erwartete Nachrichtennummer. in /vendor/nemiah/php-fints/lib/Fhp/Protocol/ServerException.php:170 Stack trace: #0 /vendor/nemiah/php-fints/lib/Fhp/FinTs.php(963): Fhp\Protocol\ServerException::detectAndThrowErrors(Object(Fhp\Protocol\Message), Object(Fhp\Protocol\Message)) #1 /vendor/nemiah/php-fints/lib/Fhp/FinTs.php(307): Fhp\FinTs->sendMessage(Object(Fhp\Protocol\Message)) #2 /vendor/nemiah/php-fints/lib/Fhp/FinTs.php(263): Fhp\FinTs->execute(Object(Fhp\Protocol\DialogInitialization)) #3 /app/Login.php(23): Fhp\FinTs->login() #4 /app/TanHandler.php(41): App\StepFunction\{closure}() #5 /app/TanHandler.php(31): App\TanHandler->create_or_continue_action() #6 /app/Login.php(21): App\TanHandler->__construct(Object(Closure), 'login-action', Object(Symfony\Component\HttpFoundation\Session\Session), Object(Twig\Environment), Object(Fhp\FinTs), Object(App\Step), Object(Symfony\Component\HttpFoundation\Request)) #7 /app/index.php(53): App\StepFunction\Login() #8 {main} thrown in /vendor/nemiah/php-fints/lib/Fhp/Protocol/ServerException.php on line 170

@bnw
Copy link
Owner

bnw commented Jul 21, 2024

Hi @msix81,
could this here be the problem?
I suspect the error might occur because teh form is effectively submitted twice in this scenario.

@msix81
Copy link
Author

msix81 commented Jul 25, 2024

You were right, thank you! I had to start a new browser session and not click on any "Proceed" button, but just wait for a couple of seconds. Now I am seeing another error ("cURL error 7: Failed to connect to localhost port 80 after 0 ms: Connection refused"), but I guess I have to follow up that one separately.

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

2 participants