Skip to content

Failed to fetch deposits: 500 and Reveal not saved properly in the database, response: 500 after requesting deposit #874

@michalinacienciala

Description

@michalinacienciala

I encountered a strange behavior when trying to do a deposit from a Native address via LL on Mainnet. I entered the amount on the deposit form, pressed Deposit and got stuck with the spinning wheel on the form, no transaction was shown for signing. In the logs there were some errors related to reading and writing from/to D1. I suspect this issue is not related to LL and is more about the Cloudflare DB responsiveness...

Screen.Recording.2024-11-18.at.09.22.05.mov

image

The Failed to fetch deposits: 500 is something that we saw before in the past in the production Sentry logs, but were not sure of the cause. Both now and in the past the accounts which experienced the error did not have any deposits yet.

As for the Reveal not saved properly in the database, response: 500, the error suggest the reveal data was not saved, but on the db I see it was:

image

I see that the Failed to fetch deposits: 500 is listed in the prop-dapp-standalone Sentry errors.

As for Reveal not saved properly in the database, response: 500 I don't see it anywhere in Sentry. If the reveal indeed wasn't saved (which wasn't a case for me, but may be an issue in some other error occurrences), it would be good to have an error about it in Sentry and have the reveal data listed in the error, to be able to add that data manually (this is how it works in Mezo). Having the reveal data saved is crucial for funds processing/recovery in unlucky cases where the deposits data isn't saved correctly.


When I closed the pending deposit form and opened it again to try one more time, this time the deposit went smooth.


Let's see if we can get rid of the root cause of the issue, and if not, let's at least ensure we're capturing the reveal info in Sentry error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions