Giter Club home page Giter Club logo

Comments (5)

pierredelisle avatar pierredelisle commented on May 19, 2024 1

If the device is not a "test device", then attestation will fail.
The Matter SDK now makes it possible to bypass attestation verification. I'll work on a PR to support bypassing attestation verification.

from sample-apps-for-matter-android.

pierredelisle avatar pierredelisle commented on May 19, 2024

I looked at the log file and do not see any logs related to GHSAFM. Are these logs for GHA instead?
At any rate, what certificate is used on the device? Attestation failed so there is an issue with the certificate.

2023-02-16 14:56:22.489 13598-13598/? E/SetupDeviceViewModel: Commissioning failed with state Attestation failure. [CONTEXT service_id=336 ]\
    m.eme: Device did not pass attestation (error(s)=[10, 5])\
        at m.enh.g(:com.google.android.gms.optional_home@[email protected] (100400-0):36)\
        at m.enb.b(:com.google.android.gms.optional_home@[email protected] (100400-0):0)\
        at m.nne.f(:com.google.android.gms.optional_home@[email protected] (100400-0):4)\
        at m.nuo.run(:com.google.android.gms.optional_home@[email protected] (100400-0):8)\
        at android.os.Handler.handleCallback(Handler.java:942)\
        at android.os.Handler.dispatchMessage(Handler.java:99)\
        at android.os.Looper.loopOnce(Looper.java:201)\
        at android.os.Looper.loop(Looper.java:288)\
        at android.app.ActivityThread.main(ActivityThread.java:7872)\
        at java.lang.reflect.Method.invoke(Native Method)\
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)\
2023-02-16 14:56:22.490 13598-13598/? E/SetupDeviceChimeraActiv: Showing error status. [CONTEXT service_id=336 ]\
    m.flw: Device did not pass attestation (error(s)=[10, 5])\
        at m.fta.a(:com.google.android.gms.optional_home@[email protected] (100400-0):12)\
        at m.obf.a(:com.google.android.gms.optional_home@[email protected] (100400-0):0)\
        at m.obe.a(:com.google.android.gms.optional_home@[email protected] (100400-0):7)\
        at m.edo.b(:com.google.android.gms.optional_home@[email protected] (100400-0):87)\
        at m.nne.f(:com.google.android.gms.optional_home@[email protected] (100400-0):4)\
        at m.nuo.run(:com.google.android.gms.optional_home@[email protected] (100400-0):7)\
        at android.os.Handler.handleCallback(Handler.java:942)\
        at android.os.Handler.dispatchMessage(Handler.java:99)\
        at android.os.Looper.loopOnce(Looper.java:201)\
        at android.os.Looper.loop(Looper.java:288)\
        at android.app.ActivityThread.main(ActivityThread.java:7872)\
        at java.lang.reflect.Method.invoke(Native Method)\
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)\
     Caused by: m.eme: Device did not pass attestation (error(s)=[10, 5])\
        at m.enh.g(:com.google.android.gms.optional_home@[email protected] (100400-0):36)\
        at m.enb.b(:com.google.android.gms.optional_home@[email protected] (100400-0):0)\
        at m.nne.f(:com.google.android.gms.optional_home@[email protected] (100400-0):4)\
        at m.nuo.run(:com.google.android.gms.optional_home@[email protected] (100400-0):8)\
        at android.os.Handler.handleCallback(Handler.java:942)\'a0\
        at android.os.Handler.dispatchMessage(Handler.java:99)\'a0\
        at android.os.Looper.loopOnce(Looper.java:201)\'a0\
        at android.os.Looper.loop(Looper.java:288)\'a0\
        at android.app.ActivityThread.main(ActivityThread.java:7872)\'a0\
        at java.lang.reflect.Method.invoke(Native Method)\'a0\
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\'a0\
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)\'a0\

from sample-apps-for-matter-android.

TadashiSatoo avatar TadashiSatoo commented on May 19, 2024

Thank you for reply.
Sorry,log was not enough.Re attached log,but result is same.
commissioning.log

I used not certification device.
Does sample app succeed only on certification devices?

I try GHA,it is successful on not certification device.
What changes should be made to the sample app for same as result on GHA?

from sample-apps-for-matter-android.

pierredelisle avatar pierredelisle commented on May 19, 2024

PR #92 has been merged and should fix this issue.

from sample-apps-for-matter-android.

TadashiSatoo avatar TadashiSatoo commented on May 19, 2024

@pierredelisle
This problem is not fixed.
I commented following.
#92 (comment)

from sample-apps-for-matter-android.

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.