core: Axis-41 not working anymore since 0.117.0b0 / httpx
The problem
After Upgrading to 0.117.0b0 - 0.117.0b3 AXIS Cameras stopped working,
Cams are AXIS M1011, tried to remove and re-add Cams via ConfigFlow,
Config Flow says Failed to connect
Cam Image in Gui shows a broken Image.
Environment
| arch | x86_64 |
|---|---|
| dev | false |
| docker | false |
| hassio | false |
| installation_type | Unknown |
| os_name | Linux |
| os_version | 4.19.129-kernel-x86_64 |
| python_version | 3.8.6 |
| timezone | Europe/Berlin |
| version | 0.117.0b3 |
| virtualenv | false |
- Home Assistant Core release with the issue: 0.117.0b3
- Last working Home Assistant Core release (if known): 0.116.4
- Operating environment (OS/Container/Supervised/Core): Gentoo Linux
- Integration causing this issue: axis
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/axis/
Problem-relevant configuration.yaml
no yaml config, only used config flow.
Traceback/Error logs
This is the log of the first start of 0.117.b2 with one cam correctly configured in 0.116.4
2020-10-24 14:20:53 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'binary_sensor', 'light', 'input_boolean', 'ios', 'system_health', 'kodi', 'panel_iframe', 'owntracks', 'map', 'zwave', 'zone', 'enigma', 'discovery', 'maxcube', 'input_number', 'media_player', 'axis', 'timer', 'webhook', 'history', 'mqtt', 'esphome', 'sun', 'octoprint', 'sensor', 'conversation', 'influxdb', 'mikrotik', 'mobile_app', 'camera', 'scene', 'tag', 'samsungtv', 'device_tracker', 'script', 'automation', 'weather', 'coronavirus', 'calendar', 'notify', 'sonos', 'zeroconf', 'switch', 'cert_expiry', 'tradfri'}
2020-10-24 14:20:57 INFO (MainThread) [homeassistant.setup] Setting up axis
2020-10-24 14:20:57 INFO (MainThread) [homeassistant.setup] Setup of domain axis took 0.0 seconds
2020-10-24 14:20:58 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:20:58 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
2020-10-24 14:20:58 WARNING (MainThread) [homeassistant.config_entries] Config entry for axis not ready yet. Retrying in 5 seconds
2020-10-24 14:21:04 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:21:04 WARNING (MainThread) [homeassistant.config_entries] Config entry for axis not ready yet. Retrying in 10 seconds
2020-10-24 14:21:15 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:21:15 WARNING (MainThread) [homeassistant.config_entries] Config entry for axis not ready yet. Retrying in 20 seconds
2020-10-24 14:21:35 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:21:35 WARNING (MainThread) [homeassistant.config_entries] Config entry for axis not ready yet. Retrying in 40 seconds
2020-10-24 14:22:16 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:22:16 WARNING (MainThread) [homeassistant.config_entries] Config entry for axis not ready yet. Retrying in 80 seconds
2020-10-24 14:23:36 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:23:36 WARNING (MainThread) [homeassistant.config_entries] Config entry for axis not ready yet. Retrying in 80 seconds
2020-10-24 14:25:10 WARNING (MainThread) [homeassistant.components.axis] Connected to device at 172.16.2.228 but not registered.
2020-10-24 14:26:02 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:29:56 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-24 14:32:42 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
This are two attemps re-adding the cams with 0.117.0b3:
2020-10-26 18:36:52 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
2020-10-26 18:37:08 ERROR (MainThread) [homeassistant.components.axis] Error connecting to the Axis device at 172.16.2.228
/usr/lib/python3.8/site-packages/httpx/_client.py:1781: UserWarning: Unclosed <httpx.AsyncClient object at 0x7fba96ede820>. See https://www.python-httpx.org/async/#opening-and-closing-clients for details.
warnings.warn(
This is one session trying to re-add one cam per config flow. There are some HTTP/1.1 401 Unauthorized in the tcpdump, credentials are triple-checked, also happens if I use admin’s creds.
root@g18-hass:/var/log/homeassistant # tcpdump host 172.16.2.228
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp11s0, link-type EN10MB (Ethernet), capture size 262144 bytes
18:43:04.173267 IP g18-hass.in.edevau.net.54568 > 172.16.2.228.http: Flags [S], seq 4184432670, win 64240, options [mss 1460,sackOK,TS val 1041864359 ecr 0,nop,wscale 7], length 0
18:43:04.173667 IP 172.16.2.228.http > g18-hass.in.edevau.net.54568: Flags [S.], seq 2013721643, ack 4184432671, win 5792, options [mss 1460,sackOK,TS val 19139209 ecr 1041864359,nop,wscale 1], length 0
18:43:04.173696 IP g18-hass.in.edevau.net.54568 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864359 ecr 19139209], length 0
18:43:04.174310 IP g18-hass.in.edevau.net.54568 > 172.16.2.228.http: Flags [P.], seq 1:227, ack 1, win 502, options [nop,nop,TS val 1041864360 ecr 19139209], length 226: HTTP: POST /axis-cgi/apidiscovery.cgi HTTP/1.1
18:43:04.174555 IP g18-hass.in.edevau.net.54568 > 172.16.2.228.http: Flags [P.], seq 227:299, ack 1, win 502, options [nop,nop,TS val 1041864360 ecr 19139209], length 72: HTTP
18:43:04.174631 IP 172.16.2.228.http > g18-hass.in.edevau.net.54568: Flags [.], ack 227, win 3432, options [nop,nop,TS val 19139209 ecr 1041864360], length 0
18:43:04.174782 IP 172.16.2.228.http > g18-hass.in.edevau.net.54568: Flags [.], ack 299, win 3432, options [nop,nop,TS val 19139209 ecr 1041864360], length 0
18:43:04.175578 IP 172.16.2.228.http > g18-hass.in.edevau.net.54568: Flags [P.], seq 1:317, ack 299, win 3432, options [nop,nop,TS val 19139209 ecr 1041864360], length 316: HTTP: HTTP/1.1 404 Not Found
18:43:04.175617 IP g18-hass.in.edevau.net.54568 > 172.16.2.228.http: Flags [.], ack 317, win 501, options [nop,nop,TS val 1041864361 ecr 19139209], length 0
18:43:04.175657 IP 172.16.2.228.http > g18-hass.in.edevau.net.54568: Flags [F.], seq 317, ack 299, win 3432, options [nop,nop,TS val 19139209 ecr 1041864360], length 0
18:43:04.177135 IP g18-hass.in.edevau.net.54568 > 172.16.2.228.http: Flags [F.], seq 299, ack 318, win 501, options [nop,nop,TS val 1041864363 ecr 19139209], length 0
18:43:04.177440 IP 172.16.2.228.http > g18-hass.in.edevau.net.54568: Flags [.], ack 300, win 3432, options [nop,nop,TS val 19139210 ecr 1041864363], length 0
18:43:04.183791 IP g18-hass.in.edevau.net.54570 > 172.16.2.228.http: Flags [S], seq 1498677439, win 64240, options [mss 1460,sackOK,TS val 1041864370 ecr 0,nop,wscale 7], length 0
18:43:04.183941 IP g18-hass.in.edevau.net.54572 > 172.16.2.228.http: Flags [S], seq 1097490274, win 64240, options [mss 1460,sackOK,TS val 1041864370 ecr 0,nop,wscale 7], length 0
18:43:04.184053 IP g18-hass.in.edevau.net.54574 > 172.16.2.228.http: Flags [S], seq 2495812729, win 64240, options [mss 1460,sackOK,TS val 1041864370 ecr 0,nop,wscale 7], length 0
18:43:04.184104 IP 172.16.2.228.http > g18-hass.in.edevau.net.54570: Flags [S.], seq 2005318933, ack 1498677440, win 5792, options [mss 1460,sackOK,TS val 19139210 ecr 1041864370,nop,wscale 1], length 0
18:43:04.184123 IP g18-hass.in.edevau.net.54570 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864370 ecr 19139210], length 0
18:43:04.184203 IP g18-hass.in.edevau.net.54576 > 172.16.2.228.http: Flags [S], seq 711587652, win 64240, options [mss 1460,sackOK,TS val 1041864370 ecr 0,nop,wscale 7], length 0
18:43:04.184253 IP 172.16.2.228.http > g18-hass.in.edevau.net.54572: Flags [S.], seq 2013418623, ack 1097490275, win 5792, options [mss 1460,sackOK,TS val 19139210 ecr 1041864370,nop,wscale 1], length 0
18:43:04.184268 IP g18-hass.in.edevau.net.54572 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864370 ecr 19139210], length 0
18:43:04.184372 IP g18-hass.in.edevau.net.54578 > 172.16.2.228.http: Flags [S], seq 4193207845, win 64240, options [mss 1460,sackOK,TS val 1041864370 ecr 0,nop,wscale 7], length 0
18:43:04.184401 IP 172.16.2.228.http > g18-hass.in.edevau.net.54574: Flags [S.], seq 2013474188, ack 2495812730, win 5792, options [mss 1460,sackOK,TS val 19139210 ecr 1041864370,nop,wscale 1], length 0
18:43:04.184421 IP g18-hass.in.edevau.net.54574 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864370 ecr 19139210], length 0
18:43:04.184502 IP g18-hass.in.edevau.net.54580 > 172.16.2.228.http: Flags [S], seq 1625944363, win 64240, options [mss 1460,sackOK,TS val 1041864370 ecr 0,nop,wscale 7], length 0
18:43:04.184720 IP 172.16.2.228.http > g18-hass.in.edevau.net.54576: Flags [S.], seq 2013546753, ack 711587653, win 5792, options [mss 1460,sackOK,TS val 19139210 ecr 1041864370,nop,wscale 1], length 0
18:43:04.184736 IP g18-hass.in.edevau.net.54576 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864371 ecr 19139210], length 0
18:43:04.184968 IP 172.16.2.228.http > g18-hass.in.edevau.net.54578: Flags [S.], seq 2018141461, ack 4193207846, win 5792, options [mss 1460,sackOK,TS val 19139210 ecr 1041864370,nop,wscale 1], length 0
18:43:04.184982 IP g18-hass.in.edevau.net.54578 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864371 ecr 19139210], length 0
18:43:04.185204 IP 172.16.2.228.http > g18-hass.in.edevau.net.54580: Flags [S.], seq 2004957693, ack 1625944364, win 5792, options [mss 1460,sackOK,TS val 19139210 ecr 1041864370,nop,wscale 1], length 0
18:43:04.185218 IP g18-hass.in.edevau.net.54580 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864371 ecr 19139210], length 0
18:43:04.185820 IP g18-hass.in.edevau.net.54570 > 172.16.2.228.http: Flags [P.], seq 1:201, ack 1, win 502, options [nop,nop,TS val 1041864372 ecr 19139210], length 200: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Properties HTTP/1.1
18:43:04.186067 IP g18-hass.in.edevau.net.54572 > 172.16.2.228.http: Flags [P.], seq 1:204, ack 1, win 502, options [nop,nop,TS val 1041864372 ecr 19139210], length 203: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.StreamProfile HTTP/1.1
18:43:04.186135 IP 172.16.2.228.http > g18-hass.in.edevau.net.54570: Flags [.], ack 201, win 3432, options [nop,nop,TS val 19139210 ecr 1041864372], length 0
18:43:04.186317 IP 172.16.2.228.http > g18-hass.in.edevau.net.54572: Flags [.], ack 204, win 3432, options [nop,nop,TS val 19139210 ecr 1041864372], length 0
18:43:04.186340 IP g18-hass.in.edevau.net.54574 > 172.16.2.228.http: Flags [P.], seq 1:196, ack 1, win 502, options [nop,nop,TS val 1041864372 ecr 19139210], length 195: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Brand HTTP/1.1
18:43:04.186601 IP 172.16.2.228.http > g18-hass.in.edevau.net.54574: Flags [.], ack 196, win 3432, options [nop,nop,TS val 19139210 ecr 1041864372], length 0
18:43:04.186865 IP g18-hass.in.edevau.net.54576 > 172.16.2.228.http: Flags [P.], seq 1:197, ack 1, win 502, options [nop,nop,TS val 1041864373 ecr 19139210], length 196: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.IOPort HTTP/1.1
18:43:04.187079 IP g18-hass.in.edevau.net.54578 > 172.16.2.228.http: Flags [P.], seq 1:196, ack 1, win 502, options [nop,nop,TS val 1041864373 ecr 19139210], length 195: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Input HTTP/1.1
18:43:04.187156 IP 172.16.2.228.http > g18-hass.in.edevau.net.54576: Flags [.], ack 197, win 3432, options [nop,nop,TS val 19139210 ecr 1041864373], length 0
18:43:04.187383 IP 172.16.2.228.http > g18-hass.in.edevau.net.54578: Flags [.], ack 196, win 3432, options [nop,nop,TS val 19139210 ecr 1041864373], length 0
18:43:04.187759 IP g18-hass.in.edevau.net.54580 > 172.16.2.228.http: Flags [P.], seq 1:197, ack 1, win 502, options [nop,nop,TS val 1041864374 ecr 19139210], length 196: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Output HTTP/1.1
18:43:04.188056 IP 172.16.2.228.http > g18-hass.in.edevau.net.54580: Flags [.], ack 197, win 3432, options [nop,nop,TS val 19139211 ecr 1041864374], length 0
18:43:04.192521 IP 172.16.2.228.http > g18-hass.in.edevau.net.54574: Flags [P.], seq 1:542, ack 196, win 3432, options [nop,nop,TS val 19139211 ecr 1041864372], length 541: HTTP: HTTP/1.1 401 Unauthorized
18:43:04.192541 IP g18-hass.in.edevau.net.54574 > 172.16.2.228.http: Flags [.], ack 542, win 501, options [nop,nop,TS val 1041864378 ecr 19139211], length 0
18:43:04.192615 IP 172.16.2.228.http > g18-hass.in.edevau.net.54574: Flags [F.], seq 542, ack 196, win 3432, options [nop,nop,TS val 19139211 ecr 1041864372], length 0
18:43:04.193883 IP g18-hass.in.edevau.net.54574 > 172.16.2.228.http: Flags [F.], seq 196, ack 543, win 501, options [nop,nop,TS val 1041864380 ecr 19139211], length 0
18:43:04.194188 IP 172.16.2.228.http > g18-hass.in.edevau.net.54574: Flags [.], ack 197, win 3432, options [nop,nop,TS val 19139211 ecr 1041864380], length 0
18:43:04.195588 IP g18-hass.in.edevau.net.54582 > 172.16.2.228.http: Flags [S], seq 2144521068, win 64240, options [mss 1460,sackOK,TS val 1041864381 ecr 0,nop,wscale 7], length 0
18:43:04.195953 IP 172.16.2.228.http > g18-hass.in.edevau.net.54582: Flags [S.], seq 2013789356, ack 2144521069, win 5792, options [mss 1460,sackOK,TS val 19139211 ecr 1041864381,nop,wscale 1], length 0
18:43:04.195971 IP g18-hass.in.edevau.net.54582 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864382 ecr 19139211], length 0
18:43:04.196456 IP g18-hass.in.edevau.net.54582 > 172.16.2.228.http: Flags [P.], seq 1:484, ack 1, win 502, options [nop,nop,TS val 1041864382 ecr 19139211], length 483: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Brand HTTP/1.1
18:43:04.196795 IP 172.16.2.228.http > g18-hass.in.edevau.net.54582: Flags [.], ack 484, win 3432, options [nop,nop,TS val 19139211 ecr 1041864382], length 0
18:43:04.198349 IP 172.16.2.228.http > g18-hass.in.edevau.net.54570: Flags [P.], seq 1:542, ack 201, win 3432, options [nop,nop,TS val 19139212 ecr 1041864372], length 541: HTTP: HTTP/1.1 401 Unauthorized
18:43:04.198378 IP g18-hass.in.edevau.net.54570 > 172.16.2.228.http: Flags [.], ack 542, win 501, options [nop,nop,TS val 1041864384 ecr 19139212], length 0
18:43:04.198431 IP 172.16.2.228.http > g18-hass.in.edevau.net.54570: Flags [F.], seq 542, ack 201, win 3432, options [nop,nop,TS val 19139212 ecr 1041864372], length 0
18:43:04.199795 IP g18-hass.in.edevau.net.54570 > 172.16.2.228.http: Flags [F.], seq 201, ack 543, win 501, options [nop,nop,TS val 1041864386 ecr 19139212], length 0
18:43:04.200117 IP 172.16.2.228.http > g18-hass.in.edevau.net.54570: Flags [.], ack 202, win 3432, options [nop,nop,TS val 19139212 ecr 1041864386], length 0
18:43:04.201214 IP g18-hass.in.edevau.net.54584 > 172.16.2.228.http: Flags [S], seq 378480010, win 64240, options [mss 1460,sackOK,TS val 1041864387 ecr 0,nop,wscale 7], length 0
18:43:04.201549 IP 172.16.2.228.http > g18-hass.in.edevau.net.54584: Flags [S.], seq 2008744811, ack 378480011, win 5792, options [mss 1460,sackOK,TS val 19139212 ecr 1041864387,nop,wscale 1], length 0
18:43:04.201575 IP g18-hass.in.edevau.net.54584 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864387 ecr 19139212], length 0
18:43:04.202035 IP g18-hass.in.edevau.net.54584 > 172.16.2.228.http: Flags [P.], seq 1:494, ack 1, win 502, options [nop,nop,TS val 1041864388 ecr 19139212], length 493: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Properties HTTP/1.1
18:43:04.202389 IP 172.16.2.228.http > g18-hass.in.edevau.net.54584: Flags [.], ack 494, win 3432, options [nop,nop,TS val 19139212 ecr 1041864388], length 0
18:43:04.203947 IP 172.16.2.228.http > g18-hass.in.edevau.net.54572: Flags [P.], seq 1:542, ack 204, win 3432, options [nop,nop,TS val 19139212 ecr 1041864372], length 541: HTTP: HTTP/1.1 401 Unauthorized
18:43:04.203960 IP g18-hass.in.edevau.net.54572 > 172.16.2.228.http: Flags [.], ack 542, win 501, options [nop,nop,TS val 1041864390 ecr 19139212], length 0
18:43:04.204019 IP 172.16.2.228.http > g18-hass.in.edevau.net.54572: Flags [F.], seq 542, ack 204, win 3432, options [nop,nop,TS val 19139212 ecr 1041864372], length 0
18:43:04.205108 IP g18-hass.in.edevau.net.54572 > 172.16.2.228.http: Flags [F.], seq 204, ack 543, win 501, options [nop,nop,TS val 1041864391 ecr 19139212], length 0
18:43:04.205424 IP 172.16.2.228.http > g18-hass.in.edevau.net.54572: Flags [.], ack 205, win 3432, options [nop,nop,TS val 19139212 ecr 1041864391], length 0
18:43:04.206099 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [S], seq 352177040, win 64240, options [mss 1460,sackOK,TS val 1041864392 ecr 0,nop,wscale 7], length 0
18:43:04.206420 IP 172.16.2.228.http > g18-hass.in.edevau.net.54586: Flags [S.], seq 2017413255, ack 352177041, win 5792, options [mss 1460,sackOK,TS val 19139212 ecr 1041864392,nop,wscale 1], length 0
18:43:04.206436 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864392 ecr 19139212], length 0
18:43:04.206895 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [P.], seq 1:500, ack 1, win 502, options [nop,nop,TS val 1041864393 ecr 19139212], length 499: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.StreamProfile HTTP/1.1
18:43:04.207238 IP 172.16.2.228.http > g18-hass.in.edevau.net.54586: Flags [.], ack 500, win 3432, options [nop,nop,TS val 19139212 ecr 1041864393], length 0
18:43:04.210201 IP 172.16.2.228.http > g18-hass.in.edevau.net.54580: Flags [P.], seq 1:542, ack 197, win 3432, options [nop,nop,TS val 19139213 ecr 1041864374], length 541: HTTP: HTTP/1.1 401 Unauthorized
18:43:04.210238 IP g18-hass.in.edevau.net.54580 > 172.16.2.228.http: Flags [.], ack 542, win 501, options [nop,nop,TS val 1041864396 ecr 19139213], length 0
18:43:04.210724 IP 172.16.2.228.http > g18-hass.in.edevau.net.54580: Flags [F.], seq 542, ack 197, win 3432, options [nop,nop,TS val 19139213 ecr 1041864396], length 0
18:43:04.211536 IP g18-hass.in.edevau.net.54580 > 172.16.2.228.http: Flags [F.], seq 197, ack 543, win 501, options [nop,nop,TS val 1041864397 ecr 19139213], length 0
18:43:04.211875 IP 172.16.2.228.http > g18-hass.in.edevau.net.54580: Flags [.], ack 198, win 3432, options [nop,nop,TS val 19139213 ecr 1041864397], length 0
18:43:04.213045 IP g18-hass.in.edevau.net.54588 > 172.16.2.228.http: Flags [S], seq 2804787572, win 64240, options [mss 1460,sackOK,TS val 1041864399 ecr 0,nop,wscale 7], length 0
18:43:04.213372 IP 172.16.2.228.http > g18-hass.in.edevau.net.54588: Flags [S.], seq 2011876642, ack 2804787573, win 5792, options [mss 1460,sackOK,TS val 19139213 ecr 1041864399,nop,wscale 1], length 0
18:43:04.213387 IP g18-hass.in.edevau.net.54588 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864399 ecr 19139213], length 0
18:43:04.213818 IP g18-hass.in.edevau.net.54588 > 172.16.2.228.http: Flags [P.], seq 1:486, ack 1, win 502, options [nop,nop,TS val 1041864400 ecr 19139213], length 485: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Output HTTP/1.1
18:43:04.214172 IP 172.16.2.228.http > g18-hass.in.edevau.net.54588: Flags [.], ack 486, win 3432, options [nop,nop,TS val 19139213 ecr 1041864400], length 0
18:43:04.216206 IP 172.16.2.228.http > g18-hass.in.edevau.net.54578: Flags [P.], seq 1:542, ack 196, win 3432, options [nop,nop,TS val 19139213 ecr 1041864373], length 541: HTTP: HTTP/1.1 401 Unauthorized
18:43:04.216240 IP g18-hass.in.edevau.net.54578 > 172.16.2.228.http: Flags [.], ack 542, win 501, options [nop,nop,TS val 1041864402 ecr 19139213], length 0
18:43:04.216718 IP 172.16.2.228.http > g18-hass.in.edevau.net.54578: Flags [F.], seq 542, ack 196, win 3432, options [nop,nop,TS val 19139213 ecr 1041864402], length 0
18:43:04.217590 IP g18-hass.in.edevau.net.54578 > 172.16.2.228.http: Flags [F.], seq 196, ack 543, win 501, options [nop,nop,TS val 1041864403 ecr 19139213], length 0
18:43:04.217935 IP 172.16.2.228.http > g18-hass.in.edevau.net.54578: Flags [.], ack 197, win 3432, options [nop,nop,TS val 19139214 ecr 1041864403], length 0
18:43:04.218960 IP g18-hass.in.edevau.net.54590 > 172.16.2.228.http: Flags [S], seq 1556481262, win 64240, options [mss 1460,sackOK,TS val 1041864405 ecr 0,nop,wscale 7], length 0
18:43:04.219299 IP 172.16.2.228.http > g18-hass.in.edevau.net.54590: Flags [S.], seq 2004604627, ack 1556481263, win 5792, options [mss 1460,sackOK,TS val 19139214 ecr 1041864405,nop,wscale 1], length 0
18:43:04.219318 IP g18-hass.in.edevau.net.54590 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864405 ecr 19139214], length 0
18:43:04.219785 IP g18-hass.in.edevau.net.54590 > 172.16.2.228.http: Flags [P.], seq 1:484, ack 1, win 502, options [nop,nop,TS val 1041864406 ecr 19139214], length 483: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.Input HTTP/1.1
18:43:04.220110 IP 172.16.2.228.http > g18-hass.in.edevau.net.54590: Flags [.], ack 484, win 3432, options [nop,nop,TS val 19139214 ecr 1041864406], length 0
18:43:04.223091 IP 172.16.2.228.http > g18-hass.in.edevau.net.54576: Flags [P.], seq 1:542, ack 197, win 3432, options [nop,nop,TS val 19139214 ecr 1041864373], length 541: HTTP: HTTP/1.1 401 Unauthorized
18:43:04.223120 IP g18-hass.in.edevau.net.54576 > 172.16.2.228.http: Flags [.], ack 542, win 501, options [nop,nop,TS val 1041864409 ecr 19139214], length 0
18:43:04.223629 IP 172.16.2.228.http > g18-hass.in.edevau.net.54576: Flags [F.], seq 542, ack 197, win 3432, options [nop,nop,TS val 19139214 ecr 1041864409], length 0
18:43:04.224212 IP g18-hass.in.edevau.net.54576 > 172.16.2.228.http: Flags [F.], seq 197, ack 543, win 501, options [nop,nop,TS val 1041864410 ecr 19139214], length 0
18:43:04.224530 IP 172.16.2.228.http > g18-hass.in.edevau.net.54576: Flags [.], ack 198, win 3432, options [nop,nop,TS val 19139214 ecr 1041864410], length 0
18:43:04.225835 IP g18-hass.in.edevau.net.54592 > 172.16.2.228.http: Flags [S], seq 1340265552, win 64240, options [mss 1460,sackOK,TS val 1041864412 ecr 0,nop,wscale 7], length 0
18:43:04.226173 IP 172.16.2.228.http > g18-hass.in.edevau.net.54592: Flags [S.], seq 2016489323, ack 1340265553, win 5792, options [mss 1460,sackOK,TS val 19139214 ecr 1041864412,nop,wscale 1], length 0
18:43:04.226191 IP g18-hass.in.edevau.net.54592 > 172.16.2.228.http: Flags [.], ack 1, win 502, options [nop,nop,TS val 1041864412 ecr 19139214], length 0
18:43:04.226662 IP g18-hass.in.edevau.net.54592 > 172.16.2.228.http: Flags [P.], seq 1:486, ack 1, win 502, options [nop,nop,TS val 1041864412 ecr 19139214], length 485: HTTP: GET /axis-cgi/param.cgi?action=list&group=root.IOPort HTTP/1.1
18:43:04.227003 IP 172.16.2.228.http > g18-hass.in.edevau.net.54592: Flags [.], ack 486, win 3432, options [nop,nop,TS val 19139214 ecr 1041864412], length 0
18:43:04.388667 IP 172.16.2.228.http > g18-hass.in.edevau.net.54582: Flags [P.], seq 1:444, ack 484, win 3432, options [nop,nop,TS val 19139231 ecr 1041864382], length 443: HTTP: HTTP/1.1 200 OK
18:43:04.388692 IP g18-hass.in.edevau.net.54582 > 172.16.2.228.http: Flags [.], ack 444, win 501, options [nop,nop,TS val 1041864574 ecr 19139231], length 0
18:43:04.458647 IP 172.16.2.228.http > g18-hass.in.edevau.net.54590: Flags [P.], seq 1:291, ack 484, win 3432, options [nop,nop,TS val 19139238 ecr 1041864406], length 290: HTTP: HTTP/1.1 200 OK
18:43:04.458696 IP g18-hass.in.edevau.net.54590 > 172.16.2.228.http: Flags [.], ack 291, win 501, options [nop,nop,TS val 1041864644 ecr 19139238], length 0
18:43:04.459666 IP 172.16.2.228.http > g18-hass.in.edevau.net.54582: Flags [F.], seq 444, ack 484, win 3432, options [nop,nop,TS val 19139238 ecr 1041864574], length 0
18:43:04.460041 IP 172.16.2.228.http > g18-hass.in.edevau.net.54590: Flags [F.], seq 291, ack 484, win 3432, options [nop,nop,TS val 19139238 ecr 1041864644], length 0
18:43:04.482048 IP 172.16.2.228.http > g18-hass.in.edevau.net.54588: Flags [P.], seq 1:292, ack 486, win 3432, options [nop,nop,TS val 19139240 ecr 1041864400], length 291: HTTP: HTTP/1.1 200 OK
18:43:04.482101 IP g18-hass.in.edevau.net.54588 > 172.16.2.228.http: Flags [.], ack 292, win 501, options [nop,nop,TS val 1041864668 ecr 19139240], length 0
18:43:04.482615 IP 172.16.2.228.http > g18-hass.in.edevau.net.54588: Flags [F.], seq 292, ack 486, win 3432, options [nop,nop,TS val 19139240 ecr 1041864668], length 0
18:43:04.493812 IP 172.16.2.228.http > g18-hass.in.edevau.net.54586: Flags [P.], seq 1:237, ack 500, win 3432, options [nop,nop,TS val 19139241 ecr 1041864393], length 236: HTTP: HTTP/1.1 200 OK
18:43:04.493835 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [.], ack 237, win 501, options [nop,nop,TS val 1041864680 ecr 19139241], length 0
18:43:04.500117 IP 172.16.2.228.http > g18-hass.in.edevau.net.54584: Flags [P.], seq 1:237, ack 494, win 3432, options [nop,nop,TS val 19139242 ecr 1041864388], length 236: HTTP: HTTP/1.1 200 OK
18:43:04.500190 IP g18-hass.in.edevau.net.54584 > 172.16.2.228.http: Flags [.], ack 237, win 501, options [nop,nop,TS val 1041864686 ecr 19139242], length 0
18:43:04.505364 IP g18-hass.in.edevau.net.54582 > 172.16.2.228.http: Flags [.], ack 445, win 501, options [nop,nop,TS val 1041864691 ecr 19139238], length 0
18:43:04.515378 IP g18-hass.in.edevau.net.54590 > 172.16.2.228.http: Flags [.], ack 292, win 501, options [nop,nop,TS val 1041864701 ecr 19139238], length 0
18:43:04.535444 IP g18-hass.in.edevau.net.54588 > 172.16.2.228.http: Flags [.], ack 293, win 501, options [nop,nop,TS val 1041864721 ecr 19139240], length 0
18:43:04.549835 IP 172.16.2.228.http > g18-hass.in.edevau.net.54592: Flags [P.], seq 1:237, ack 486, win 3432, options [nop,nop,TS val 19139247 ecr 1041864412], length 236: HTTP: HTTP/1.1 200 OK
18:43:04.549853 IP g18-hass.in.edevau.net.54592 > 172.16.2.228.http: Flags [.], ack 237, win 501, options [nop,nop,TS val 1041864736 ecr 19139247], length 0
18:43:04.674641 IP 172.16.2.228.http > g18-hass.in.edevau.net.54592: Flags [F.], seq 237, ack 486, win 3432, options [nop,nop,TS val 19139259 ecr 1041864736], length 0
18:43:04.715473 IP g18-hass.in.edevau.net.54592 > 172.16.2.228.http: Flags [.], ack 238, win 501, options [nop,nop,TS val 1041864901 ecr 19139259], length 0
18:43:04.762383 IP 172.16.2.228.http > g18-hass.in.edevau.net.54584: Flags [P.], seq 237:1370, ack 494, win 3432, options [nop,nop,TS val 19139268 ecr 1041864686], length 1133: HTTP
18:43:04.762429 IP g18-hass.in.edevau.net.54584 > 172.16.2.228.http: Flags [.], ack 1370, win 501, options [nop,nop,TS val 1041864948 ecr 19139268], length 0
18:43:04.762887 IP 172.16.2.228.http > g18-hass.in.edevau.net.54584: Flags [F.], seq 1370, ack 494, win 3432, options [nop,nop,TS val 19139268 ecr 1041864948], length 0
18:43:04.805373 IP g18-hass.in.edevau.net.54584 > 172.16.2.228.http: Flags [.], ack 1371, win 501, options [nop,nop,TS val 1041864991 ecr 19139268], length 0
18:43:05.109625 IP 172.16.2.228.http > g18-hass.in.edevau.net.54586: Flags [.], seq 237:1685, ack 500, win 3432, options [nop,nop,TS val 19139303 ecr 1041864680], length 1448: HTTP
18:43:05.109688 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [.], ack 1685, win 501, options [nop,nop,TS val 1041865295 ecr 19139303], length 0
18:43:05.109729 IP 172.16.2.228.http > g18-hass.in.edevau.net.54586: Flags [P.], seq 1685:2467, ack 500, win 3432, options [nop,nop,TS val 19139303 ecr 1041864680], length 782: HTTP
18:43:05.109748 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [.], ack 2467, win 496, options [nop,nop,TS val 1041865296 ecr 19139303], length 0
18:43:05.109822 IP 172.16.2.228.http > g18-hass.in.edevau.net.54586: Flags [F.], seq 2467, ack 500, win 3432, options [nop,nop,TS val 19139303 ecr 1041864680], length 0
18:43:05.165362 IP g18-hass.in.edevau.net.54586 > 172.16.2.228.http: Flags [.], ack 2468, win 501, options [nop,nop,TS val 1041865351 ecr 19139303], length 0
Additional information
after downgrading to a pre-httpx version (0.116.4) with axis-37 all cams work again.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 6
- Comments: 123 (67 by maintainers)
Can you share how to update my hassio with this fix? Relatively computer literate, but not sure what I need to update. If you can point me in the right location I can do the git pull, just not sure what my target is!
I am very curious to know how one can release something which totally breaks the integration for a lot of people. Secondly, it has been more than two months now! If this had happened at my work, we would have rolled back the release.
Done, IP Cam resetted also, checked over 4G and I can connect to the provided address
I installed Home Assistant 2021.1.0 and my Camera is working again. 😃
Thank you all for your efforts and your work!!!
Well first thing was to understand why it didn’t work and once we did upstream was already working on a solution though I didn’t understand at the time it would take so many turns to get it done.
I considered doing a custom component with the old implementation but ran into the issue I’d need to handle two versions of the same library meaning I’d need to release it under a different name.
It’s always an option to stay on latest working release waiting for the fix to get done.
I’m new to hass release dynamics. I’m just curious of why a problem reported at beta stage hasn’t stopped the release. This problem disrupts functionality of rest sensors and Axis security cameras. Is development going like a train not caring about such problems? Edited myself: was not a bug, but a “problem”
As soon as they do a release we will get it into hass
I’ve verified @cdeler fix locally and I can confirm that it does indeed solve the issue 🎉
Hello @Kane610 , @wonderiuy
The credentials I was provided with gave me HTTP 401 error, so that I couldn’t verify my changeset in
h11. Is it possible to ask you contact me using my email serj.krotov at gmail.com and share the credentials with me again?They are touching up the last details. https://github.com/python-hyper/h11/pull/115#issuecomment-733189772
There are some solution to that ? Our cameras still not working. Thanks to help us
@Kane610 sure, as long you don’t tell anyone what we are doing here. please let me know if one of our cars gets stolen rofl
@onkelbeh I’ve shared the credentials with a HTTPx developer, can you keep the device available some more time?
Please refrain from doing me too posts. Do a like on the first post unless you have other data to share than is already available. There is a forum thread for this I think.
I’m awaiting a response from the httpx developers right now. I think it’s a combination of the library and the older webbserver of the affected firmware
Axis M3024-Lve firmware 5.51.7.1 also stopped working on HA 0117.1
Yep.
just did the job. Sorry for not having this idea 😃 Was so focused on the axis component, it did it’s work well for years. I wonder how many of these older cams live out there, perhaps this is worth mentioning in the docs.
For me it’s OK now, if you want to debug further, let me know how I can help. If it’s OK for you, please close this Ticket.
Thanks a lot for your work on Home Assitant.