magit/ghub

error in process filter: BUG: missing headers

Closed this issue · 4 comments

On a large projet that i have, (with 1758 pull requests), more then 40 open pull requests), when fetching page 14, i get:

error in process filter: ghub--handle-response-headers: BUG: missing headers
  See https://github.com/magit/ghub/issues/81.
  url: https://api.github.com/graphql
  headers: 0
  status: nil
  buffer: #<buffer  *http api.github.com:443*>

On a small project, all works fine.

Magit 2fb3bf7, Git 2.27.0, Emacs 27.1, gnu/linux

OS: Ubuntu 20.10

I also tried with (setq ghub-use-workaround-for-emacs-bug t) and didn't work.

On a large projet that i have

Can you share what project that is?

On a large projet that i have

Can you share what project that is?

Is a business project, is from the company that i work.

The info that that i can share is:

Now has 25 open pull requests
1733 closed pulll requests

EDIT:

I Tried another project with a lot of pull requests (https://github.com/hlissner/doom-emacs/pulls) and worked fine. On my company project, the error always happens on fetching page 15. How can i debug this ?

@tarsius for some unkown reason, today tried and worked. I don't changed nothing. You can close the issue if you want,

for some unkown reason, today tried and worked. I don't changed nothing. You can close the issue if you want,

My next suggestion was going to be "wait a day or two and try again". To problem is that very seldomly the url package somehow completely loses the response, probably because the server responded in some surprising but (we can only assume) valid way. Having no data beyond "it happened again" makes it very hard to debug this, but luckily it always gets fixed by waiting a day or two. 🙄