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: DID is not enrolled, CODE e.p.req.not_enroll #353

Open
shuidev99 opened this issue Jan 15, 2025 · 1 comment
Open

Error: DID is not enrolled, CODE e.p.req.not_enroll #353

shuidev99 opened this issue Jan 15, 2025 · 1 comment

Comments

@shuidev99
Copy link

shuidev99 commented Jan 15, 2025

Is this a regression?

Yes

Description

I encountered an issue while using Typescript sample app - (Next demo) where the agent fails with the following error message:
The DID 'did:peer:2.Ez6LS...SW10' is not enrolled., CODE e.p.req.not_enroll.

This occurred while I was following the official tutorial provided by the project (https://hyperledger.github.io/identus-docs/docs/quick-start/) . Relevant logs and a screenshot of the error are provided below for reference.

UI log:

Image

identus-mediator-identus-mediator-1 container log:

Image

Please provide the exception or error you saw

The tutorial should execute successfully without any errors.

Please provide the environment you discovered this bug in

Same with this tutorial: https://hyperledger.github.io/identus-docs/docs/quick-start/

Anything else?

I was following the official tutorial and ensured that all steps were executed as described.

@curtis-h
Copy link
Contributor

Hi @shuidev99 ,
This tends to happen when a stale peerDID is being used to communicate with the mediator.
Can you clear your local db: open dev-tools, select the Application tab, then select IndexedDB storage and remove all the tables. Then try again: refresh the page, enter your mediator DID, connect to DB and start the Agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants