Code Monkey home page Code Monkey logo

Comments (5)

cecille avatar cecille commented on July 21, 2024

if you look in the TH log, the PBKDF request is sent and then almost immediately times out

2024-04-26 12:39:18,382 - chip.native.SC - DEBUG - __init__.py:_RedirectToPythonLogging:42 - Sent PBKDF param request
2024-04-26 12:39:18,383 - chip.native.CTL - INFO - __init__.py:_RedirectToPythonLogging:40 - Setting attestation nonce to random value
2024-04-26 12:39:18,383 - chip.native.CTL - INFO - __init__.py:_RedirectToPythonLogging:40 - Setting CSR nonce to random value
2024-04-26 12:39:18,383 - chip.native.CTL - INFO - __init__.py:_RedirectToPythonLogging:40 - Commission called for node ID 0x0000000012344321
2024-04-26 12:39:18,384 - chip.native.CTL - ERROR - __init__.py:_RedirectToPythonLogging:38 - Unknown filter type; all matches will fail
2024-04-26 12:39:18,384 - chip.native.SC - ERROR - __init__.py:_RedirectToPythonLogging:38 - PASESession timed out while waiting for a response from the peer. Expected message type was 33
2024-04-26 12:39:18,384 - chip.native.IN - DEBUG - __init__.py:_RedirectToPythonLogging:42 - SecureSession[0x2ab0cd870]: Released - Type:1 LSID:62902
2024-04-26 12:39:18,385 - chip.native.ZCL - ERROR - __init__.py:_RedirectToPythonLogging:38 - Secure Pairing Failed

It then later receives the PBKDF response and drops it as unexpected

2024-04-26 12:39:18,435 - chip.native.EM - ERROR - __init__.py:_RedirectToPythonLogging:38 - Dropping unexpected message of type 0x21 with protocolId (0, 0) and MessageCounter:141543206 on exchange 11771i

NOTE: 0x21 == 33

from connectedhomeip.

bzbarsky-apple avatar bzbarsky-apple commented on July 21, 2024

Looking at one more previous line on the TH side:

2024-04-26 12:34:44,562 - chip.native.EM - INFO - __init__.py:_RedirectToPythonLogging:40 - <<< [E:11771i S:0 M:183271843] (U) Msg TX to 0:0000000000000000 [0000] [UDP:[fe80::dea6:32ff:feab:25e5%en1]:5540] --- Type 0000:20 (SecureChannel:PBKDFParamRequest)
2024-04-26 12:39:18,382 - chip.native.SC - DEBUG - __init__.py:_RedirectToPythonLogging:42 - Sent PBKDF param request

Note that almost-5-minute (!) gap between when we log that we sent the packet and when we log that we returned from the function that sent the packet. That's why it immediately times out: the timeout time was set before that "Msg TX" log line, and 274s is longer than that timeout.

This looks like the same problem as #33993 and #33997

from connectedhomeip.

Saravana-kr22 avatar Saravana-kr22 commented on July 21, 2024

@bzbarsky-apple The below are the logs of the last week run on commit: d033f8b

TH-log: log_2024-07-12_10-37-53.log
DUT-log: Dut_log_197_2024-07-12T10_38_44_407316.log

Platform
controller - python controller running on raspi,
DUT - all-cluster-app running on raspi

Provisioned using Ble-wifi

Platform Version(s)
RPI-4, 8GB RAM

TCPdump file: tcpdump.zip

from connectedhomeip.

bzbarsky-apple avatar bzbarsky-apple commented on July 21, 2024

@Saravana-kr22 so that's different TH hardware and different commissioning method than the original issue here, right? Seems like it should be a separate issue, because it's got a completely different thing going on. In particular, the BLE connection is not working right in that log.

from connectedhomeip.

bzbarsky-apple avatar bzbarsky-apple commented on July 21, 2024

Duplicate of #33993

from connectedhomeip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.