View Issue Details

IDProjectCategoryView StatusLast Update
0008190Talerlibeufin-nexuspublic2024-03-20 11:08
ReporterAntoine A Assigned ToAntoine A 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
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version0.9.4Fixed in Version0.9.4 
Summary0008190: Error recovery strategy when ingesting EBICS files
DescriptionWhen ingesting EBICS files, we may encounter errors, such as a loss of connection to the database. As some EBICS documents are ephemeral, the bank will only serve them once. When an EBICS download is requested, we need to acknowledge receipt with a status code that can be used to signal our inability to process these files.
We need to check whether not sending the acknowledgement or responding with an error code will consume the ephemeral files or whether we need another solution on our side, and use this logic to stop losing them as we are doing now.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0006402 closedAntoine A handle disrupted EBICS transactions 
child of 0008365 closedChristian Grothoff package and upload libeufin 0.10 to ftp and stable Debian/Ubuntu server 

Activities

Antoine A

2024-01-31 10:39

manager   ~0021111

Last edited: 2024-01-31 13:36

The response with an error code consumes ephemeral files.
Not sending a confirmation of receipt puts our session in a special state where we get EBICS_PROCESSING_ERROR until the end of the EBICS transaction, but the ephemeral files are not consumed. If we can handle this error state by aborting the transaction, we might have a good primitive for handling errors.

Antoine A

2024-02-12 17:18

manager   ~0021256

The old plan was to run a special fetch once a day with a specified start range to recover missed files in the event of failure. This doesn't work for ephemeral files, but could still be useful for notification files.

Antoine A

2024-02-12 18:02

manager   ~0021258

Erattum: returning status code 1 in the receipt message prevent consumption of ephemeral files. I was led astray because we support both EBICS 2.5 and 3 and I only changed the status code for EBICS 3 whereas we only retrieve HACs using EBICS 2.5.

Receipt message status code seems to be the cleanest solution.

Antoine A

2024-02-13 07:19

manager   ~0021268

Fixed in 5837035a2e5679f529196ae85bc041d695a69176

Issue History

Date ModifiedUsernameFieldChange
2024-01-22 13:52Antoine ANew Issue
2024-01-22 13:52Antoine AStatusnew => assigned
2024-01-22 13:52Antoine AAssigned To => Antoine A
2024-01-22 14:12Antoine ATarget Version0.10 => 0.9.4
2024-01-22 16:55Christian GrothoffTarget Version0.9.4 => 0.10
2024-01-31 10:39Antoine ANote Added: 0021111
2024-01-31 13:36Antoine ANote Edited: 0021111
2024-02-09 23:27Christian GrothoffRelationship addedchild of 0008365
2024-02-12 17:18Antoine ANote Added: 0021256
2024-02-12 18:02Antoine ANote Added: 0021258
2024-02-13 07:19Antoine AStatusassigned => informing
2024-02-13 07:19Antoine AResolutionopen => fixed
2024-02-13 07:19Antoine ANote Added: 0021268
2024-02-28 18:12Florian DoldTarget Version0.10 => 0.9.4
2024-03-07 19:50Christian GrothoffFixed in Version => 0.9.4
2024-03-07 19:51Christian GrothoffStatusinforming => closed
2024-03-20 11:08Antoine ARelationship addedrelated to 0006402