core: Matter integration crashes when adding devices

The problem

Have been a long-time smart home user. I recently took the plunge into matter/thread on HA for testing. Apologies if I am doing this report incorrectly. This is the first time I’ve ever used github to report a bug. I am usually pretty adept with troubleshooting on my own and have never needed to open a case. But since this is such a new thechnology, I had to jump in! I currently have 50+ Matter over Wi-Fi bulbs (All various models of WiZ), 9 Matter over thread devices. (nanoleaf) and 10 Matter over Wi-Fi switches (Tapo). I state that to make myself available for any specific testing you’d like me to do on my network to better the integration for everyone. One main issue I keep coming across is every so often when adding new devices via the companion app, the pairing fails, and all matter devices go offline. The integration states that the devices are no longer supplied by the integration. Restarting the matter server does not fix the problem, nor does restarting home assistant, only a hard reboot of the system will begin to bring my devices back up. I am adding the logs that I believe are relevant to this issue, but please let me know if you need anything in specific.

What version of Home Assistant Core has the issue?

2023.7.3

What was the last working version of Home Assistant Core?

N/a

What type of installation are you running?

Home Assistant OS

Integration causing the issue

matter

Link to integration documentation on our website

https://www.home-assistant.io/integrations/matter/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server aiorun[126] DEBUG Entering shutdown handler
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server aiorun[126] WARNING Stopping the loop
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server aiorun[126] INFO Entering shutdown phase.
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server aiorun[126] INFO Executing provided shutdown_callback.
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server matter_server.server.server[126] INFO Stopping the Matter Server...
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] DEBUG Shutting down the commissioner
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] DEBUG Stopping commissioning discovery over DNS-SD
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00011b640]: MarkForEviction Type:1 LSID:65183
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00011b640]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00011b640]: Released - Type:1 LSID:65183
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] DEBUG Shutting down the controller
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.DMG[126] DEBUG MoveToState ReadClient[0x7fa000a94120]: Moving to [      Idle]
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.DIS[126] DEBUG OperationalSessionSetup[1:0000000000000045]: Cancelling incomplete address resolution as device is being deleted.
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG Expiring all sessions for fabric 0x1!!
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0003f9ea0]: MarkForEviction Type:2 LSID:64839
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0003f9ea0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0003f9ea0]: Released - Type:2 LSID:64839
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0000deff0]: MarkForEviction Type:2 LSID:64850
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0000deff0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0000deff0]: Released - Type:2 LSID:64850
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00080f3a0]: MarkForEviction Type:2 LSID:64853
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00080f3a0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00080f3a0]: Released - Type:2 LSID:64853
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0006b5a40]: MarkForEviction Type:2 LSID:64878
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0006b5a40]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0006b5a40]: Released - Type:2 LSID:64878
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0001cf470]: MarkForEviction Type:2 LSID:64890
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0001cf470]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0001cf470]: Released - Type:2 LSID:64890
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000af9090]: MarkForEviction Type:2 LSID:64912
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000af9090]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000af9090]: Released - Type:2 LSID:64912
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b843f0]: MarkForEviction Type:2 LSID:64914
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b843f0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b843f0]: Released - Type:2 LSID:64914
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0003bad60]: MarkForEviction Type:2 LSID:64927
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0003bad60]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0003bad60]: Released - Type:2 LSID:64927
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000780cf0]: MarkForEviction Type:2 LSID:64997
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000780cf0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000780cf0]: Released - Type:2 LSID:64997
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00048bde0]: MarkForEviction Type:2 LSID:65002
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00048bde0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00048bde0]: Released - Type:2 LSID:65002
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b79020]: MarkForEviction Type:2 LSID:65036
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b79020]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b79020]: Released - Type:2 LSID:65036
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00058b410]: MarkForEviction Type:2 LSID:65048
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00058b410]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00058b410]: Released - Type:2 LSID:65048
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000bfb860]: MarkForEviction Type:2 LSID:65049
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000bfb860]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000bfb860]: Released - Type:2 LSID:65049
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000268cd0]: MarkForEviction Type:2 LSID:65052
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000268cd0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000268cd0]: Released - Type:2 LSID:65052
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00053a150]: MarkForEviction Type:2 LSID:65060
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00053a150]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00053a150]: Released - Type:2 LSID:65060
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00058c380]: MarkForEviction Type:2 LSID:65079
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00058c380]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00058c380]: Released - Type:2 LSID:65079
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007f7ef0]: MarkForEviction Type:2 LSID:65103
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0007f7ef0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007f7ef0]: Released - Type:2 LSID:65103
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00052b730]: MarkForEviction Type:2 LSID:65105
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa00052b730]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa00052b730]: Released - Type:2 LSID:65105
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b2feb0]: MarkForEviction Type:2 LSID:65113
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b2feb0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b2feb0]: Released - Type:2 LSID:65113
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0002bc1a0]: MarkForEviction Type:2 LSID:65122
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0002bc1a0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0002bc1a0]: Released - Type:2 LSID:65122
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000aba7a0]: MarkForEviction Type:2 LSID:65131
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000aba7a0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000aba7a0]: Released - Type:2 LSID:65131
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000962f90]: MarkForEviction Type:2 LSID:65136
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000962f90]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000962f90]: Released - Type:2 LSID:65136
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ab6920]: MarkForEviction Type:2 LSID:65146
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000ab6920]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ab6920]: Released - Type:2 LSID:65146
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007a7110]: MarkForEviction Type:2 LSID:65148
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0007a7110]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007a7110]: Released - Type:2 LSID:65148
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000741890]: MarkForEviction Type:2 LSID:65153
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000741890]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000741890]: Released - Type:2 LSID:65153
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008b7b20]: MarkForEviction Type:2 LSID:65154
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0008b7b20]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008b7b20]: Released - Type:2 LSID:65154
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008efba0]: MarkForEviction Type:2 LSID:65155
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0008efba0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008efba0]: Released - Type:2 LSID:65155
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000646220]: MarkForEviction Type:2 LSID:65159
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000646220]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000646220]: Released - Type:2 LSID:65159
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ad6d80]: MarkForEviction Type:2 LSID:65160
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000ad6d80]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ad6d80]: Released - Type:2 LSID:65160
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0000530b0]: MarkForEviction Type:2 LSID:65168
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0000530b0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0000530b0]: Released - Type:2 LSID:65168
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008b0eb0]: MarkForEviction Type:2 LSID:65170
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0008b0eb0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008b0eb0]: Released - Type:2 LSID:65170
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ad2c70]: MarkForEviction Type:2 LSID:65172
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000ad2c70]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ad2c70]: Released - Type:2 LSID:65172
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ad82e0]: MarkForEviction Type:2 LSID:65181
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000ad82e0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ad82e0]: Released - Type:2 LSID:65181
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ae40f0]: MarkForEviction Type:2 LSID:65184
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000ae40f0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000ae40f0]: Released - Type:2 LSID:65184
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0002c8b30]: MarkForEviction Type:2 LSID:65185
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0002c8b30]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0002c8b30]: Released - Type:2 LSID:65185
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b8f2c0]: MarkForEviction Type:2 LSID:65186
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b8f2c0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b8f2c0]: Released - Type:2 LSID:65186
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008a0b00]: MarkForEviction Type:2 LSID:65190
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0008a0b00]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0008a0b00]: Released - Type:2 LSID:65190
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005f3530]: MarkForEviction Type:2 LSID:65210
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0005f3530]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005f3530]: Released - Type:2 LSID:65210
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b9ff30]: MarkForEviction Type:2 LSID:65213
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b9ff30]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b9ff30]: Released - Type:2 LSID:65213
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007e2810]: MarkForEviction Type:2 LSID:65217
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0007e2810]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007e2810]: Released - Type:2 LSID:65217
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000213340]: MarkForEviction Type:2 LSID:65220
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000213340]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000213340]: Released - Type:2 LSID:65220
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005aa4e0]: MarkForEviction Type:2 LSID:65221
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0005aa4e0]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005aa4e0]: Released - Type:2 LSID:65221
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000732390]: MarkForEviction Type:2 LSID:65222
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000732390]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000732390]: Released - Type:2 LSID:65222
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005e0390]: MarkForEviction Type:2 LSID:65223
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0005e0390]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005e0390]: Released - Type:2 LSID:65223
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b9c840]: MarkForEviction Type:2 LSID:65224
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b9c840]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b9c840]: Released - Type:2 LSID:65224
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000896690]: MarkForEviction Type:2 LSID:65225
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000896690]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000896690]: Released - Type:2 LSID:65225
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b66590]: MarkForEviction Type:2 LSID:65226
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa000b66590]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa000b66590]: Released - Type:2 LSID:65226
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007f3e50]: MarkForEviction Type:2 LSID:65227
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0007f3e50]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0007f3e50]: Released - Type:2 LSID:65227
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005f3860]: MarkForEviction Type:2 LSID:65228
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.SC[126] INFO SecureSession[0x7fa0005f3860]: Moving from state 'kActive' --> 'kPendingEviction'
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.IN[126] DEBUG SecureSession[0x7fa0005f3860]: Released - Type:2 LSID:65228
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.FP[126] INFO Forgetting fabric 0x1
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.TS[126] INFO Pending Last Known Good Time: 2023-06-02T10:24:24
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] DEBUG StorageAdapter::GetKeyValue: Key = g/lkgt, Value = 0x7fa00f618180 (18)
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] DEBUG Key Found 8
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.TS[126] INFO Previous Last Known Good Time: 2023-06-02T10:24:24
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.TS[126] INFO Reverted Last Known Good Time to previous value
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server matter_server.server.device_controller[126] DEBUG Stopped.
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server matter_server.server.stack[126] INFO Shutting down the Matter stack...
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] ERROR Shutting down the stack...
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.CTL[126] DEBUG Shutting down the System State, this will teardown the CHIP Stack
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.DMG[126] DEBUG All ReadHandler-s are clean, clear GlobalDirtySet
Jul 22 17:41:52 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:52 core-matter-server chip.BLE[126] ERROR BleConnectionDelegate::CancelConnection is not implemented.
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.FP[126] INFO Shutting down FabricTable
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.TS[126] INFO Pending Last Known Good Time: 2023-06-02T10:24:24
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.CTL[126] DEBUG StorageAdapter::GetKeyValue: Key = g/lkgt, Value = 0x7ffc78d01a30 (18)
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.CTL[126] DEBUG Key Found 8
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.TS[126] INFO Previous Last Known Good Time: 2023-06-02T10:24:24
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.TS[126] INFO Reverted Last Known Good Time to previous value
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.DL[126] INFO writing settings to file (/data/chip_counters.ini-yfWChI)
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.DL[126] INFO renamed tmp file to file (/data/chip_counters.ini)
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.DL[126] INFO NVS set: chip-counters/total-operational-hours = 622 (0x26E)
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.DL[126] ERROR Inet Layer shutdown
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.DL[126] ERROR BLE shutdown
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server chip.DL[126] ERROR System Layer shutdown
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server matter_server.server.server[126] DEBUG Cleanup complete
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server matter_server.server.device_controller[126] DEBUG Attempting to resolve node 69...
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] INFO Cancelling pending tasks.
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] DEBUG Cancelling task: <Task pending name='Task-52948' coro=<MatterDeviceController._check_interview_and_subscription() running at /usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py:804> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/local/lib/python3.11/asyncio/futures.py:387, Task.task_wakeup()]>>
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] INFO Running pending tasks till complete
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] INFO Waiting for executor shutdown.
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] INFO Shutting down async generators
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] INFO Closing the loop.
Jul 22 17:41:55 homeassistant addon_core_matter_server[553]: 2023-07-22 11:41:55 core-matter-server aiorun[126] INFO Leaving. Bye!

Additional information

I have had the issue occur when adding a matter barcode (such as the tapo switches), adding a device that’s “nearby”, or when entering the code manually. Issue has happened on the lasted public release of Home assistant as well as the previous versions.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (8 by maintainers)

Most upvoted comments

Awesome, thank you for the updates and support! I have no problem removing and adding back one by one to see the possible culprits. I will attempt the firmware upgrade first and see that does anything. I will attempt the add and re-add if the firmware upgrade shows no results, may be this Saturday or Sunday when I test that part.