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

HTTP 500 when fetching pull requests #8

Open
lourot opened this issue Sep 20, 2018 · 1 comment
Open

HTTP 500 when fetching pull requests #8

lourot opened this issue Sep 20, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@lourot
Copy link
Member

lourot commented Sep 20, 2018

Now consistently hitting

✔ Fetched NixOS/nixpkgs's contributors
⠙ Fetching NixOS/nixpkgs's pull requests...Error while fetching https://api.github.com/repos/NixOS/nixpkgs/pulls?state=all&page=1&per_page=$
00
API rate limit state:
{ core: { limit: 5000, remaining: 4996, reset: 1537441414 },
  search: { limit: 30, remaining: 30, reset: 1537437875 },
  graphql: { limit: 5000, remaining: 5000, reset: 1537441415 } }
Promise {
  <rejected> Body {
    url:
     'https://********:********@api.github.com/repos/NixOS/nixpkgs/pulls?state=all&page=1&per_page=10$&client_id=********&client_secret=********',
    status: 500,
    statusText: 'Internal Server Error',
    headers: Headers { _headers: [Object] },
    ok: false,
    body:
     PassThrough {
       _readableState: [ReadableState],
       readable: true,
       _events: [Object],
       _eventsCount: 1,
       _maxListeners: undefined,
       _writableState: [WritableState],
       writable: false,
       allowHalfOpen: true,
       _transformState: [Object] },
    bodyUsed: false,
    size: 0,
    timeout: 0,
    _raw: [],
    _abort: false } }

although our code retries a few times on 500.

@lourot lourot added the bug Something isn't working label Sep 20, 2018
@lourot lourot self-assigned this Sep 20, 2018
@lourot
Copy link
Member Author

lourot commented Sep 20, 2018

lourot added a commit that referenced this issue Sep 20, 2018
@lourot lourot removed their assignment Sep 20, 2018
wowawiwa pushed a commit to wowawiwa/db that referenced this issue Sep 26, 2018
lourot added a commit that referenced this issue Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant