View Issue Details

IDProjectCategoryView StatusLast Update
0010201Talerexchangepublic2025-08-31 17:09
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010201: request to aml statistics results in connection reset
Description$ curl 'https://exchange.glsint.fdold.eu/aml/QAC7SWSRCBTBRH7YYK21JCJNCN8B1S2ST07RJXX4DCF339F4QGYG/kyc-statistics/MROS_REPORTED_SUSPICION_SIMPLE?start_date=1721563023369&end_date=1753099023369' [... auth header omitted ...]


Jul 21 11:58:04 guava taler-exchange-httpd[1235982]: (H72FB42S63HS0NJQWJKHAA1AHG) INFO Handling request (GET) for URL '/aml/QAC7SWSRCBTBRH7YYK21JCJNCN8B1S2ST07RJXX4DCF339F4QGYG/kyc-statistics/INCR_INVESTIGATION_CONCLUDED'
Jul 21 11:58:04 guava taler-exchange-httpd[1235982]: (H72FB42S63HS0NJQWJKHAA1AHG) WARNING External protocol violation detected at mhd_parsing.c:239.
Jul 21 11:58:04 guava taler-exchange-httpd[1235982]: (H72FB42S63HS0NJQWJKHAA1AHG) WARNING External protocol violation detected at taler-exchange-httpd_aml-statistics-get.c:89.
Jul 21 11:58:04 guava taler-exchange-httpd[1235982]: (H72FB42S63HS0NJQWJKHAA1AHG) WARNING External protocol violation detected at mhd_parsing.c:239.
Jul 21 11:58:04 guava taler-exchange-httpd[1235982]: (H72FB42S63HS0NJQWJKHAA1AHG) ERROR Assertion failed at taler-exchange-httpd_aml-statistics-get.c:92.
Jul 21 11:58:04 guava taler-exchange-httpd[1235982]: INFO Application reported internal error, closing connection.
Additional Information$ taler-exchange-httpd --version
taler-exchange-httpd v1.0.15-git-063b23d
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-07-21 13:47

manager   ~0025546

Ok, first of all you're giving the timestamp in milliseconds, but only seconds are allowed in terms of granularity.
Moreover, the format WAS not supported by libgnunetutil until just now (fixed in 669c26def..ef55c76fa) where we supported more fancy ways of timestamp representation. Note that I'm using a "fancy" heuristic to determine that "%Y" was intended if the value is < 9999 and otherwise interpret a pure number a seconds past epoch. Probably should be documented that timestamps in 1970 can be problematic...

Finally, the error handling macro in taler_mhd_lib had a bug, failing to properly end the request (actually, same bug in 5 macros). Fixed in all in 063b23df7..ef3c6a5b1

Issue History

Date ModifiedUsernameFieldChange
2025-07-21 12:03Florian DoldNew Issue
2025-07-21 12:03Florian DoldStatusnew => assigned
2025-07-21 12:03Florian DoldAssigned To => Christian Grothoff
2025-07-21 13:47Christian GrothoffNote Added: 0025546
2025-07-21 13:47Christian GrothoffStatusassigned => informing
2025-07-21 13:47Christian GrothoffResolutionopen => fixed
2025-07-21 13:47Christian GrothoffFixed in Version => 1.0 stretch goals
2025-08-31 17:09Christian GrothoffStatusinforming => closed