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

While trying to anchor I am getting Get challenge service not available error #64

Open
sakalis opened this issue Nov 26, 2023 · 2 comments

Comments

@sakalis
Copy link

sakalis commented Nov 26, 2023

I am trying to anchor the did to the default address and I am getting the following error

Getting challenge from: https://beta.ion.msidentity.com/api/v1.0/proof-of-work-challenge
C:\tmp\ion\node_modules@decentralized-identity\ion-pow-sdk\src\index.js:27
throw new Error('Get challenge service not available')
^

Error: Get challenge service not available
at IonProofOfWork.submitIonRequest (C:\tmp\ion\node_modules@decentralized-identity\ion-pow-sdk\src\index.js:27:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async main (C:\tmp\ion\index2.js:45:30)

Node.js v20.9.0

@macterra
Copy link

Me too. Any work arounds?

@macterra
Copy link

Just for the record, instead of using the anchor function I used the API directly, e.g.

        const getAnchor = await axios.post('http://localhost:3000/operations/', createRequest);
        const anchor = getAnchor.data;

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