Skip to content

HTTP 500 when fetching pull requests #8

@lourot

Description

@lourot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions