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
{{ message }}
Repository navigation
[Monitor] Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete. #22609
Describe the bug in the current situation
In some cases, like while trying to complete any boot strap filing when the users make a payment the legal API returns the response as Status Pending, whereas the PayAPI returns the response as completed thereby leaving the user in an intermittent state.
changed the title [-]Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete.[/-][+][Monitor] Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete.[/+]on Aug 1, 2024
It sounds like the original payment was "slow" to flow through the queues, such that Filings UI displayed a "pay incomplete" message. When Riyaz clicked to retry payment, Pay said it was already paid. When Riyaz continued to the filing (returned to Filings UI), the latest state was available and the filing displayed as paid.
@Mihai-QuickSilverDev reports this problem in seen in Prod. User calls to BC Registries and complains that they have a proof from the bank account the payment has been processed. The message to the user in misleading. For now the workaround is to periodically restart the queue.
The assumption in the issue is with queues processing, being stuck, etc. Migrating to GCP might help to alleviate the problem.
He says that, sometimes, a filing gets stuck because there's something wrong with the filing (like invalid share structure) that breaks the Filer, and the filing just keeps getting re-processed and fails each time. In this case, someone needs to get into the weeds to fix the filing and have it processed successfully.
Notably, restarting the queues will not fix this scenario. (But I don't know if that's the scenario reporting by Riyaz, above.)
Activity
severinbeauvais commentedon Aug 1, 2024
deleted obsolete comment
[-]Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete.[/-][+][Monitor] Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete.[/+]severinbeauvais commentedon Aug 1, 2024
It sounds like the original payment was "slow" to flow through the queues, such that Filings UI displayed a "pay incomplete" message. When Riyaz clicked to retry payment, Pay said it was already paid. When Riyaz continued to the filing (returned to Filings UI), the latest state was available and the filing displayed as paid.
OlgaPotiagalova commentedon Jan 27, 2025
@Mihai-QuickSilverDev reports this problem in seen in Prod. User calls to BC Registries and complains that they have a proof from the bank account the payment has been processed. The message to the user in misleading. For now the workaround is to periodically restart the queue.
The assumption in the issue is with queues processing, being stuck, etc. Migrating to GCP might help to alleviate the problem.
OlgaPotiagalova commentedon Jan 27, 2025
About 2 tickets per week are raised as a result
severinbeauvais commentedon Jan 27, 2025
I chatted with Argus about this.
He says that, sometimes, a filing gets stuck because there's something wrong with the filing (like invalid share structure) that breaks the Filer, and the filing just keeps getting re-processed and fails each time. In this case, someone needs to get into the weeds to fix the filing and have it processed successfully.
Notably, restarting the queues will not fix this scenario. (But I don't know if that's the scenario reporting by Riyaz, above.)
severinbeauvais commentedon Feb 25, 2025
Proposed way forward:
Mihai-QuickSilverDev commentedon Feb 26, 2025
vikas-gov commentedon Mar 7, 2025
Need to monitor and find ways to identify root cause based on available logging
-- try using 3g network to replicate
JazzarKarim commentedon May 8, 2025
We did not see this lately, so we'll be closing this ticket for now.