Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some users return 404 page on their reports #31

Open
russellbanks opened this issue Aug 6, 2022 · 1 comment
Open

Some users return 404 page on their reports #31

russellbanks opened this issue Aug 6, 2022 · 1 comment
Assignees
Labels
/api Issue is related to the RepoRank API bug Something isn't working
Milestone

Comments

@russellbanks
Copy link
Contributor

Bug Description

Some users return 404 when creating a report or just load indefinitely when calculating normally. I think this could be down to the users having a large history of activity on their account.

Reproducer

  1. Input a user with a large activity history.
  2. See 404.

Actual Result:

Returns 404.

Expected Result:

The result should be shown.

@jackdevey
Copy link
Owner

It seems this is caused by GitHub randomly returning 502 errors every now and then?

With some users sometimes it even works

RepoRank doesn't know how to handle this type of error so it just falls back to displaying 404, as for fixing in the short term, I'm not sure what to say, "Sorry GitHub is broke" doesn't seem right

As for the long term, I'll see what I can do to get around this error & report it

Because this happens with masses of activity I assume something doesn't work right with pulling all that data such as a timeout but this can't be the case as 408 isn't returned

@jackdevey jackdevey self-assigned this Nov 17, 2022
@jackdevey jackdevey moved this to Todo in Fix RepoRank Nov 17, 2022
@jackdevey jackdevey added bug Something isn't working /api Issue is related to the RepoRank API labels Nov 17, 2022
@jackdevey jackdevey added this to the Fix RepoRank milestone Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
/api Issue is related to the RepoRank API bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants