[CLOSED] AXis Integration: fails to configure with "Invalid Authentication"

Hello,

The Axis integration has discovered successfully an Axis 241Q Video Server.
The AXis integration fails to configure with “Invalid Authentication” when setting up a Camera linked to Axis 241Q Videoserver
A user is created in the Axis 241Q videoserver
Camera liveview is working fine from a web brower

Core version : 2021-11-5
HA supervised Debian 11


2021-12-03 17:45:43 ERROR (MainThread) [homeassistant.components.axis] Unknown Axis communication error occurred
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/axis/vapix.py", line 268, in request
    response.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/httpx/_models.py", line 1423, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: 404 Client Error: Not Found for url: http://192.168.1.85/axis-cgi/param.cgi?action=list&group=root.Properties
For more information check: https://httpstatuses.com/404
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/axis/device.py", line 284, in get_device
    await device.vapix.initialize()
  File "/usr/local/lib/python3.9/site-packages/axis/vapix.py", line 114, in initialize
    await self.initialize_param_cgi(preload_data=False)
  File "/usr/local/lib/python3.9/site-packages/axis/vapix.py", line 177, in initialize_param_cgi
    await asyncio.gather(*tasks)
  File "/usr/local/lib/python3.9/site-packages/axis/param_cgi.py", line 263, in update_properties
    await self.update(PROPERTIES)
  File "/usr/local/lib/python3.9/site-packages/axis/param_cgi.py", line 48, in update
    raw = await self._request("get", path)
  File "/usr/local/lib/python3.9/site-packages/axis/vapix.py", line 289, in request
    raise_error(response.status_code)
  File "/usr/local/lib/python3.9/site-packages/axis/errors.py", line 45, in raise_error
    raise cls("{}".format(type))
axis.errors.PathNotFound: 404

There is an existing issue from @DPF about this … Can not connect to my axis 215 PTZ

@DPF : Is your problem closed and how ?

For Axis users , is it a known issue ?

Thank you

Unfortunately devices running firmware prior to 5.50 are typically not supported today. The API differs a bit and no development have been done to try to support those.

@rRobban ,

The Firmware version of my Axis 241Q Video server is " 4.47.2" .
This is the last firmware version available from Axis Support so … hopeless
Thank you for the clarification.

1 Like