{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2329","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2329/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2329/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2329/events","html_url":"https://github.com/home-assistant/home-assistant/issues/2329","id":161060306,"number":2329,"title":"HTTP stack stops responding for new requests after opening an MJPEG camera view","user":{"login":"michaelarnauts","id":1193779,"avatar_url":"https://avatars.githubusercontent.com/u/1193779?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelarnauts","html_url":"https://github.com/michaelarnauts","followers_url":"https://api.github.com/users/michaelarnauts/followers","following_url":"https://api.github.com/users/michaelarnauts/following{/other_user}","gists_url":"https://api.github.com/users/michaelarnauts/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelarnauts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelarnauts/subscriptions","organizations_url":"https://api.github.com/users/michaelarnauts/orgs","repos_url":"https://api.github.com/users/michaelarnauts/repos","events_url":"https://api.github.com/users/michaelarnauts/events{/privacy}","received_events_url":"https://api.github.com/users/michaelarnauts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-19T07:14:05Z","updated_at":"2016-06-29T13:39:53Z","closed_at":null,"body":"The same issue as #2260 still occurs in the latest home-assistant 0.22 forcing me to go back to 0.20.0, the last version that worked correctly.\r\n\r\n**Home Assistant release (`hass --version`):**\r\n0.22.0\r\n\r\n**Python release (`python3 --version`):**\r\n3.4.4\r\n\r\n**Component/platform:**\r\nWSGI-server probably\r\n\r\n**Description of problem:**\r\nAfter opening a camera stream (I only have MJPEG streams) and closing the dialog. The webserver isn't responding to new requests. If I close the tab and wait a bit, it gets responsive again, but as long as I leave my tab open, it doesn't respond. I do see backgrounds stuff happening in the log during the \"lockout\".\r\n\r\n**Traceback (if applicable):**\r\n```bash\r\nhome-assistant_1  | 16-06-19 09:08:49 INFO (WSGI-server) [homeassistant.components.http] Traceback (most recent call last):\r\nhome-assistant_1  |   File \"/usr/local/lib/python3.4/site-packages/eventlet/wsgi.py\", line 506, in handle_one_response\r\nhome-assistant_1  |     write(b''.join(towrite))\r\nhome-assistant_1  |   File \"/usr/local/lib/python3.4/site-packages/eventlet/wsgi.py\", line 453, in write\r\nhome-assistant_1  |     wfile.flush()\r\nhome-assistant_1  |   File \"/usr/local/lib/python3.4/socket.py\", line 398, in write\r\nhome-assistant_1  |     return self._sock.send(b)\r\nhome-assistant_1  |   File \"/usr/local/lib/python3.4/site-packages/eventlet/greenio/base.py\", line 379, in send\r\nhome-assistant_1  |     return self._send_loop(self.fd.send, data, flags)\r\nhome-assistant_1  |   File \"/usr/local/lib/python3.4/site-packages/eventlet/greenio/base.py\", line 366, in _send_loop\r\nhome-assistant_1  |     return send_method(data, *args)\r\nhome-assistant_1  | BrokenPipeError: [Errno 32] Broken pipe\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/229358491","html_url":"https://github.com/home-assistant/home-assistant/issues/2329#issuecomment-229358491","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/2329","id":229358491,"user":{"login":"ryanborstelmann","id":5846854,"avatar_url":"https://avatars.githubusercontent.com/u/5846854?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanborstelmann","html_url":"https://github.com/ryanborstelmann","followers_url":"https://api.github.com/users/ryanborstelmann/followers","following_url":"https://api.github.com/users/ryanborstelmann/following{/other_user}","gists_url":"https://api.github.com/users/ryanborstelmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanborstelmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanborstelmann/subscriptions","organizations_url":"https://api.github.com/users/ryanborstelmann/orgs","repos_url":"https://api.github.com/users/ryanborstelmann/repos","events_url":"https://api.github.com/users/ryanborstelmann/events{/privacy}","received_events_url":"https://api.github.com/users/ryanborstelmann/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T13:39:53Z","updated_at":"2016-06-29T13:39:53Z","body":"+1 for me using a generic MJPEG camera component on hass 0.22.1, python v3.4.2 on the AiO installer on a Pi3:\r\n\r\nYAML:\r\n```\r\ncamera 1:\r\n  platform: generic\r\n  still_image_url: http://10.0.1.81:8080/shot.jpg\r\n  name: \"IP Camera 1\"\r\n  username: <user>\r\n  password: <pass>\r\n```\r\n\r\n```\r\n16-06-28 22:43:58 homeassistant.components.http: Traceback (most recent call last):\r\n  File \"/srv/hass/hass_venv/lib/python3.4/site-packages/eventlet/wsgi.py\", line 506, in handle_one_response\r\n    write(b''.join(towrite))\r\n  File \"/srv/hass/hass_venv/lib/python3.4/site-packages/eventlet/wsgi.py\", line 453, in write\r\n    wfile.flush()\r\n  File \"/usr/lib/python3.4/socket.py\", line 391, in write\r\n    return self._sock.send(b)\r\n  File \"/srv/hass/hass_venv/lib/python3.4/site-packages/eventlet/greenio/base.py\", line 379, in send\r\n    return self._send_loop(self.fd.send, data, flags)\r\n  File \"/srv/hass/hass_venv/lib/python3.4/site-packages/eventlet/greenio/base.py\", line 366, in _send_loop\r\n    return send_method(data, *args)\r\nBrokenPipeError: [Errno 32] Broken pipe\r\n```"}}
{"actor":{"display_login":"ryanborstelmann"}}