You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if aries_vcx_core/src/errors/mapping_indyvdr.rs propagated more error information. Currently, most indy-vdr errors are being mapped into Unknown vcx core errors, so we lose information. there is a TODO in this file which notes this, however I'm creating a github issue for it as a reminder.
I came across this when attempting to wrap the IndyVdrLedgeRead impl with some additional "retry X times on pool timeout errors" logic, since i was encountering some flakey ledger issues that a simple retry would fix.
But there is no ideal way of identifying a pool timeout error, since error details are hidden behind UnknownError. IMO we should at least propagate pool timeout errors as a new vcx-core error type.
The text was updated successfully, but these errors were encountered:
That being said, I want to note that indy-vdr implementation a lot more sensitive to 1) outdated genesis files and 2) misbehaving nodes compared to the one from indy-sdk/vdrtools - in both cases you might get timeout.
In Absa we have rust script to built up latest genesis files & tool to check for misbehaving nodes (and you can then tell indy-vdr to exclude them) - these can help getting indy-vdr working smoothly. I'll be sharing those. Ideally some changes would be done to improve indy-vdr to make it more resistant towards this sort of conditions
It would be nice if
aries_vcx_core/src/errors/mapping_indyvdr.rs
propagated more error information. Currently, most indy-vdr errors are being mapped intoUnknown
vcx core errors, so we lose information. there is a TODO in this file which notes this, however I'm creating a github issue for it as a reminder.I came across this when attempting to wrap the
IndyVdrLedgeRead
impl with some additional "retry X times on pool timeout errors" logic, since i was encountering some flakey ledger issues that a simple retry would fix.But there is no ideal way of identifying a pool timeout error, since error details are hidden behind
UnknownError
. IMO we should at least propagate pool timeout errors as a new vcx-core error type.The text was updated successfully, but these errors were encountered: