-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
AIOHTTP ConnectionResetError On Camera Close after 3.3.0 #14919
Comments
aio-libs/aiohttp#2499 Add an exception using asyncio.CancelledError Current aiohttp_client swallowed asyncio.CancelledError, but not ConnectionResetError To resolve it in root, we should check if response is closing before write to it. |
OK, I can reproduce it by just use demo camera, now I can verify my fix. Here is the reproduced error log on demo camera. Click to demo camera card to open more-info window watch the stream, then close the window. Got following logs:
|
…losed by frontend
…losed by frontend
Thanks for looking into this. I'll try to find some time to test this fix tonight. |
* Revert "Fix #14919. Should throw exception when camera stream closed by frontend (#15028)" This reverts commit 508d045. * Revert "Fix pylintrc section order and option placements (#15120)" This reverts commit dbae410. * Revert "Add storage helper and migrate config entries (#15045)" This reverts commit ae51dc0. * Revert "Add language to dark sky weather component (#15130)" This reverts commit 672a3c7.
…losed by frontend (home-assistant#15028) * Fix home-assistant#14919. Should throw exception when camera stream closed by frontend * Re-trigger CI * pythonic re-raise
…5142) * Revert "Fix home-assistant#14919. Should throw exception when camera stream closed by frontend (home-assistant#15028)" This reverts commit 508d045. * Revert "Fix pylintrc section order and option placements (home-assistant#15120)" This reverts commit dbae410. * Revert "Add storage helper and migrate config entries (home-assistant#15045)" This reverts commit ae51dc0. * Revert "Add language to dark sky weather component (home-assistant#15130)" This reverts commit 672a3c7.
…losed by frontend (home-assistant#15028) * Fix home-assistant#14919. Should throw exception when camera stream closed by frontend * Re-trigger CI * pythonic re-raise
…5142) * Revert "Fix home-assistant#14919. Should throw exception when camera stream closed by frontend (home-assistant#15028)" This reverts commit 508d045. * Revert "Fix pylintrc section order and option placements (home-assistant#15120)" This reverts commit dbae410. * Revert "Add storage helper and migrate config entries (home-assistant#15045)" This reverts commit ae51dc0. * Revert "Add language to dark sky weather component (home-assistant#15130)" This reverts commit 672a3c7.
Home Assistant release with the issue:
Latest Dev Docker Build - 6/10/18
Last working Home Assistant release (if known):
Any build prior to bumping aiohttp to version 3.3.0.
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Component/platform:
Main mjpeg camera platform and proxy camera platform were tested.
Description of problem:
On closing a stream from the mjpeg camera platform the below error is generated in the log. Functionality is as intended however with no odd behavior. The proxy platform is a little more troublesome in that the same error gets generated constantly multiple times per second when it is active.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: