Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while generating the did of the issuer node. #658

Closed
varshney565 opened this issue Apr 25, 2024 · 8 comments
Closed

Error while generating the did of the issuer node. #658

varshney565 opened this issue Apr 25, 2024 · 8 comments
Labels

Comments

@varshney565
Copy link

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.

@martinsaporiti
Copy link
Contributor

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).

@varshney565
Copy link
Author

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

@martinsaporiti
Copy link
Contributor

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

@varshney565
Copy link
Author

varshney565 commented Apr 26, 2024

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.

@martinsaporiti
Copy link
Contributor

main brach works with Amoy network.

@x1m3
Copy link
Contributor

x1m3 commented May 8, 2024

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

Copy link

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 github-actions bot added the Stale label May 29, 2024
Copy link

github-actions bot commented Jun 9, 2024

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants