Comments (5)
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.
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.
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.
PR #92 has been merged and should fix this issue.
from sample-apps-for-matter-android.
@pierredelisle
This problem is not fixed.
I commented following.
#92 (comment)
from sample-apps-for-matter-android.
Related Issues (20)
- awaitCommissionDevice, errorCode 773 HOT 5
- Rebuilding CHIP libs
- Kotlin templates for CHIP commands, ClusterHelper HOT 1
- Attribute reporting -- chunking on Thread HOT 1
- Encountered 12 files that should have been pointers, but weren't HOT 8
- How to build CHIPTool libraries ? HOT 4
- Issue with Google Home Sample App with the Boarder Router. HOT 2
- Question: Multiple CHIPTools librairies HOT 6
- Crash by runDevicesPeriodicPing. HOT 1
- Why does GMS require a Google Account for Matter device comissioning? HOT 20
- Documentation Misalignment with Current Repository HOT 5
- Voice commands HOT 1
- Read Attribute from manufacturer specific custom cluster HOT 4
- can existing google fabric reused by other ecosystem custom app like (apple ios matter custom app) HOT 1
- Not able to add the matter device HOT 1
- Commissioning was failed at the step “Connecting device to GHSAFM-3p-ecosystem...” HOT 2
- Matter integration setup issue HOT 2
- Switch to KSP instead of KAPT
- Composable previews not shown HOT 1
- What else do I need to do if I don't jump to “google matter add fragment” after calling commissionDevice in viewModel HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-apps-for-matter-android.