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

[TODO] Figure out the upstream issue causing ClientPayloadError: Response payload is not completed #59

Open
webknjaz opened this issue Nov 29, 2023 · 4 comments

Comments

@webknjaz
Copy link
Member

webknjaz commented Nov 29, 2023

The currently deployed bots have been experiencing this problem for PATCH and GET requests:

It's been happening since Oct 31 with various levels of intensity. Chronographer only experienced this 3 times all within a 32-second interval, on Nov 16. Patchback has 1-2 errors like this per day.
The bots moved from OpenShift 3 to a new OpenShift 4-based environment on Oct 16, so there is a chance that the CPython runtime environment got updated as well. The python-level deps are pinned via pip-tools. Both have aiohttp==3.6.2, multidict==4.7.6, and yarl==1.5.1. But it's hard to know if the CPython version has changed since I don't have logs and the old OpenShift instance is no longer available. Sentry reports suggest that both bots are running under CPython 3.9.13. The pre-OpenShift configs that used to be used in Heroku have CPython 3.8.6 in them, so maybe old OpenShift was running that.

Also, there are no Sentry reports that would suggest the same problem happening within the old OpenShift (the history goes 90 days back). This probably means that the Fedora container was different and maybe, the CPython version was too.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@webknjaz
Copy link
Member Author

@felixfontein I saw you pinged me somewhere on Matrix, but I lost the notification/room so mentioning you here.

This is essentially what's been happening to Patchback lately.

@webknjaz
Copy link
Member Author

This https://stackoverflow.com/a/70172596/595220 suggests that the problem might only manifest itself if Python is higher, than 3.8.

@webknjaz
Copy link
Member Author

Though, the upstream bug that also shows gidgethub+aiohttp claims that it's present on Python 3.8 too: aio-libs/aiohttp#4581.

@webknjaz
Copy link
Member Author

UPD: with sanitizers/patchback-github-app#41 (comment), we should be getting more details soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant