View Issue Details

IDProjectCategoryView StatusLast Update
0007073Anastasisbackendpublic2023-06-15 15:54
ReporterFlorian Dold Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.3.0Fixed in Version0.3.0 
Summary0007073: policy payment long polling not documented and too high by default
DescriptionAccording to CHECK_PAYMENT_GENERIC_TIMEOUT, making a policy upload with an Anastasis-Payment-Identifier waits for 30 minutes (!!) by default. This doesn't seem like a good default.

Furthermore, it's not documented anywhere that the POST /policy/$acctid request will actually block when a payment identifier is given.
TagsNo tags attached.

Activities

Christian Grothoff

2021-11-06 16:36

manager   ~0018462

What is wrong with 30 minutes? After all, we are waiting for the user to do a full bank payment, which even with instant SEPA can be expected to take several minutes.

Florian Dold

2021-11-07 16:28

manager   ~0018465

In all our other endpoints, long-polling is not the default, so it probably shouldn't be the default here either.

Even if we do long-polling by default, we should not wait for more than ~30 seconds, for reasons outlined here: https://datatracker.ietf.org/doc/html/rfc6202#section-5.5

Christian Grothoff

2021-12-31 17:27

manager   ~0018613

Fixed in the code and documented in 33152ae..0919fe8

Christian Grothoff

2023-06-15 15:54

manager   ~0020276

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2021-11-04 23:07Florian DoldNew Issue
2021-11-04 23:07Florian DoldAssigned To => Christian Grothoff
2021-11-04 23:07Florian DoldStatusnew => assigned
2021-11-06 16:36Christian GrothoffNote Added: 0018462
2021-11-06 16:36Christian GrothoffAssigned ToChristian Grothoff => Florian Dold
2021-11-06 16:36Christian GrothoffStatusassigned => feedback
2021-11-07 16:28Florian DoldNote Added: 0018465
2021-12-31 11:40Christian GrothoffAssigned ToFlorian Dold => Christian Grothoff
2021-12-31 11:41Christian GrothoffStatusfeedback => assigned
2021-12-31 17:27Christian GrothoffStatusassigned => resolved
2021-12-31 17:27Christian GrothoffResolutionopen => fixed
2021-12-31 17:27Christian GrothoffFixed in Version => 0.3.0
2021-12-31 17:27Christian GrothoffNote Added: 0018613
2021-12-31 17:27Christian GrothoffProduct Version => Git master
2021-12-31 17:27Christian GrothoffTarget Version => 0.3.0
2022-09-26 18:50Christian GrothoffStatusresolved => closed
2023-06-15 15:54Christian Grothoff
2023-06-15 15:54Christian GrothoffNote Added: 0020276