-
Notifications
You must be signed in to change notification settings - Fork 16
[$100] Failure when closing challenge #244
Comments
Contest https://www.topcoder-dev.com/challenges/30107810 has been created for this ticket. |
Contest https://www.topcoder-dev.com/challenges/30107811 has been created for this ticket. |
@jmgasper
But the URL is for the dev environment. So it might be we need to check the configuration for the production env. Maybe we have something missed. |
The issue is confirmed. A double process can lead to the error message.
Fixed by the pull request. But somehow I found that the issue can also occur related to error from API calls. |
@afrisalyp - Yeah, the config had the wrong URL. It hasn't been affecting anything other than the messages back to Github, and it should be fixed now. Is there any way to avoid a double-process of a payment? |
@jmgasper |
@afrisalyp - Here's some logs:
This is with the latest code - can we add some logging around that 500 error? |
Another one. I think this is eventually going to close though - but it's reporting a 500 that we need to capture and decide if we can ignore it or not:
|
@jmgasper But I think it doesn't apply in the prod. |
@afrisalyp - Aren't we using the v4 API in prod? We should be. |
@jmgasper I'm very familiar with the error so I'm pretty sure that the 500 error is from the API problem. |
@afrisalyp - Let's add some logging first so we know what the 500 error is and then we'll decide if we want to downgrade or not. |
@jmgasper Okay. |
@jmgasper it's done. |
Contest https://www.topcoder.com/challenges/30108186 has been created for this ticket. |
This ticket was not processed for payment. If you would like to process it for payment, please reopen it, add the |
This ticket was not processed for payment. If you would like to process it for payment, please reopen it, add the |
This ticket was not processed for payment. If you would like to process it for payment, please reopen it, add the |
Contest https://www.topcoder.com/challenges/30108186 has been updated - it has been assigned to afrisalyp. |
Payment task has been updated: https://software.topcoder-dev.com/review/actions/ViewProjectDetails?pid=30108186 |
@afrisalyp - I think we get a lot of failures when closing challenges with errors like this:
We've experienced that for awhile, and from what I can figure out, I think it happens when we end up trying to process the same ticket twice, at the same time. Can you double check if that could happen please? Maybe we can add a lock on the record in DynamoDB to indicate a record is being paid so we don't attempt to duplicate the payment?
The text was updated successfully, but these errors were encountered: