Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://192.168.7.125:443/cgi-bin/snapshot.cgi?channel=2')
- 2022-12-22 09:24:44.073 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
- resp = await request_handler(request)
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
- resp = await handler(request)
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 94, in forwarded_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
- result = await result
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 724, in get
- return await self.handle(request, camera)
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 742, in handle
- image = await _async_get_image(
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 170, in _async_get_image
- if image_bytes := await camera.async_camera_image(
- File "/config/custom_components/dahua/camera.py", line 233, in async_camera_image
- return await self._coordinator.client.async_get_snapshot(self._channel_number)
- File "/config/custom_components/dahua/client.py", line 74, in async_get_snapshot
- return await self.get_bytes(url)
- File "/config/custom_components/dahua/client.py", line 722, in get_bytes
- response.raise_for_status()
- File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
- raise ClientResponseError(
- aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://192.168.7.125:443/cgi-bin/snapshot.cgi?channel=2')
- 2022-12-22 09:24:44.234 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
- resp = await request_handler(request)
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
- resp = await handler(request)
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 94, in forwarded_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
- result = await result
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 724, in get
- return await self.handle(request, camera)
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 742, in handle
- image = await _async_get_image(
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 170, in _async_get_image
- if image_bytes := await camera.async_camera_image(
- File "/config/custom_components/dahua/camera.py", line 233, in async_camera_image
- return await self._coordinator.client.async_get_snapshot(self._channel_number)
- File "/config/custom_components/dahua/client.py", line 74, in async_get_snapshot
- return await self.get_bytes(url)
- File "/config/custom_components/dahua/client.py", line 722, in get_bytes
- response.raise_for_status()
- File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
- raise ClientResponseError(
- aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://192.168.7.125:443/cgi-bin/snapshot.cgi?channel=2')
- 2022-12-22 09:24:44.389 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
- resp = await request_handler(request)
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
- resp = await handler(request)
- File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 94, in forwarded_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
- result = await result
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 724, in get
- return await self.handle(request, camera)
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 742, in handle
- image = await _async_get_image(
- File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 170, in _async_get_image
- if image_bytes := await camera.async_camera_image(
- File "/config/custom_components/dahua/camera.py", line 233, in async_camera_image
- return await self._coordinator.client.async_get_snapshot(self._channel_number)
- File "/config/custom_components/dahua/client.py", line 74, in async_get_snapshot
- return await self.get_bytes(url)
- File "/config/custom_components/dahua/client.py", line 722, in get_bytes
- response.raise_for_status()
- File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
- raise ClientResponseError(
- aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://192.168.7.125:443/cgi-bin/snapshot.cgi?channel=2')
- 2022-12-22 09:24:54.053 ERROR (SyncWorker_10) [roombapy.remote_client] Can't connect to 192.168.7.222, error: [Errno 113] Host is unreachable
- 2022-12-22 09:24:56.577 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from http://192.168.7.125:80/cgi-bin/configManager.cgi?action=getConfig&name=MotionDetect
- 2022-12-22 09:24:56.788 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from http://192.168.7.125:80/cgi-bin/configManager.cgi?action=getConfig&name=DisableLinkage
- 2022-12-22 09:24:56.983 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from http://192.168.7.125:80/cgi-bin/configManager.cgi?action=getConfig&name=Lighting[1][0]
- 2022-12-22 09:24:56.985 DEBUG (MainThread) [custom_components.dahua] Finished fetching dahua data in 4.666 seconds (success: True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement