This repository was archived by the owner on Jan 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Errors when opening wallet in the browser #1721
Copy link
Copy link
Open
Description
Problem description
When following the deployment instructions (https://github.com/trustbloc/sandbox/blob/main/README.md#build-and-deployment) I was able to successfully deploy the components on Linux using the following command:
make setup-deploy
I'm using the latest commit in the main branch.
When I open the Wallet in the browser (https://wallet.local.trustbloc.dev/) I get infinite loading screen. There are two errors in the browser console.
Screenshots
Error 1
{
"message": "Request failed with status code 404",
"name": "AxiosError",
"code": "ERR_BAD_REQUEST",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {
"FormData": null
},
"headers": {
"Accept": "application/json, text/plain, */*"
},
"method": "get",
"url": "https://wallet.local.trustbloc.dev/config/credential-output-descriptors.json"
},
"request": {},
"response": {
"data": "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.23.1</center>\r\n</body>\r\n</html>\r\n",
"status": 404,
"statusText": "",
"headers": {
"content-length": "153",
"content-type": "text/html",
"date": "Tue, 14 Nov 2023 19:54:40 GMT",
"x-firefox-spdy": "h2"
},
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {
"FormData": null
},
"headers": {
"Accept": "application/json, text/plain, */*"
},
"method": "get",
"url": "https://wallet.local.trustbloc.dev/config/credential-output-descriptors.json"
},
"request": {}
}
}
Error 2
{
"message": "Request failed with status code 401",
"name": "AxiosError",
"code": "ERR_BAD_REQUEST",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {
"FormData": null
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"content-digest": "sha-256=:soyUshlcjtJZ8LQVqu4/ObCykgpFN2EUmfoESVaReiE=:",
"Signature-Input": "sig1=(\"@method\" \"@target-uri\" \"content-digest\");created=1699991687;keyid=\"key1\"",
"Signature": "sig1=:3LLH84Y4w45iP+5qJX686KDTvYp5bWf1oibnuwR3R3w7eOK2Us6cKZzvHMjHAsaWsaUjrVYZP6MIDWDDw4ye3g==:"
},
"method": "post",
"url": "https://hub-auth.local.trustbloc.dev/gnap/auth",
"data": "{\"access_token\":[{\"access\":[\"userdata-access\",\"kms-access\"]}],\"client\":{\"key\":{\"jwk\":{\"alg\":\"ES256\",\"crv\":\"P-256\",\"ext\":true,\"key_ops\":[\"verify\"],\"kty\":\"EC\",\"x\":\"WxLzkpCwU0vV1gn76rYK-PXOCTzIJJ4kojiTyBfdywg\",\"y\":\"oB-XJmJcnXALJ1RvWL-QLGVoCUEahusHaevD-lDsAp8\",\"kid\":\"key1\"},\"proof\":\"httpsig\"}},\"interact\":{\"start\":[\"redirect\"],\"finish\":{\"method\":\"redirect\",\"uri\":\"https://wallet.local.trustbloc.dev/gnap/redirect\",\"nonce\":\"9yt94k\"}}}"
},
"request": {},
"response": {
"data": {
"error": "request_denied"
},
"status": 401,
"statusText": "",
"headers": {
"content-length": "27",
"content-type": "text/plain; charset=utf-8"
},
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {
"FormData": null
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"content-digest": "sha-256=:soyUshlcjtJZ8LQVqu4/ObCykgpFN2EUmfoESVaReiE=:",
"Signature-Input": "sig1=(\"@method\" \"@target-uri\" \"content-digest\");created=1699991687;keyid=\"key1\"",
"Signature": "sig1=:3LLH84Y4w45iP+5qJX686KDTvYp5bWf1oibnuwR3R3w7eOK2Us6cKZzvHMjHAsaWsaUjrVYZP6MIDWDDw4ye3g==:"
},
"method": "post",
"url": "https://hub-auth.local.trustbloc.dev/gnap/auth",
"data": "{\"access_token\":[{\"access\":[\"userdata-access\",\"kms-access\"]}],\"client\":{\"key\":{\"jwk\":{\"alg\":\"ES256\",\"crv\":\"P-256\",\"ext\":true,\"key_ops\":[\"verify\"],\"kty\":\"EC\",\"x\":\"WxLzkpCwU0vV1gn76rYK-PXOCTzIJJ4kojiTyBfdywg\",\"y\":\"oB-XJmJcnXALJ1RvWL-QLGVoCUEahusHaevD-lDsAp8\",\"kid\":\"key1\"},\"proof\":\"httpsig\"}},\"interact\":{\"start\":[\"redirect\"],\"finish\":{\"method\":\"redirect\",\"uri\":\"https://wallet.local.trustbloc.dev/gnap/redirect\",\"nonce\":\"9yt94k\"}}}"
},
"request": {}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels