View Issue Details

IDProjectCategoryView StatusLast Update
0010201Talerexchangepublic2025-07-21 15:47
ReporterFlorian Dold Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
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.

Activities

Christian Grothoff

2025-07-21 15: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 Modified Username Field Change
2025-07-21 14:03 Florian Dold New Issue
2025-07-21 14:03 Florian Dold Status new => assigned
2025-07-21 14:03 Florian Dold Assigned To => Christian Grothoff
2025-07-21 15:47 Christian Grothoff Note Added: 0025546
2025-07-21 15:47 Christian Grothoff Status assigned => resolved
2025-07-21 15:47 Christian Grothoff Resolution open => fixed
2025-07-21 15:47 Christian Grothoff Fixed in Version => 1.0 stretch goals