This project is archived. Its data is read-only.
Not able to execute policy
## Description: The Task service can not execute a policy. ## Steps to reproduce: - make a call to the task service using the [didResolver](https://gitlab.eclipse.org/eclipse/xfsc/tsa/policies/-/blob/main/example/didResolve/1.0/policy.rego?ref_type=heads) policy `curl --location '{URL}/tsa/task/v1/task/didResolve' \ --header 'Content-Type: application/json' \ --data '{ "did": "did:key:z6Mkfriq1MqLBoPWecGoDLjguo1sB9brj6wT3qZ5BxkKpuP6" }'` - get the taskID and make a call to get the result `curl --location '{URL}/tsa/task/v1/taskResult/{taskID}'` ### Expected result: ```json { "kty":"OKP", "crv":"Ed25519", "x":"FN5URrQRnKSaEjQvC8e6vpNGxivoocgPLgmzv_5JH2k" } ``` ### Actual result: ```json { "id": "...", "kind": 5, "message": "task is not found" } ``` ### Logs: ```json { "caller":"executor/worker.go:73", "msg":"error executing task", "taskName":"didResolve", "error":"error evaluating request policy: unexpected response on policy evaluation: 404" } { "caller":"executor/worker.go:66", "msg":"task removed from queue due to too many failed executions", "taskName":"didResolve" } ```
issue

Copyright © Eclipse Foundation AISBL. All rights reserved.     Privacy Policy | Terms of Use | Copyright Agent