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

[Pagure] ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) #464

Closed
sentry-io bot opened this issue Sep 16, 2020 · 5 comments
Labels
pagure Related to Pagure implementation.

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 16, 2020

Sentry Issue: RED-HAT-0P-2PA

RemoteDisconnected: Remote end closed connection without response
(2 additional frame(s) were not displayed)
...
  File "<string>", line 3, in raise_from
    # Permission is hereby granted, free of charge, to any person obtaining a copy
  File "urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "http/client.py", line 1369, in getresponse
    response.begin()
  File "http/client.py", line 310, in begin
    version, status, reason = self._read_status()
  File "http/client.py", line 279, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"

ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
(6 additional frame(s) were not displayed)
...
  File "<string>", line 3, in raise_from
    # Permission is hereby granted, free of charge, to any person obtaining a copy
  File "urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "http/client.py", line 1369, in getresponse
    response.begin()
  File "http/client.py", line 310, in begin
    version, status, reason = self._read_status()
  File "http/client.py", line 279, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"

ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
  File "ogr/services/pagure/service.py", line 168, in call_api_raw
    method=method, url=url, params=params, data=data
  File "ogr/services/pagure/service.py", line 186, in get_raw_request
    verify=not self.insecure,
  File "requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)

PagureAPIException: ("Cannot connect to url: 'https://git.stg.centos.org/api/0/source-git/acl/c/48d4feb54ebcb47cb593ab3c304ec36b755e8769/flag'.", ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))))
(11 additional frame(s) were not displayed)
...
  File "ogr/services/pagure/project.py", line 464, in set_commit_status
    uid=uid,
  File "ogr/services/pagure/flag.py", line 88, in set
    "c", commit, "flag", method="POST", data=data
  File "ogr/services/pagure/project.py", line 129, in _call_project_api
    url=request_url, method=method, params=params, data=data
  File "ogr/services/pagure/service.py", line 128, in call_api
    response = self.call_api_raw(url=url, method=method, params=params, data=data)
  File "ogr/services/pagure/service.py", line 173, in call_api_raw
    raise PagureAPIException(f"Cannot connect to url: '{url}'.", er)
@lachmanfrantisek lachmanfrantisek added the pagure Related to Pagure implementation. label Sep 16, 2020
@lachmanfrantisek
Copy link
Member

lachmanfrantisek commented Sep 16, 2020

Would some retry mechanism solve this?

@stale
Copy link

stale bot commented Nov 15, 2020

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Nov 15, 2020
@lachmanfrantisek
Copy link
Member

We still need the retry mechanism, relevant to packit/packit-service#830

@stale stale bot removed the stale Is the issue still valid? label Nov 19, 2020
@stale
Copy link

stale bot commented Jan 18, 2021

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Jan 18, 2021
@lachmanfrantisek lachmanfrantisek removed the stale Is the issue still valid? label Jan 18, 2021
@mfocko
Copy link
Member

mfocko commented Feb 12, 2021

resolved by #514

@mfocko mfocko closed this as completed Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pagure Related to Pagure implementation.
Projects
None yet
Development

No branches or pull requests

2 participants