Skip to content

ccp driver not work #7

Open
Open
@hello2mao

Description

@hello2mao

When resolving example did did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw, we got following error:
image

However, when I resolve it locally use curl like below, it success.

curl http://localhost:8080/1.0/identifiers/did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw
{"redirect":null,"didDocument":{
  "@context" : "https://www.w3.org/2019/did/v1",
  "id" : "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw",
  "service" : [ {
    "type" : "DIDResolve",
    "serviceEndpoint" : "https://did.baidu.com"
  } ],
  "authentication" : [ {
    "type" : "Secp256k1",
    "publicKey" : [ "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw#key-1" ]
  } ],
  "publicKey" : [ {
    "id" : "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw#key-1",
    "type" : "Secp256k1",
    "publicKeyHex" : "046fcbedd1107ca45be3e81fc445e5a366886a89e7087fe3d128e6236302f31594740f250433ebe9f0abcbd04dbf9c5979e270a0772ad1cc502cec2d5de9504c8c"
  }, {
    "id" : "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw#key-2",
    "type" : "Secp256k1",
    "publicKeyHex" : "0496712d16b0836684aacd5ab6ba3d489c35efa31f414a1c6a455fc6b37ff28e5fa97ac29c1021b76e5b78e2bbceac1dfc4ec98e6b2b3e65a29f7f1cd4944dfb93"
  } ]
},"resolverMetadata":null,"methodMetadata":{"version":2,"proof":{"creator":"did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw#key-1","type":"Secp256k1","signatureValue":"30440220211ffc76ae2858d6baa29faa9b576d6b2e048e8f4f7767ee1c2fba7ae6c2a78102205f5b56cd1431830b45109d716631638d961e5b252c2c2354d8bb96782d8a62ef"},"created":"2019-10-21T11:12:13.065Z","updated":"2019-10-21T11:17:49.379Z"}}%

@peacekeeper hi, Could you help me with this problem? Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions