Issue with Matter Add-On

Matter integration seems to have issues but I can’t figure out exactly what is wrong from the logs alone. I’m using a Home Assistant Yellow.

Requirement already satisfied: pycparser in /usr/local/lib/python3.11/site-packages (from cffi>=1.12->cryptography==41.0.5->python-matter-server[server]) (2.21)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.11/site-packages (from yarl<2.0,>=1.0->aiohttp->python-matter-server[server]) (3.4)
Requirement already satisfied: packaging in /usr/local/lib/python3.11/site-packages (from deprecation->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (23.2)
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.11/site-packages (from ecdsa->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (1.16.0)
Requirement already satisfied: ipython>=7.31.1 in /usr/local/lib/python3.11/site-packages (from ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (8.17.2)
Requirement already satisfied: decorator in /usr/local/lib/python3.11/site-packages (from ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (5.1.1)
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.11/site-packages (from rich->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.11/site-packages (from rich->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (2.16.1)
Requirement already satisfied: jedi>=0.16 in /usr/local/lib/python3.11/site-packages (from ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.19.1)
Requirement already satisfied: matplotlib-inline in /usr/local/lib/python3.11/site-packages (from ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.1.6)
Requirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in /usr/local/lib/python3.11/site-packages (from ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (3.0.39)
Requirement already satisfied: stack-data in /usr/local/lib/python3.11/site-packages (from ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.6.3)
Requirement already satisfied: traitlets>=5 in /usr/local/lib/python3.11/site-packages (from ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (5.13.0)
Requirement already satisfied: pexpect>4.3 in /usr/local/lib/python3.11/site-packages (from ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (4.8.0)
Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.11/site-packages (from markdown-it-py>=2.2.0->rich->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.1.2)
Requirement already satisfied: parso<0.9.0,>=0.8.3 in /usr/local/lib/python3.11/site-packages (from jedi>=0.16->ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.8.3)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.11/site-packages (from pexpect>4.3->ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.7.0)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.11/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.2.9)
Requirement already satisfied: executing>=1.2.0 in /usr/local/lib/python3.11/site-packages (from stack-data->ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (2.0.1)
Requirement already satisfied: asttokens>=2.1.0 in /usr/local/lib/python3.11/site-packages (from stack-data->ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (2.4.1)
Requirement already satisfied: pure-eval in /usr/local/lib/python3.11/site-packages (from stack-data->ipython>=7.31.1->ipdb->home-assistant-chip-core==2023.10.2->python-matter-server[server]) (0.2.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
[10:35:18] INFO: Successfully send discovery information to Home Assistant.
2023-11-29 10:35:22 core-matter-server matter_server.server.stack[126] INFO Initializing CHIP/Matter Controller Stack...
[1701282922.683437][126:126] CHIP:CTL: Setting attestation nonce to random value
[1701282922.683851][126:126] CHIP:CTL: Setting CSR nonce to random value
[1701282922.689177][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1701282922.689736][126:126] CHIP:DL: writing settings to file (/tmp/chip_kvs-MTMftH)
[1701282922.690053][126:126] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1701282922.690452][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_factory.ini
[1701282922.695679][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_config.ini
[1701282922.696250][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_counters.ini
[1701282922.697098][126:126] CHIP:DL: writing settings to file (/data/chip_counters.ini-xsf6pJ)
[1701282922.697772][126:126] CHIP:DL: renamed tmp file to file (/data/chip_counters.ini)
[1701282922.697949][126:126] CHIP:DL: NVS set: chip-counters/reboot-count = 69 (0x45)
[1701282922.699284][126:126] CHIP:DL: Got Ethernet interface: end0
[1701282922.700234][126:126] CHIP:DL: Found the primary Ethernet interface:end0
[1701282922.701172][126:126] CHIP:DL: Got WiFi interface: wlan0
[1701282922.701370][126:126] CHIP:DL: Failed to reset WiFi statistic counts
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] WARNING Initializing persistent storage from file: /data/chip.json
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] WARNING Loading configuration from /data/chip.json...
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO SetSdkKey: g/gcc = b'\xa0\t\x01\x00'
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO SetSdkKey: g/gdc = b'\xa0\t\x01\x00'
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on wlan0 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth3e37756 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth4e30388 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on vethc9c95f1 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth8e77d14 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on vethf8928f0 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on vethfc031e5 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth2e2967a for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth63c6281 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth1de6c9d for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on vethe093b6d for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth005291e for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth8979cd5 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server chip.DL[126] ERROR MDNS failed to join multicast group on veth460efd8 for address type IPv4: src/inet/UDPEndPointImplSockets.cpp:777: Inet Error 0x00000110: Address not found
2023-11-29 10:35:22 core-matter-server CertificateAuthorityManager[126] WARNING Loading certificate authorities from storage...
2023-11-29 10:35:22 core-matter-server CertificateAuthority[126] WARNING New CertificateAuthority at index 1
2023-11-29 10:35:22 core-matter-server CertificateAuthority[126] WARNING Loading fabric admins from storage...
2023-11-29 10:35:22 core-matter-server FabricAdmin[126] WARNING New FabricAdmin: FabricId: 0x0000000000000001, VendorId = 0xFFF1
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO SetReplKey: caList = {'1': [{'fabricId': 1, 'vendorId': 65521}, {'fabricId': 2, 'vendorId': 4939}]}
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:22 core-matter-server FabricAdmin[126] WARNING New FabricAdmin: FabricId: 0x0000000000000002, VendorId = 0x134B
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO SetReplKey: caList = {'1': [{'fabricId': 1, 'vendorId': 65521}, {'fabricId': 2, 'vendorId': 4939}]}
2023-11-29 10:35:22 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:22 core-matter-server matter_server.server.stack[126] INFO CHIP Controller Stack initialized.
2023-11-29 10:35:22 core-matter-server matter_server.server.server[126] INFO Starting the Matter Server...
2023-11-29 10:35:22 core-matter-server matter_server.server.helpers.paa_certificates[126] INFO Fetching the latest PAA root certificates from DCL.
/usr/local/lib/python3.11/site-packages/matter_server/server/helpers/paa_certificates.py:46: CryptographyDeprecationWarning: The parsed certificate contains a NULL parameter value in its signature algorithm parameters. This is invalid and will be rejected in a future version of cryptography. If this certificate was created via Java, please upgrade to JDK16+ or the latest JDK11 once a fix is issued. If this certificate was created in some other fashion please report the issue to the cryptography issue tracker. See https://github.com/pyca/cryptography/issues/8996 for more details.
  pem_certificate = x509.load_pem_x509_certificate(certificate.encode())
2023-11-29 10:35:29 core-matter-server matter_server.server.helpers.paa_certificates[126] INFO Fetched 114 PAA root certificates from DCL.
2023-11-29 10:35:29 core-matter-server matter_server.server.helpers.paa_certificates[126] INFO Fetching the latest PAA root certificates from Git.
2023-11-29 10:35:29 core-matter-server matter_server.server.helpers.paa_certificates[126] INFO Fetched 2 PAA root certificates from Git.
2023-11-29 10:35:29 core-matter-server FabricAdmin[126] WARNING Allocating new controller with CaIndex: 1, FabricId: 0x0000000000000002, NodeId: 0x000000000001B669, CatTags: []
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO SetSdkKey: g/fs/c = b'\x15$\x00\x02(\x01\x18'
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO SetSdkKey: f/2/m = b'\x15%\x00K\x13,\x01\x00\x18'
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO SetSdkKey: f/2/n = b'\x150\x01\x01\x01$\x02\x017\x03$\x13\x02\x18&\x04\x80"\x81\'&\x05\x80%M:7\x06$\x15\x02&\x11i\xb6\x01\x00\x18$\x07\x01$\x08\x010\tA\x046\xeb\x89\xc3 M\xc8\x94\x14\x192I\x15D\xfe+\xd1+\xd5\xda\xa5\xb2\xce5\xe8\xe8\xa3H\x88\x81qs\x9b,l*\xf6\xb5Sb\xd2E/\xd6\xbb%C\x7f\x92\xd9o?\x8f){\x88\xde\xcej\xf8\xd8$\xe4\xaa7\n5\x01(\x01\x18$\x02\x016\x03\x04\x02\x04\x01\x180\x04\x14\'hP\xa0f\xaf\x02\xe1\xfe\x90\xbb\x1a\xaf]\xd9\xd9\x19v]:0\x05\x14\xe7\xc4\xe0\\\xd4\x12G/;\xd8\x19|?\x7fzY\xdc^H[\x180\x0b@\xa2\x97\x9bH\x0c\xae\xfd\xc4\xf30\xa2h.\xbb\xe6\xc3??\xbd\x9f\\(\xe2\x87\xddj_&\xac\x14\xbfS\x8a\xb3_u\xfdy\x88\xf8q\x95\xd6\x92o\x12E-\x9duF\xfd\xfaf\xbe\x8f\x92\xf7\xf7\xe4\x1b\xebX\x07\x18'
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO SetSdkKey: f/2/i = b'\x150\x01\x01\x01$\x02\x017\x03$\x14\x01\x18&\x04\x80"\x81\'&\x05\x80%M:7\x06$\x13\x02\x18$\x07\x01$\x08\x010\tA\x044\x86\xee\xaa\t\x8b\xea\xa9\xc2\xdb\x83\xe3:\x88\xa1\x91q\xb8\x91\xde\xdf]\x0e|~\xd9\xe2\xe0H3\xea\xa4\xd2r\xa7\x98\xdbo\xc4S/\xfb \xe9\xd1\xdb\\\x07-R\xc5\x07\x8b\xf6,#B\xd3`B\xfb\x8c\x92\xe17\n5\x01)\x01\x18$\x02`0\x04\x14\xe7\xc4\xe0\\\xd4\x12G/;\xd8\x19|?\x7fzY\xdc^H[0\x05\x14\xc7\xce1\n\xed\xcbD\xec\x05\x1f\x83\x14\x17\xbdo\x8f\x8c\x82\xa0|\x180\x0b@\xacD\xe1N\xee\x11\t\xb5\xaf}E\x1e@\xdb\xf4\x95f\xb2\x9dh0w\xbfzXs\x9c\xab\xc5\x02\x1f~\xfd\xaf\xb3|"b\xc9#\x97\xad<l\x801\x8b\x96ffXt\x10\xddW\x97\xc7\xc7Cy\xcb \x1ee\x18'
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO SetSdkKey: g/lkgt = b'\x15&\x00\x80\xa8\xbc,\x18'
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO DeleteSdkKey: g/fs/c
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO SetSdkKey: f/2/k/0 = b'\x15$\x01\x00$\x02\x016\x03\x15$\x04\x00%\x05]\xea0\x06\x10\xc1\x1c\xfd\xd9\xb6?\x15\x85\xce\xde\x87\x00\xe4>\xbfQ\x18\x15$\x04\x00$\x05\x000\x06\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x15$\x04\x00$\x05\x000\x06\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x18%\x07\xff\xff\x18'
2023-11-29 10:35:30 core-matter-server PersistentStorage[126] INFO Committing...
2023-11-29 10:35:30 core-matter-server matter_server.server.vendor_info[126] INFO Loading vendor info from storage.
2023-11-29 10:35:30 core-matter-server matter_server.server.vendor_info[126] INFO Loaded 113 vendors from storage.
2023-11-29 10:35:30 core-matter-server matter_server.server.vendor_info[126] INFO Fetching the latest vendor info from DCL.
2023-11-29 10:35:30 core-matter-server matter_server.server.vendor_info[126] INFO Fetched 100 vendors from DCL.
2023-11-29 10:35:30 core-matter-server matter_server.server.vendor_info[126] INFO Saving vendor info to storage.
2023-11-29 10:37:20 core-matter-server matter_server.server.client_handler[126] WARNING [548091899280] Disconnected: Received non-Text message.

I really don’t know what is wrong, but the last line says the Matter Server (AddON)'s client handler received non-text message. The Server’s client handler should be getting json formatted text over a websocket from HA Matter Integration using port 5580. Maybe something else is trying to use port 5580???

I don’t know what that could possibly be either. I don’t think I have anything using that port, I’m running HA OS so it shouldn’t have that kind of conflicts.