Discussion:
[android-security-discuss] Safetynet ERROR: NETWORK_ERROR :null
parth k
2018-08-27 07:07:39 UTC
Permalink
Hello,

I have download safetynet sample application from google github repository
googlesamples <https://github.com/googlesamples> and when i run this
sample application i am getting this error " Error: NETWORK_ERROR : null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
'William' via Android Security Discussions
2018-08-27 17:59:35 UTC
Permalink
Hello,

Have you obtained an API key as outlined in
https://developer.android.com/training/safetynet/attestation ?
Post by parth k
Hello,
I have download safetynet sample application from google github repository
googlesamples <https://github.com/googlesamples> and when i run this
sample application i am getting this error " Error: NETWORK_ERROR : null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
parth k
2018-08-28 06:56:54 UTC
Permalink
Helli William Thank you for the reply ,

This is working fine previously but sudden it is show that error. I have
try with new API key but it show same.
Post by parth k
Hello,
Have you obtained an API key as outlined in
https://developer.android.com/training/safetynet/attestation ?
Post by parth k
Hello,
I have download safetynet sample application from google github
repository googlesamples <https://github.com/googlesamples> and when i
run this sample application i am getting this error " Error: NETWORK_ERROR
: null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
'William' via Android Security Discussions
2018-08-28 16:01:37 UTC
Permalink
Hello,

Without debugging the app for you, I would recommend that you read through
the sample code and watch out for all TODO comments, and also go over
https://developer.android.com/training/safetynet/attestation thoroughly.

We have recently made changes and also had an independent team test the
sample code, so it should work as long you make the correct TODO changes
and follow the updated docs.
Post by parth k
Helli William Thank you for the reply ,
This is working fine previously but sudden it is show that error. I have
try with new API key but it show same.
Post by parth k
Hello,
Have you obtained an API key as outlined in
https://developer.android.com/training/safetynet/attestation ?
Post by parth k
Hello,
I have download safetynet sample application from google github
repository googlesamples <https://github.com/googlesamples> and when
NETWORK_ERROR : null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
peter zencuch
2018-10-23 07:12:02 UTC
Permalink
Hey there, what happend that the safetynet sample is again unuseable
because of such network error?
After release of 16.0.0 version neither 15.0.1 or 16.0.0 is not working
(network error), i tried new api key but still receiving the same error,
who else has the same problem?

Hello,
Post by parth k
I have download safetynet sample application from google github repository
googlesamples <https://github.com/googlesamples> and when i run this
sample application i am getting this error " Error: NETWORK_ERROR : null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
peter zencuch
2018-10-23 08:19:36 UTC
Permalink
*Edit, only on one device i see this issue. Its original device i develope
on, on other devices its working, is there any quotta for one device??
Post by parth k
Hello,
I have download safetynet sample application from google github repository
googlesamples <https://github.com/googlesamples> and when i run this
sample application i am getting this error " Error: NETWORK_ERROR : null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
'William Luh' via Android Security Discussions
2018-10-23 16:10:26 UTC
Permalink
Hello,

Please read the section on Error cases (
https://developer.android.com/training/safetynet/attestation#compat-check-response
):

Error cases

The JWS message can also show several types of error conditions:

- A null result indicates that the call to the service didn't complete
successfully.
-

An error parameter indicates that an issue occurred, such as a network
error or an error that an attacker feigned. Most errors are transient and
should be absent if you retry the call to the service. You may want to
retry a few more times with increasing delays between each retry.

*Important:* If you trigger more than 5 calls per minute, you exceed the
API's fixed rate limit, which causes the remaining requests during that
minute to return an error.

If an error occurs, the result cannot represent a passed test, as an
attacker might intentionally trigger such an error.
Post by peter zencuch
*Edit, only on one device i see this issue. Its original device i develope
on, on other devices its working, is there any quotta for one device??
Post by parth k
Hello,
I have download safetynet sample application from google github
repository googlesamples <https://github.com/googlesamples> and when i
run this sample application i am getting this error " Error: NETWORK_ERROR
: null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at
https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
peter zencuch
2018-10-23 16:43:09 UTC
Permalink
Well, so for production application they will have to ask for higher
quotation than 5 calls per minute, the temporary error was also assigned to
the mention device altough on other devices was api key already working,
the temporary error was also seen after creating new project and new api
key for this device..
Post by parth k
Hello,
Please read the section on Error cases (
https://developer.android.com/training/safetynet/attestation#compat-check-response
Error cases
- A null result indicates that the call to the service didn't complete
successfully.
-
An error parameter indicates that an issue occurred, such as a network
error or an error that an attacker feigned. Most errors are transient and
should be absent if you retry the call to the service. You may want to
retry a few more times with increasing delays between each retry.
*Important:* If you trigger more than 5 calls per minute, you exceed
the API's fixed rate limit, which causes the remaining requests during that
minute to return an error.
If an error occurs, the result cannot represent a passed test, as an
attacker might intentionally trigger such an error.
Post by peter zencuch
*Edit, only on one device i see this issue. Its original device i
develope on, on other devices its working, is there any quotta for one
device??
Post by parth k
Hello,
I have download safetynet sample application from google github
repository googlesamples <https://github.com/googlesamples> and when
NETWORK_ERROR : null".
also internet connectivity is available in device. and previously this
application is working fine without any changes.
--
You received this message because you are subscribed to the Google Groups
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at
https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
Loading...