#1755 Fatal error displaying remote PR when remote server is down
Closed: Fixed 7 years ago Opened 7 years ago by mikem.

This is a remote PR for koji:
https://pagure.io/koji/pull-request/223

The remote git is: https://github.com/xning/koji.git

Github is currently down, but seems like pagure could say something more helpful than "Fatal Error (500)" when this happens.


FTR this was the stack-trace:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib/python2.7/site-packages/pagure/ui/fork.py", line 258, in request_pull
    request.remote_git, request.branch_from)
  File "/usr/lib/python2.7/site-packages/pagure/__init__.py", line 602, in get_remote_repo_path
    repo.pull(branch=branch_from, force=True)
  File "/usr/lib/python2.7/site-packages/pagure/lib/repo.py", line 53, in pull
    remote.fetch()
  File "/usr/lib64/python2.7/site-packages/pygit2/remote.py", line 238, in fetch
    check_error(err)
  File "/usr/lib64/python2.7/site-packages/pygit2/errors.py", line 56, in check_error
    raise GitError(message)
GitError: Unexpected HTTP status code: 504

@pingou changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata
Attachments 1