apache / incubator-milagro-dta

Apache Milagro Decentralized Trust Authority
https://milagro.apache.org/
Apache License 2.0
11 stars 8 forks source link

External Master Fiduciary returns "Failed to Decode" error #32

Open JohnMcW opened 5 years ago

JohnMcW commented 5 years ago

If I configure a D-TA to use an external fiduciary, and request an order, e.g.:

curl -X POST "http://localhost:5556/v1/order" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"BeneficiaryIDDocumentCID\":\"QmVnGYu4t9nZGPDweSDQnLxnNead1WEnggtLZSJp2ZZ3su\"}"

No response is returned. The following error is returned by the D-TA:

2019-09-05T09:49:13.005 [REQ] 1afbb04d-b2e1-4994-80ac-782332a6b02b POST /v1/order 2019-09-05T09:49:14.413 [ERR] reqID: 1afbb04d-b2e1-4994-80ac-782332a6b02b, err: Fail to retrieve Order from IPFS: DecodeIDDocument Failed to Decode: Failed to Decapsulate Encrypted Text in Envelope Decode: Recipient not found 2019-09-05T09:49:14.413 [RES] 1afbb04d-b2e1-4994-80ac-782332a6b02b POST /v1/order 500 Internal Server Error (1.407253379s)