Debug jsonwebkey #2735
Annotations
8 errors and 1 notice
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L174
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
172 | const result = await verifyResponse.json();
173 | expect(verifyResponse).toBeOK();
> 174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
175 | expect(result.verified).toBe(true);
176 | });
177 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:174:34
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L173
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify?fetchRemoteContexts=true
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 746
- ← 400 Bad Request
- content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
- cross-origin-opener-policy: same-origin
- cross-origin-resource-policy: same-origin
- origin-agent-cluster: ?1
- referrer-policy: no-referrer
- strict-transport-security: max-age=15552000; includeSubDomains
- x-content-type-options: nosniff
- x-dns-prefetch-control: off
- x-download-options: noopen
- x-frame-options: SAMEORIGIN
- x-permitted-cross-domain-policies: none
- x-xss-protection: 0
- vary: Origin
- content-type: application/json; charset=utf-8
- content-length: 3249
- etag: W/"cb1-hdDubUQ8pHTWtDV/OFVV6K8wQWY"
- date: Thu, 17 Oct 2024 11:47:31 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: {\"name\":\"VerificationError\",\"errors\":[{\"name\":\"jsonld.InvalidUrl\",\"details\":{\"code\":\"loading remote context failed\",\"url\":\"https://identity.foundation/.well-known/did-configuration/v1\",\"cause\":{\"name\":\"Error\",\"message\":\"Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\",\"stack\":\"Error: Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\\n at documentLoader (/home/runner/work/studio/studio/node_modules/@digitalcredentials/vc/lib/documentLoader.js:18:9)\\n at Module.<anonymous> (/home/runner/work/studio/studio/node_modules/@digitalcredentials/jsonld-signatures/lib/documentLoader.js:48:12)\\n at file:///home/runner/work/studio/studio/node_modules/@veramo/credential-ld/build/ld-credential-module.js:77:23\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async Conte
171 | });
172 | const result = await verifyResponse.json();
> 173 | expect(verifyResponse).toBeOK();
| ^
174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
175 | expect(result.verified).toBe(true);
176 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:173:25
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L1
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Error: end of central directory record signature not found
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L174
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
172 | const result = await verifyResponse.json();
173 | expect(verifyResponse).toBeOK();
> 174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
175 | expect(result.verified).toBe(true);
176 | });
177 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:174:34
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L173
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify?fetchRemoteContexts=true
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 746
- ← 400 Bad Request
- content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
- cross-origin-opener-policy: same-origin
- cross-origin-resource-policy: same-origin
- origin-agent-cluster: ?1
- referrer-policy: no-referrer
- strict-transport-security: max-age=15552000; includeSubDomains
- x-content-type-options: nosniff
- x-dns-prefetch-control: off
- x-download-options: noopen
- x-frame-options: SAMEORIGIN
- x-permitted-cross-domain-policies: none
- x-xss-protection: 0
- vary: Origin
- content-type: application/json; charset=utf-8
- content-length: 3249
- etag: W/"cb1-hdDubUQ8pHTWtDV/OFVV6K8wQWY"
- date: Thu, 17 Oct 2024 11:47:44 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: {\"name\":\"VerificationError\",\"errors\":[{\"name\":\"jsonld.InvalidUrl\",\"details\":{\"code\":\"loading remote context failed\",\"url\":\"https://identity.foundation/.well-known/did-configuration/v1\",\"cause\":{\"name\":\"Error\",\"message\":\"Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\",\"stack\":\"Error: Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\\n at documentLoader (/home/runner/work/studio/studio/node_modules/@digitalcredentials/vc/lib/documentLoader.js:18:9)\\n at Module.<anonymous> (/home/runner/work/studio/studio/node_modules/@digitalcredentials/jsonld-signatures/lib/documentLoader.js:48:12)\\n at file:///home/runner/work/studio/studio/node_modules/@veramo/credential-ld/build/ld-credential-module.js:77:23\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async Conte
171 | });
172 | const result = await verifyResponse.json();
> 173 | expect(verifyResponse).toBeOK();
| ^
174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
175 | expect(result.verified).toBe(true);
176 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:173:25
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L174
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
172 | const result = await verifyResponse.json();
173 | expect(verifyResponse).toBeOK();
> 174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
175 | expect(result.verified).toBe(true);
176 | });
177 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:174:34
|
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L173
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify?fetchRemoteContexts=true
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 746
- ← 400 Bad Request
- content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
- cross-origin-opener-policy: same-origin
- cross-origin-resource-policy: same-origin
- origin-agent-cluster: ?1
- referrer-policy: no-referrer
- strict-transport-security: max-age=15552000; includeSubDomains
- x-content-type-options: nosniff
- x-dns-prefetch-control: off
- x-download-options: noopen
- x-frame-options: SAMEORIGIN
- x-permitted-cross-domain-policies: none
- x-xss-protection: 0
- vary: Origin
- content-type: application/json; charset=utf-8
- content-length: 3249
- etag: W/"cb1-hdDubUQ8pHTWtDV/OFVV6K8wQWY"
- date: Thu, 17 Oct 2024 11:47:57 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: {\"name\":\"VerificationError\",\"errors\":[{\"name\":\"jsonld.InvalidUrl\",\"details\":{\"code\":\"loading remote context failed\",\"url\":\"https://identity.foundation/.well-known/did-configuration/v1\",\"cause\":{\"name\":\"Error\",\"message\":\"Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\",\"stack\":\"Error: Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\\n at documentLoader (/home/runner/work/studio/studio/node_modules/@digitalcredentials/vc/lib/documentLoader.js:18:9)\\n at Module.<anonymous> (/home/runner/work/studio/studio/node_modules/@digitalcredentials/jsonld-signatures/lib/documentLoader.js:48:12)\\n at file:///home/runner/work/studio/studio/node_modules/@veramo/credential-ld/build/ld-credential-module.js:77:23\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async Conte
171 | });
172 | const result = await verifyResponse.json();
> 173 | expect(verifyResponse).toBeOK();
| ^
174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
175 | expect(result.verified).toBe(true);
176 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:173:25
|
|
|
This job failed
Loading