issuer-node icon indicating copy to clipboard operation
issuer-node copied to clipboard

Error while generating the did of the issuer node.

Open varshney565 opened this issue 2 years ago • 8 comments

Expected behaviour

when i am running the command make generate-issuer-did it should generate the did of the issuer node.

Actual behaviour

but i am getting the error that saying wrong did metadata

System information

these are my env settings ISSUER_API_IDENTITY_METHOD=polygonid ISSUER_API_IDENTITY_BLOCKCHAIN=polygon ISSUER_API_IDENTITY_NETWORK=amoy ISSUER_API_UI_KEY_TYPE=BJJ

Issuer node version: main OS & Version: Linux Browser & Version: Chrome

Logs

[logs]
time=2024-04-24T09:49:25.998Z level=ERROR msg="adding genesis claims to tree" err="wrong DID Metadata"
time=2024-04-24T09:49:25.998Z level=ERROR msg="creating identity" err="can't add genesis claims to tree: wrong DID Metadata" id=<nil>
time=2024-04-24T09:49:25.998Z level=ERROR msg="error creating identifier" !BADKEY="cannot create identity: can't add genesis claims to tree: wrong DID Metadata"

When submitting logs, please submit them as text and not as screenshots.

varshney565 avatar Apr 25 '24 09:04 varshney565

Hi @varshney565, please try removing all the previous docker images and docker containers related to the issuer node (API, api-ui, pending-publisher and notifications). You can keep the containers related to infrastructure (postgres, redis, vault).

martinsaporiti avatar Apr 25 '24 09:04 martinsaporiti

yes i have removed all the previous docker images and the docker containers but still i got that issue.

varshney565 avatar Apr 25 '24 09:04 varshney565

That log error is because you are executing old code (not supporting amoy). In some way, docker is caching something if you have deleted previous images. Maybe you can try docker builder prune

martinsaporiti avatar Apr 25 '24 12:04 martinsaporiti

at which version currently amoy is running stable ? I am currently using the main version. I have done as you said but it is not working.

varshney565 avatar Apr 26 '24 05:04 varshney565

main brach works with Amoy network.

martinsaporiti avatar May 04 '24 18:05 martinsaporiti

@varshney565 In case you are using docker images, please, double check that old images has been removed.

x1m3 avatar May 08 '24 07:05 x1m3

This issue is stale because it has been open 20 days with no activity. Remove stale label, add the enhancement label or comment to avoid closing it in 10 days.

github-actions[bot] avatar May 29 '24 05:05 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Jun 09 '24 05:06 github-actions[bot]