security-samples icon indicating copy to clipboard operation
security-samples copied to clipboard

fido2 404 Not Found

Open cywudia opened this issue 2 years ago • 0 comments

When I run the fido demo, then click google to log in, select an account, and report this error after logging in successfully: com.fido.example.fido2apiexample E/GAEService: Error getting all security key tokens com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>404 Page not found</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Page not found</h1>
<h2>The requested URL was not found on this server.</h2>
<h2></h2>
</body></html>

    at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
    at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)
    at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1067)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
    at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
    at com.fido.example.fido2apiexample.GAEService.getAllSecurityTokens(GAEService.java:343)
    at com.fido.example.fido2apiexample.Fido2DemoActivity$15.call(Fido2DemoActivity.java:565)
    at com.fido.example.fido2apiexample.Fido2DemoActivity$15.call(Fido2DemoActivity.java:561)
    at com.google.android.gms.tasks.zzv.run(Unknown Source:2)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
    at java.lang.Thread.run(Thread.java:1012)

cywudia avatar Dec 06 '22 09:12 cywudia