Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Retry not working on challenge creation #93

Closed
jmgasper opened this issue Sep 25, 2018 · 1 comment
Closed

Retry not working on challenge creation #93

jmgasper opened this issue Sep 25, 2018 · 1 comment

Comments

@jmgasper
Copy link
Collaborator

The challenge API call to create a challenge fails quite regularly, and what we are seeing is that the retries don't seem to be working either, leading to a loop over and over again.

We need to investigate why the retries are failing:

100 redirect option in contentful - urgent issue 1544 topcoder-platform_community-app 2018-09-25 21-41-59

@jmgasper
Copy link
Collaborator Author

Additional details added:

so I’m looking at a retry failure and this line: https://github.com/topcoder-platform/topcoder-x-processor/blob/develop/services/IssueService.js#L120
seems to be popping out the error

if (dbIssue && dbIssue.status === 'challenge_creation_pending')
when we call ensureChallengeExists()

lazybaer [1:56 AM]
this seems bad https://github.com/topcoder-platform/topcoder-x-processor/blob/develop/services/IssueService.js#L71
setTimeout can be funky sometimes…

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant