Error with TransferTerminationMessage when terminated by Provider #688
Labels
component/edc-ce
affected software component
component/edc-ui
affected software component
kind/bug
Something isn't working. The software does not behave as expected or specified.
scope/mds
related to MDS
task/analyze
Need for investigation
Description - What happened?
Aborting transfers by the Provider because of an internal error leads to a follow up error with the TransferTerminationMessage.
As a follow up in the EDC-UI of the consumer, the transfer process will continue to rotate bars indefinitely.
Expected Behavior
TransferTerminationMessage send by Provider should also lead to a (graphical) termination of the transfer process at the Consumer after the Provider canceled the transfer because of an internal error.
Observed Behavior
If the provider cancels a data transfer requested by a consumer immediately because it encounters an internal error in its setup, such as an unreachable data plane or not being able to build the HttpDataSource, the provider then notifies the consumer of the termination with a TransferTerminationMessage. However, during sending the message also a failure is logged at the provider: "404 - Transferprocess with corellationId ... not found". As a consequence the consumer remains in the Requested status for the transfer while the provider has been in Terminated status for a long time.
It is unclear whether the 404-response comes from the Consumer in response to receiving the termination-message from the Provider or whether it is another internal error from the Provider himself.
Steps to Reproduce
There are no real steps to reproduce this, as this must be preceded by an internal error on the provider's side when initiating the transfer that was requested by a consumer. This is therefore a subsequent error.
Context Information
Additional Findings
Occurred in two independent transfer terminations on the provider side:
Hypothesis / Possible Root Cause
Timeline / Priority
We want to fix this issue before the launch of MDS 2.1 so that on-premise customers of MDS do not have to do a second update at a later stage; this will ensure a smoother customer experience.
Screenshots
As a follow up in the EDC-UI of the consumer, the transfer process will continue to rotate bars indefinitely. Like here for a transfer, that was started 20 days ago but meanwhile terminated by the Provider.
![image](https://private-user-images.githubusercontent.com/75306992/320753276-b0b2e6a4-d953-4b33-acb7-24c8688eb026.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5NjU3NDUsIm5iZiI6MTcyNDk2NTQ0NSwicGF0aCI6Ii83NTMwNjk5Mi8zMjA3NTMyNzYtYjBiMmU2YTQtZDk1My00YjMzLWFjYjctMjRjODY4OGViMDI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI5VDIxMDQwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4MjQ2MWNhYjRlMDZhNGQ1MDY1NjJkN2Q1NDRhMzJiNGQ5ZGUzMmVlZDAwNmJjYTMyMDYwNTI3NDhhNjE5MDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gZmbzP8XkVF_XLjnN-2vnmCLE1DLRZUgLcpJa8dX_RU)
Workaround idea
As a workaround, the Consumer could consider the transfer to have been terminated after a certain amount of time x if he does not make any status changes for a certain period of time on that Transferprocess.
Stakeholders
@ip312 @jkbquabeck
The text was updated successfully, but these errors were encountered: