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

Fix: aiohttp assert exception on connection lost #406

Conversation

odesenfans
Copy link
Contributor

Problem: a bug in aiohttp causes an assertion error to appear in the logs whenever an HTTP connection is lost.

Solution: there is no mainline fix in aiohttp. It is not trivial to install a forked version of aiohttp, so the simplest solution for now is to apply the aiohttp patch directly.

Bumped aiohttp to 3.8.4 at the same time.

Problem: a bug in aiohttp causes an assertion error to appear in
the logs whenever an HTTP connection is lost.

Solution: there is no mainline fix in aiohttp. It is not trivial
to install a forked version of aiohttp, so the simplest solution
for now is to apply the aiohttp patch directly.

Bumped aiohttp to 3.8.4 at the same time.
@odesenfans odesenfans merged commit 54b3f23 into aleph-im:dev-postgres-rebased Apr 24, 2023
@odesenfans odesenfans deleted the od-fix-aiohttp-assert-transport-not-none branch April 24, 2023 13:26
odesenfans added a commit that referenced this pull request Apr 24, 2023
Problem: a bug in aiohttp causes an assertion error to appear in
the logs whenever an HTTP connection is lost.

Solution: there is no mainline fix in aiohttp. It is not trivial
to install a forked version of aiohttp, so the simplest solution
for now is to apply the aiohttp patch directly.

Bumped aiohttp to 3.8.4 at the same time.
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

Successfully merging this pull request may close these issues.

Problem: aiohttp server randomly crashes (assert transport is not None)
1 participant