-
Notifications
You must be signed in to change notification settings - Fork 14
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
Node Demo Not Working Properly #355
Comments
Going to look up on this and get back to you soon! |
Hi @taff-git
|
Hi Cutis,
Thanks for quick reply.
The steps are simple as mentioned.
After getting into Demos/Node folder I ran the NPM install, build and Run
Then as for the Mediator ID, I put peerID:
did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly8xOTIuMTY4LjEuNDQ6ODA4MCIsImEiOlsiZGlkY29tbS92MiJdfX0.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6IndzOi8vMTkyLjE2OC4xLjQ0OjgwODAvd3MiLCJhIjpbImRpZGNvbW0vdjIiXX19
There is no other change in Code.
Regards,
…On Tue, Jan 21, 2025 at 4:15 PM Curtis ***@***.***> wrote:
Hi @taff-git <https://github.com/taff-git>
we're struggling to replicate the exact error you've encountered, could
you provide a little more information please:
- what were the exact steps you took to reach that point?
- what is the mediator DID being used?
- have you changed any of the demo code?
—
Reply to this email directly, view it on GitHub
<#355 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJ6V6STLL5F3MDLTT3XDL32LZI7JAVCNFSM6AAAAABVQJDYWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBUHA2TGMRWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@taff-git perfect, thanks for the update :) I think that the Mediator DID might be incorrect, did you get this from a locally running mediator or somewhere else? |
Hi again,
I used the mediator DID after running the docker compose from here,
*https://github.com/hyperledger/identus-mediator/blob/main/docker-compose.yml
<https://github.com/hyperledger/identus-mediator/blob/main/docker-compose.yml>*
If I missed something or need to download new repository of Identus Agent
SDK please let me know.
Regards,
…On Tue, Jan 21, 2025 at 5:59 PM Curtis ***@***.***> wrote:
@taff-git <https://github.com/taff-git> perfect, thanks for the update :)
I think that the Mediator DID might be incorrect, did you get this from a
locally running mediator or somewhere else?
—
Reply to this email directly, view it on GitHub
<#355 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJ6V6QFYSD3PM54U3FZWST2LZVGPAVCNFSM6AAAAABVQJDYWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBVGEZDINJTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @taff-git Can you just confirm that:
|
@taff-git that's great, thanks |
But Curtis, If I can host the mediator on my localhost, then what is blocking the communication and how to check it? |
I think the next step would be to see the original error, so either running the demo with a debugger attached or if that's not easy then you could add a console.log: |
Ok. Thanks, Let me try.. |
Hi Again, I tried running it in the debug mode the error occur at the, The error starts with Fetch, then move to RxDB- D8 error. |
I'm not sure I understand, I don't see how that store instancing code can generate a Fetch error? I'm expecting the error be thrown in also noticing that code you've pasted is different to what's committed? have you changed it locally? or is it on some branch? can't see how else it can be different... |
I also feel the code is different, But I have not changed anything in code. The index.js file you attached looked very large mine is just 10 lines of code. The repository I used is https://github.com/hyperledger/identus-edge-agent-sdk-ts, Regards, |
sorry the index being different is my mistake, the actual link should've read That aside, that link is the correct repo, and if you cloned last week the code should be the same, in fact the didcommStart file hasn't changed since it was added. can you try the debugging again, this time with using the sdk index? |
Yes the code is same, no change in recent repo. Also I ran the code in debug mode in build/index.js and you are right mediator is the issue. How to resolve it ? |
I don't know if I'm missing something, but I can't see the original error output (in the same way I've demonstrated) in your pictures. The only way forward I can think of is seeing the exact error that fetch is throwing, as this will narrow down why fetch is failing. |
hey @taff-git |
Hi Curtis, I am uable to find exact issue, so not able to fix it. Regards, |
Is this a regression?
Yes
Description
Hi,
The Node Demo is not working properly after start.
It is showing error related with SDK.Store module and RxDB.
"RxDB Error-Code DB8"
Also, DIDComm is not starting.
If someone know how to fix this please reply.
Regards,
Please provide the exception or error you saw
Please provide the environment you discovered this bug in
Anything else?
The text was updated successfully, but these errors were encountered: