Closed robitsrl closed 1 year ago
Hey there @kane610, mind taking a look at this issue as it has been labeled with an integration (axis
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
axis documentation axis source (message by IssueLinks)
please edit your initial post and put the log messages you see in the "Anything in the logs that might be useful for us?" section
I have uodated the original post adding logs
When does this happen? Are there specific circumstances?
I just integrated the camera as other axis camera and with this model i have those log entry the model is AXIS P3215-VE
I just integrated the camera as other axis camera and with this model i have those log entry the model is AXIS P3215-VE
Could you enable debug logs for the axis integration (instructions in integration documentation ) and share those?
{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.2.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "Europe/Rome", "os_name": "Linux", "os_version": "5.15.90", "supervisor": "2023.01.1", "host_os": "Home Assistant OS 9.5", "docker_version": "20.10.22", "chassis": "vm", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.31.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "nuki_ng": { "version": "0.2.1", "requirements": [] }, "smartir": { "version": "1.17.6", "requirements": [ "aiofiles==0.6.0" ] } }, "integration_manifest": { "domain": "axis", "name": "Axis", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/axis", "requirements": [ "axis==46" ], "dhcp": [ { "registered_devices": true }, { "hostname": "axis-00408c", "macaddress": "00408C" }, { "hostname": "axis-accc8e", "macaddress": "ACCC8E" }, { "hostname": "axis-b8a44f", "macaddress": "B8A44F" } ], "ssdp": [ { "manufacturer": "AXIS" } ], "zeroconf": [ { "type": "_axis-video._tcp.local.", "properties": { "macaddress": "00408c" } }, { "type": "_axis-video._tcp.local.", "properties": { "macaddress": "accc8e" } }, { "type": "_axis-video._tcp.local.", "properties": { "macaddress": "b8a44f*" } } ], "after_dependencies": [ "mqtt" ], "codeowners": [ "@Kane610" ], "quality_scale": "platinum", "iot_class": "local_push", "integration_type": "device", "loggers": [ "axis" ], "is_built_in": true }, "data": { "config": { "entry_id": "4e1a7bd1704003e3c8c79f97003817ba", "version": 3, "domain": "axis", "title": "P3215-VE - ACCC8E0CBC76", "data": { "host": "192.168.103.204", "port": 80, "username": "REDACTED", "password": "REDACTED", "model": "P3215-VE", "name": "P3215-VE 0" }, "options": { "stream_profile": "Quality", "video_source": 1 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "REDACTED", "disabled_by": null }, "api_discovery": [], "params": { "root.Brand": { "Brand": "AXIS", "ProdFullName": "AXIS P3215-VE Network Camera", "ProdNbr": "P3215-VE", "ProdShortName": "AXIS P3215-VE", "ProdType": "Network Camera", "ProdVariant": "", "WebURL": "http://www.axis.com/" }, "root.PTZ": { "BoaProtPTZOperator": "password", "CameraDefault": "1", "NbrOfCameras": "2", "NbrOfSerPorts": "0", "CamPorts.Cam1Port": "1", "CamPorts.Cam2Port": "2", "ImageSource.I0.PTZEnabled": "true", "Limit.L1.MaxFieldAngle": "100", "Limit.L1.MaxPan": "165", "Limit.L1.MaxTilt": "165", "Limit.L1.MaxZoom": "9999", "Limit.L1.MinFieldAngle": "1", "Limit.L1.MinPan": "-165", "Limit.L1.MinTilt": "-165", "Limit.L1.MinZoom": "1", "Limit.L2.MaxFieldAngle": "100", "Limit.L2.MaxPan": "165", "Limit.L2.MaxTilt": "165", "Limit.L2.MaxZoom": "9999", "Limit.L2.MinFieldAngle": "1", "Limit.L2.MinPan": "-165", "Limit.L2.MinTilt": "-165", "Limit.L2.MinZoom": "1", "Preset.P0.HomePosition": "1", "Preset.P0.ImageSource": "0", "Preset.P0.Name": "", "Preset.P0.Position.P1.Data": "tilt=0.000000:pan=0.000000:zoom=1.000000", "Preset.P0.Position.P1.Name": "Home", "Preset.P1.HomePosition": "1", "Preset.P1.ImageSource": "1", "Preset.P1.Name": "", "Preset.P1.Position.P1.Data": "tilt=39.000000:pan=27.000000:zoom=7091.000000", "Preset.P1.Position.P1.Name": "Home", "PTZDriverStatuses.Driver1Status": "3", "PTZDriverStatuses.Driver2Status": "3", "Support.S1.AbsoluteBrightness": "false", "Support.S1.AbsoluteFocus": "false", "Support.S1.AbsoluteIris": "false", "Support.S1.AbsolutePan": "true", "Support.S1.AbsoluteTilt": "true", "Support.S1.AbsoluteZoom": "true", "Support.S1.ActionNotification": "true", "Support.S1.AreaZoom": "true", "Support.S1.AutoFocus": "false", "Support.S1.AutoIrCutFilter": "false", "Support.S1.AutoIris": "false", "Support.S1.Auxiliary": "false", "Support.S1.BackLight": "false", "Support.S1.ContinuousBrightness": "false", "Support.S1.ContinuousFocus": "false", "Support.S1.ContinuousIris": "false", "Support.S1.ContinuousPan": "true", "Support.S1.ContinuousTilt": "true", "Support.S1.ContinuousZoom": "true", "Support.S1.DevicePreset": "false", "Support.S1.DigitalZoom": "false", "Support.S1.GenericHTTP": "false", "Support.S1.IrCutFilter": "false", "Support.S1.JoyStickEmulation": "true", "Support.S1.LensOffset": "false", "Support.S1.OSDMenu": "false", "Support.S1.ProportionalSpeed": "true", "Support.S1.RelativeBrightness": "false", "Support.S1.RelativeFocus": "false", "Support.S1.RelativeIris": "false", "Support.S1.RelativePan": "true", "Support.S1.RelativeTilt": "true", "Support.S1.RelativeZoom": "true", "Support.S1.ServerPreset": "true", "Support.S1.SpeedCtl": "true", "Support.S2.AbsoluteBrightness": "false", "Support.S2.AbsoluteFocus": "false", "Support.S2.AbsoluteIris": "false", "Support.S2.AbsolutePan": "true", "Support.S2.AbsoluteTilt": "true", "Support.S2.AbsoluteZoom": "true", "Support.S2.ActionNotification": "true", "Support.S2.AreaZoom": "true", "Support.S2.AutoFocus": "false", "Support.S2.AutoIrCutFilter": "false", "Support.S2.AutoIris": "false", "Support.S2.Auxiliary": "false", "Support.S2.BackLight": "false", "Support.S2.ContinuousBrightness": "false", "Support.S2.ContinuousFocus": "false", "Support.S2.ContinuousIris": "false", "Support.S2.ContinuousPan": "true", "Support.S2.ContinuousTilt": "true", "Support.S2.ContinuousZoom": "true", "Support.S2.DevicePreset": "false", "Support.S2.DigitalZoom": "false", "Support.S2.GenericHTTP": "false", "Support.S2.IrCutFilter": "false", "Support.S2.JoyStickEmulation": "true", "Support.S2.LensOffset": "false", "Support.S2.OSDMenu": "false", "Support.S2.ProportionalSpeed": "true", "Support.S2.RelativeBrightness": "false", "Support.S2.RelativeFocus": "false", "Support.S2.RelativeIris": "false", "Support.S2.RelativePan": "true", "Support.S2.RelativeTilt": "true", "Support.S2.RelativeZoom": "true", "Support.S2.ServerPreset": "true", "Support.S2.SpeedCtl": "true", "UserAdv.U1.MoveSpeed": "100", "UserAdv.U2.MoveSpeed": "100", "UserCtlQueue.U0.Priority": "10", "UserCtlQueue.U0.TimeoutTime": "60", "UserCtlQueue.U0.TimeoutType": "activity", "UserCtlQueue.U0.UseCookie": "yes", "UserCtlQueue.U0.UserGroup": "Administrator", "UserCtlQueue.U1.Priority": "30", "UserCtlQueue.U1.TimeoutTime": "60", "UserCtlQueue.U1.TimeoutType": "activity", "UserCtlQueue.U1.UseCookie": "yes", "UserCtlQueue.U1.UserGroup": "Operator", "UserCtlQueue.U2.Priority": "50", "UserCtlQueue.U2.TimeoutTime": "60", "UserCtlQueue.U2.TimeoutType": "timespan", "UserCtlQueue.U2.UseCookie": "yes", "UserCtlQueue.U2.UserGroup": "Viewer", "UserCtlQueue.U3.Priority": "20", "UserCtlQueue.U3.TimeoutTime": "20", "UserCtlQueue.U3.TimeoutType": "activity", "UserCtlQueue.U3.UseCookie": "no", "UserCtlQueue.U3.UserGroup": "Event", "UserCtlQueue.U4.Priority": "40", "UserCtlQueue.U4.TimeoutTime": "60", "UserCtlQueue.U4.TimeoutType": "infinity", "UserCtlQueue.U4.UseCookie": "no", "UserCtlQueue.U4.UserGroup": "Guardtour", "UserCtlQueue.U5.Priority": "35", "UserCtlQueue.U5.TimeoutTime": "60", "UserCtlQueue.U5.TimeoutType": "infinity", "UserCtlQueue.U5.UseCookie": "no", "UserCtlQueue.U5.UserGroup": "Autotracking", "UserCtlQueue.U6.Priority": "0", "UserCtlQueue.U6.TimeoutTime": "60", "UserCtlQueue.U6.TimeoutType": "infinity", "UserCtlQueue.U6.UseCookie": "no", "UserCtlQueue.U6.UserGroup": "Onvif", "Various.V1.CtlQueueing": "false", "Various.V1.CtlQueueLimit": "20", "Various.V1.CtlQueuePollTime": "20", "Various.V1.HomePresetSet": "true", "Various.V1.Locked": "true", "Various.V1.MaxProportionalSpeed": "200", "Various.V1.PanEnabled": "true", "Various.V1.ProportionalSpeedEnabled": "true", "Various.V1.ReturnToOverview": "30", "Various.V1.SpeedCtlEnabled": "true", "Various.V1.TiltEnabled": "true", "Various.V1.ZoomEnabled": "true", "Various.V2.CtlQueueing": "false", "Various.V2.CtlQueueLimit": "20", "Various.V2.CtlQueuePollTime": "20", "Various.V2.HomePresetSet": "true", "Various.V2.Locked": "true", "Various.V2.MaxProportionalSpeed": "200", "Various.V2.PanEnabled": "true", "Various.V2.ProportionalSpeedEnabled": "true", "Various.V2.ReturnToOverview": "30", "Various.V2.SpeedCtlEnabled": "true", "Various.V2.TiltEnabled": "true", "Various.V2.ZoomEnabled": "true" }, "root.Properties": { "AlwaysMulticast.AlwaysMulticast": "yes", "API.HTTP.AdminPath": "/operator/basic.shtml", "API.HTTP.Version": "3", "API.Metadata.Metadata": "yes", "API.Metadata.Version": "1.0", "API.RTSP.RTSPAuth": "yes", "API.RTSP.Version": "2.01", "API.WebService.EntryService": "yes", "API.WebService.WebService": "yes", "API.WebService.ONVIF.ONVIF": "yes", "API.WebService.ONVIF.Version": "1.02", "EmbeddedDevelopment.CacheSize": "51380224", "EmbeddedDevelopment.DefaultCacheSize": "67108864", "EmbeddedDevelopment.EmbeddedDevelopment": "yes", "EmbeddedDevelopment.Version": "2.10", "EmbeddedDevelopment.RuleEngine.MultiConfiguration": "yes", "Firmware.BuildDate": "May 27 2015 11:39", "Firmware.BuildNumber": "22", "Firmware.Version": "5.80.1", "GuardTour.GuardTour": "yes", "GuardTour.RecordedTour": "no", "HTTPS.HTTPS": "yes", "Image.Format": "jpeg,mjpeg,h264,bitmap", "Image.NbrOfViews": "2", "Image.Resolution": "1280x960,1024x768,800x600,640x480,480x360,320x240,240x180,160x120,1920x1080,1280x720,800x450,640x360,480x270,320x180,160x90,1280x800,160x100,176x144", "Image.Rotation": "0,90,180,270", "Image.H264.Profiles": "Baseline,Main", "ImageSource.DayNight": "yes", "ImageSource.DCIris": "yes", "ImageSource.IrisManager": "no", "ImageSource.PositionableIris": "yes", "ImageSource.OpticsSetup.Calibration": "yes", "ImageSource.OpticsSetup.DayNightSwitch": "no", "ImageSource.OpticsSetup.Focus": "yes", "ImageSource.OpticsSetup.Zoom": "yes", "LEDControl.LEDControl": "yes", "LocalStorage.AutoRepair": "yes", "LocalStorage.ContinuousRecording": "yes", "LocalStorage.DiskEncryption": "yes", "LocalStorage.ExportRecording": "yes", "LocalStorage.FailOverRecording": "yes", "LocalStorage.LocalStorage": "yes", "LocalStorage.NbrOfContinuousRecordingProfiles": "1", "LocalStorage.RequiredFileSystem": "yes", "LocalStorage.SDCard": "yes", "LocalStorage.StorageLimit": "yes", "LocalStorage.Version": "1.00", "Motion.MaxNbrOfWindows": "10", "Motion.Motion": "yes", "NetworkShare.CIFS": "yes", "NetworkShare.NetworkShare": "yes", "PrivacyMask.MaxNbrOfPrivacyMasks": "20", "PrivacyMask.PrivacyMask": "no", "PTZ.DigitalPTZ": "yes", "PTZ.DriverManagement": "no", "PTZ.DriverModeList": "none", "PTZ.PTZ": "yes", "PTZ.SelectableDriverMode": "no", "RemoteService.RemoteService": "no", "RTC.RTC": "yes", "Serial.Serial": "no", "System.Architecture": "mips", "System.HardwareID": "1DE.1", "System.Language": "English", "System.LanguageType": "default", "System.SerialNumber": "REDACTED", "Tampering.Tampering": "yes", "TemperatureSensor.Fan": "no", "TemperatureSensor.Heater": "yes", "TemperatureSensor.TemperatureControl": "yes", "TemperatureSensor.TemperatureSensor": "yes", "VirtualInput.VirtualInput": "yes" }, "root.StreamProfile": { "MaxGroups": "20", "S0.Description": "Best image quality and full frame rate.", "S0.Name": "Quality", "S0.Parameters": "videocodec=h264&resolution=1920x1080&compression=20&fps=0&videokeyframeinterval=8&videobitrate=0&h264profile=main", "S0.Default.Description": "Best image quality and full frame rate.", "S0.Default.Name": "Quality", "S0.Default.Parameters": "videocodec=h264&resolution=1920x1080&compression=20&fps=0&videokeyframeinterval=8&videobitrate=0&h264profile=main", "S1.Description": "Medium image quality and frame rate.", "S1.Name": "Balanced", "S1.Parameters": "videocodec=h264&resolution=1920x1080&compression=30&fps=15&videokeyframeinterval=15&videobitrate=0&h264profile=main", "S1.Default.Description": "Medium image quality and frame rate.", "S1.Default.Name": "Balanced", "S1.Default.Parameters": "videocodec=h264&resolution=1920x1080&compression=30&fps=15&videokeyframeinterval=15&videobitrate=0&h264profile=main", "S2.Description": "Low bandwidth with medium image quality.", "S2.Name": "Bandwidth", "S2.Parameters": "videocodec=h264&resolution=1920x1080&compression=50&fps=15&videokeyframeinterval=32&videobitrate=250&videomaxbitrate=1000&videobitratepriority=framerate&h264profile=main", "S2.Default.Description": "Low bandwidth with medium image quality.", "S2.Default.Name": "Bandwidth", "S2.Default.Parameters": "videocodec=h264&resolution=1280x720&compression=50&fps=15&videokeyframeinterval=32&videobitrate=250&videomaxbitrate=1000&videobitratepriority=framerate&h264profile=main", "S3.Description": "Mobile device settings.", "S3.Name": "Mobile", "S3.Parameters": "videocodec=h264&resolution=160x90&compression=50&fps=15&videokeyframeinterval=32&videobitrate=120&videomaxbitrate=128&videobitratepriority=quality&audio=0&h264profile=baseline", "S3.Default.Description": "Mobile device settings.", "S3.Default.Name": "Mobile", "S3.Default.Parameters": "videocodec=h264&resolution=160x90&compression=50&fps=15&videokeyframeinterval=32&videobitrate=120&videomaxbitrate=128&videobitratepriority=quality&audio=0&h264profile=baseline" } } } }
That the diagnostics file. Not the logs
Ok but the log is not the one i posted in the begin ? Anyway now after restart I'm not having the first log posted but i found this one
Logger: axis.models.event Source: runner.py:128 First occurred: 13:07:34 (298 occurrences) Last logged: 13:08:08
Unsupported topic tns1:PTZController/tnsaxis:PTZPresets/Channel_1 Unsupported topic tns1:PTZController/tnsaxis:PTZReady Unsupported topic tns1:PTZController Unsupported topic tns1:Device/tnsaxis:IO/VirtualInput Unsupported topic tns1:Device/tnsaxis:IO
I found also log for timeout In my HA setup the axis camare are not in the same subnet but are in a remote location connected with ipsec vpn. There is a way to change the default timeout ?
Ok but the log is not the one i posted in the begin ? Anyway now after restart I'm not having the first log posted but i found this one
Logger: axis.models.event Source: runner.py:128 First occurred: 13:07:34 (298 occurrences) Last logged: 13:08:08
Unsupported topic tns1:PTZController/tnsaxis:PTZPresets/Channel_1 Unsupported topic tns1:PTZController/tnsaxis:PTZReady Unsupported topic tns1:PTZController Unsupported topic tns1:Device/tnsaxis:IO/VirtualInput Unsupported topic tns1:Device/tnsaxis:IO
I will probably change that log to info rather than warning. It's a work in progress
I found also log for timeout In my HA setup the axis camare are not in the same subnet but are in a remote location connected with ipsec vpn. There is a way to change the default timeout ?
What timeout?
I found this log also where there are some read timout
Logger: aiohttp.server Source: components/mjpeg/camera.py:160 First occurred: 13:11:52 (1 occurrences) Last logged: 13:11:52
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/local/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 451, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='192.168.103.203', port=80): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
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 100, 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 80, 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 145, 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 777, in handle return await camera.handle_async_still_stream(request, interval) File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 576, in handle_async_still_stream return await async_get_still_stream( File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 259, in async_get_still_stream img_bytes = await image_cb() File "/usr/src/homeassistant/homeassistant/components/mjpeg/camera.py", line 130, in async_camera_image image = await self.hass.async_add_executor_job(self.camera_image) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) File "/usr/src/homeassistant/homeassistant/components/mjpeg/camera.py", line 160, in camera_image req = requests.get( File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, send_kwargs) File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 708, in send r = dispatch_hook("response", hooks, r, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/hooks.py", line 30, in dispatch_hook _hook_data = hook(hook_data, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/auth.py", line 277, in handle_401 _r = r.connection.send(prep, **kwargs) File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 578, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.103.203', port=80): Read timed out. (read timeout=10)
sorry this log is not about timeout but something else i do not know
Logger: axis.models.event Source: runner.py:128 First occurred: 13:07:34 (4975 occurrences) Last logged: 13:23:00
Unsupported topic tns1:RuleEngine/tnsaxis:VideoMotionDetection Unsupported operation {} Unsupported topic tns1:RuleEngine/tnsaxis:VideoMotionDetection/timer Unsupported topic tns1:RuleEngine/tnsaxis:VMD3/timer Unsupported topic tns1:RuleEngine/tnsaxis:VMD3
that's it about timeout
Logger: axis.rtsp Source: runner.py:128 First occurred: 13:07:41 (12 occurrences) Last logged: 13:11:02
Response timed out 192.168.103.204 Response timed out 192.168.103.203
I found this log also where there are some read timout
Logger: aiohttp.server Source: components/mjpeg/camera.py:160 First occurred: 13:11:52 (1 occurrences) Last logged: 13:11:52
Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/local/lib/python3.10/http/client.py", line 1374, in getresponse response.begin() File "/usr/local/lib/python3.10/http/client.py", line 318, in begin version, status, reason = self._read_status() File "/usr/local/lib/python3.10/http/client.py", line 279, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/local/lib/python3.10/socket.py", line 705, in readinto return self._sock.recv_into(b) TimeoutError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/local/lib/python3.10/site-packages/urllib3/packages/six.py", line 770, in reraise raise value File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 451, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='192.168.103.203', port=80): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
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 100, 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 80, 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 145, 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 777, in handle return await camera.handle_async_still_stream(request, interval) File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 576, in handle_async_still_stream return await async_get_still_stream( File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 259, in async_get_still_stream img_bytes = await image_cb() File "/usr/src/homeassistant/homeassistant/components/mjpeg/camera.py", line 130, in async_camera_image image = await self.hass.async_add_executor_job(self.camera_image) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) File "/usr/src/homeassistant/homeassistant/components/mjpeg/camera.py", line 160, in camera_image req = requests.get( File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, send_kwargs) File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 708, in send r = dispatch_hook("response", hooks, r, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/hooks.py", line 30, in dispatch_hook _hook_data = hook(hook_data, kwargs) File "/usr/local/lib/python3.10/site-packages/requests/auth.py", line 277, in handle_401 _r = r.connection.send(prep, **kwargs) File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 578, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.103.203', port=80): Read timed out. (read timeout=10)
Sorry, that timeout is hardcoded.
Do you have more data, that part of the log is not enough, I need a reference to where in the code. But it might be for the same reason as the other one. Do you typically experience long response times on that camera over IPSec?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
Gi, I have integrated axis webcam but I have log error
What version of Home Assistant Core has the issue?
2023.2.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Axis
Link to integration documentation on our website
No response
Diagnostics information
config_entry-axis-4e1a7bd1704003e3c8c79f97003817ba.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.binary_sensor Source: helpers/entity_platform.py:540 Integration: Sensore binario (documentation, issues) First occurred: 24 febbraio 2023 alle ore 19:21:14 (38 occurrences) Last logged: 01:55:41
Platform axis does not generate unique IDs. ID ac:cc:8e:0c:bc:76-tns1:VideoAnalytics/tnsaxis:MotionDetection-1 already exists - ignoring binary_sensor.cam_diso_montessori_motion_1 Platform axis does not generate unique IDs. ID ac:cc:8e:0c:bc:76-tns1:VideoSource/tnsaxis:DayNightVision-1 already exists - ignoring binary_sensor.cam_diso_montessori_daynight_1 Platform axis does not generate unique IDs. ID ac:cc:8e:0c:bc:76-tns1:VideoAnalytics/tnsaxis:MotionDetection-0 already exists - ignoring binary_sensor.cam_diso_montessori_motion_0 Platform axis does not generate unique IDs. ID ac:cc:8e:0c:bc:a0-tns1:VideoAnalytics/tnsaxis:MotionDetection-0 already exists - ignoring binary_sensor.p3214_ve_0_motion_0 Platform axis does not generate unique IDs. ID ac:cc:8e:0c:bc:a0-tns1:VideoSource/tnsaxis:DayNightVision-1 already exists - ignoring binary_sensor.p3214_ve_0_daynight_1
Additional information
No response