question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem of running Hyperledger Indy, Aries, Ursa Agent Demonstration

See original GitHub issue

For this instruction https://github.com/cloudcompass/ToIPLabs/blob/main/src/indy-material/nodejs/RunningLocally.md, when I do the command ./manage build, it failed. The error image like this. image

I tried pip install --upgrade pip. But is didn’t work. It seemed that pip was still old version. Can you give me some advice?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
nebucazcommented, Dec 6, 2021

@2017zhangyuxuan If you change the file pool.dockerfile to the following version, you’ll be able to start the 4 indy-nodes.

#FROM bcgovimages/von-image:py35-1.6-8
FROM snel/von-image:node-1.12-4-arm64

USER indy
RUN pip install --no-cache-dir aiosqlite~=0.6.0

#ENV RUST_LOG ${RUST_LOG:-warning}
#RUN mkdir -p \
#        $HOME/ledger/sandbox/data \
#        $HOME/log \
#        $HOME/.indy-cli/networks \
#    chmod -R ug+rw $HOME/log $HOME/ledger $HOME/.indy-cli $HOME/.indy_client
#        $HOME/.indy_client/wallet && \

ADD --chown=indy:indy indy_config.py /etc/indy/
ADD --chown=indy:indy . $HOME
RUN chmod uga+x scripts/* bin/*
docker ps                                                      
CONTAINER ID   IMAGE       COMMAND                  CREATED         STATUS         PORTS                              NAMES
adb3980a357d   indy-node   "bash -c './scripts/…"   4 minutes ago   Up 4 minutes   0.0.0.0:9701-9702->9701-9702/tcp   nodejs_node1_1
5d512918fa24   indy-node   "bash -c './scripts/…"   4 minutes ago   Up 4 minutes   0.0.0.0:9705-9706->9705-9706/tcp   nodejs_node3_1
b61492524079   indy-node   "bash -c './scripts/…"   4 minutes ago   Up 4 minutes   0.0.0.0:9703-9704->9703-9704/tcp   nodejs_node2_1
dff2f418b638   indy-node   "bash -c './scripts/…"   4 minutes ago   Up 4 minutes   0.0.0.0:9707-9708->9707-9708/tcp   nodejs_node4_1

However, there seems to be another error in the agentjs wich will core dump every agent:

alice_1      | 
alice_1      | > indy-agent@0.0.0 start /home/indy/nodejs
alice_1      | > node ./bin/www
alice_1      | 
alice_1      | Segmentation fault
alice_1      | npm ERR! code ELIFECYCLE
alice_1      | npm ERR! errno 139
alice_1      | npm ERR! indy-agent@0.0.0 start: `node ./bin/www`
alice_1      | npm ERR! Exit status 139
alice_1      | npm ERR! 
alice_1      | npm ERR! Failed at the indy-agent@0.0.0 start script.
alice_1      | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
alice_1      | 
alice_1      | npm ERR! A complete log of this run can be found in:
alice_1      | npm ERR!     /home/indy/.npm/_logs/2021-12-06T15_00_00_573Z-debug.log
alice_1 exited with code 139

same for bob_1, faber_1, and thrift_1

0reactions
swcurrancommented, Dec 21, 2021

Sorry for being slow to answer this one. As @nebucaz correctly points out, this is a very old, locked in time demo that I should have retired. Rather than trying to fix this, I’ve replaced the lab with a new one that uses the latest code is maintained far better than the one I had been using.

I’m going to close this issue as “too old to address”, and you will see that the readme directs the user to a different, but similar lab.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exploring Agent Demonstration in Hyperledger Indy | by KC Tam
This demo shows how a Hyperledger Indy Agent works in handling credential and proof processes. Through the transactions in ledger and ...
Read more >
Hyperledger Indy, Aries Ursa Agent Demo Guide - ToIPLabs
This demonstration is based on some early Indy Agent code that should NOT be used as the basis of new implementations or as...
Read more >
Hyperledger Indy introduction with Indy Agents Demo - YouTube
This is a recording of the Sovrin Foundation meetup held on 11/9/18. It's a first try at the talk I'll be giving at...
Read more >
Trust Over IP: Hyperledger Ursa, Indy, and Aries - YouTube
In this virtual meetup hosted by Hyperledger Toronto, Stephen Curran talks about three of Hyperledger's newest projects.
Read more >
Hyperledger Indy/Aries/Ursa Demo: Using a Mobile ... - YouTube
Hyperledger Indy / Aries / Ursa Demo : Using a Mobile Agent to get and use Verifiable Credentials.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found