Core: Axis stream not working anymore

Created on 19 Mar 2020  路  7Comments  路  Source: home-assistant/core

The problem

Since the update to 0.107.1, my Axis camera streams doesn't work anymore.
In the log I see the following:

Logger: libav.rtsp
Source: components/stream/worker.py:49
First occurred: 12:56:51 (3 occurrences)
Last logged: 12:56:51

method DESCRIBE failed: 401 Unauthorized

With the last release of 0.106 it was working fine. No configuration changes have been made.

Environment

  • Home Assistant release with the issue: 0.107.1
  • Last working Home Assistant release (if known): 0.106.x
  • Operating environment (Hass.io/Docker/Windows/etc.): hass.io
  • Integration causing this issue: Axis
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml


Traceback/Error logs


Additional information

axis

Most helpful comment

Well it helps having colleagues poking you in the side 馃お

All 7 comments

Hey there @kane610, mind taking a look at this issue as its been labeled with a integration (axis) you are listed as a codeowner for? Thanks!

I found the same thing in 107.1
It add a ' in the end of username:

home-assistant.log:2020-03-19 15:22:43 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsp://root麓:[email protected]/axis-media/media.amp?videocodec=h264

Thanks for reporting. The Issue was an unfortunate character added to the stream url. Fixed, hoping to get it in with 0.107.2.

Thanks for reporting. The Issue was an unfortunate character added to the stream url. Fixed, hoping to get it in with 0.107.2.

Whoa, thank you so much for the very fast support (and the great work)!

Well it helps having colleagues poking you in the side 馃お

Well it helps having colleagues poking you in the side 馃お

One more thing you can maybe help me with 馃槂

It occurs that I open the livestream of my camera on too many devices (1 for recording, axis ios app, ha dashboard, ...). When this happens, it blocks the livestream and it says "too many viewers". This is because there are too many livestream opened with different stream profiles.

I contacted Axis and this could be solved by using one stream profile for multiple devices.
With this Axis integration in HA, is it possible to choose a stream profile to use?

I can definitely add that as an configurable option. Could you please create an issue on my axis library github? Else I might forget it

Was this page helpful?
0 / 5 - 0 ratings