View Issue Details

IDProjectCategoryView StatusLast Update
0009891Talerexchangepublic2025-05-07 21:58
ReporterFlorian Dold Assigned ToChristian Grothoff  
PriorityhighSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.0Fixed in Version1.0 
Summary0009891: exchange reports internal server error when measure with challenger check is done twice
DescriptionSteps are (of course automated in the integration test):

* New merchant account successfully does KYC auth
* AML officer makes a decision that imposes the "postal-registration" measure
* Customer completes the identification in challenger (concluding with GET /kyc-proof/POSTAL-CHALLENGER?[...])
* Exchange is still happy, measures succeeds

* AML officer *again* makes a decision that imposes the "postal-registration" measure
* Customer completes the identification in challenger again (for some reason, the exchange doesn't do a second /setup request, re-uses the nonce)
* Exchange hates the second /kyc-proof/POSTAL-CHALLENGER?[...] request
Steps To Reproducetaler-harness run-integrationtests tops-challenger-twice
Additional Information500: Internal server error
The server experienced an internal error handling the request.
1929: The exchange is unaware of having made an the authorization request.

---

2025-05-06T23:18:34.189730+0200 taler-exchange-httpd-1019284(VCSAWZNANN8EXHQVNVMFK0D8D8) INFO No active legitimization for 2
2025-05-06T23:18:34.189735+0200 taler-exchange-httpd-1019284(VCSAWZNANN8EXHQVNVMFK0D8D8) WARNING External protocol violation detected at taler-exchange-httpd_kyc-proof.c:376.
2025-05-06T23:18:34.189744+0200 taler-exchange-httpd-1019284(VCSAWZNANN8EXHQVNVMFK0D8D8) INFO Templating error response for 1929 and HTTP status 404 ((null))
2025-05-06T23:18:34.189781+0200 taler-exchange-httpd-1019284(VCSAWZNANN8EXHQVNVMFK0D8D8) INFO Resuming with response 0x10153f10 and status 404
2025-05-06T23:18:34.189793+0200 taler-exchange-httpd-1019284(VCSAWZNANN8EXHQVNVMFK0D8D8) INFO Handling request (GET) for URL '/kyc-proof/POSTAL-CHALLENGER'
2025-05-06T23:18:34.189825+0200 taler-exchange-httpd-1019284(VCSAWZNANN8EXHQVNVMFK0D8D8) INFO Request for `/kyc-proof/POSTAL-CHALLENGER' completed with HTTP status 404 (0)
2025-05-06T23:18:34.273666+0200 taler-exchange-httpd-1019284 INFO Shutdown of taler-exchange-httpd
2025-05-06T23:18:34.273937+0200 taler-exchange-httpd-1019284(BQXSKVMRM45QZWWTCKR5S2DY3G) INFO Cancelling DB event listening
2025-05-06T23:18:34.273952+0200 taler-exchange-httpd-1019284(BQXSKVMRM45QZWWTCKR5S2DY3G) INFO Executing PQ command `UNLISTEN XBCT833R33BQ59DWJ662TBRF9AQ2CRN9Q96ZRZR6S8P0QAPAV9HRG'
2025-05-06T23:18:34.274018+0200 taler-exchange-httpd-1019284(BQXSKVMRM45QZWWTCKR5S2DY3G) INFO Request for `/kyc-check/4YFM6B0GB31AKWD4BKF1JXP9G7YP2GY137DE9JV5QCKR912ZW3GG' completed with HTTP status 0 (3)
TagsNo tags attached.

Activities

Christian Grothoff

2025-05-07 21:57

manager   ~0024823

Fix committed to master branch.

Christian Grothoff

2025-05-07 21:58

manager   ~0024824

Fixed in b22476db0..b8cf98ca4

Related Changesets

exchange: master b8cf98ca

2025-05-07 23:57

Christian Grothoff


Details Diff
fix section name to provider name conversion to set legitimization_process finished flag on attribute insertion and avoid re-use legitimization process at the provider. Fixes 0009891 Affected Issues
0009891
mod - src/kyclogic/plugin_kyclogic_oauth2.c Diff File

Issue History

Date Modified Username Field Change
2025-05-06 23:27 Florian Dold New Issue
2025-05-06 23:27 Florian Dold Status new => assigned
2025-05-06 23:27 Florian Dold Assigned To => Christian Grothoff
2025-05-06 23:27 Florian Dold Additional Information Updated
2025-05-06 23:28 Florian Dold Additional Information Updated
2025-05-06 23:29 Florian Dold Additional Information Updated
2025-05-06 23:31 Florian Dold Additional Information Updated
2025-05-07 21:57 Christian Grothoff Changeset attached => exchange master b8cf98ca
2025-05-07 21:57 Christian Grothoff Note Added: 0024823
2025-05-07 21:57 Christian Grothoff Status assigned => resolved
2025-05-07 21:57 Christian Grothoff Resolution open => fixed
2025-05-07 21:58 Christian Grothoff Note Added: 0024824
2025-05-07 21:58 Christian Grothoff Fixed in Version => 1.0