Giter Club home page Giter Club logo

decentralised-dataexchange / aries-playground Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 4.0 2.64 MB

This is a dockerised version of aries agents connecting to the indy network. This is part of NGI-eSSIF-Lab that has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 871932

License: Apache License 2.0

Shell 17.24% Python 59.08% Dockerfile 23.67%
ledger agents hyperledger-aries hyperledger-indy verifiable-organizations-network verifiable-credentials aries aries-agents hyperledger

aries-playground's People

Contributors

georgepadayatti avatar janlin avatar lalc avatar selbin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aries-playground's Issues

Agent label in the response JSON for create invitation is incorrect

The invitation URL in the response is using http://agent3.localhost instead of http://agent1.localhost which is the correct service endpoint.

The Response JSON structure in the question can be found here

 {
  "connection_id": "e18c5108-4040-4a1e-b994-e80eaab5e3d2",
  "invitation": {
    "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/connections/1.0/invitation",
    "@id": "903fc685-0463-4f92-93ff-43dbdbfb1297",
    "serviceEndpoint": "http://agent1.localhost",
    "recipientKeys": [
        "7eCdJgj5r5ZjGYqVJYGTjdjFqxNnP3oWxYseagPoB1gg"
     ],
    "label": "Test-Center"
  },
  "invitation_url": "http://agent3.localhost?c_i=eyJAdHlwZSI6ICJkaWQ6c292OkJ6Q2JzTlloTXJqSGlxWkRUVUFTSGc7c3BlYy9jb25uZWN0aW9ucy8xLjAvaW52aXRhdGlvbiIsICJAaWQiOiAiOTAzZmM2ODUtMDQ2My00ZjkyLTkzZmYtNDNkYmRiZmIxMjk3IiwgInNlcnZpY2VFbmRwb2ludCI6ICJodHRwOi8vYWdlbnQzLmxvY2FsaG9zdCIsICJyZWNpcGllbnRLZXlzIjogWyI3ZUNkSmdqNXI1WmpHWXFWSllHVGpkakZxeE5uUDNvV3hZc2VhZ1BvQjFnZyJdLCAibGFiZWwiOiAiVHJhdmVsLUNvbXBhbnkifQ=="
 }

encountered error when bringing up docker-compose

An error occured when bringing up system. Cannot pinpoint the issue. Is there additional logs that are needed?

*** command line ***
$ docker-compose up
Starting agent1.webhook ... done
Starting agent2.webhook ... done
Starting agent3.localhost ... done
Starting aries-playground_nginx_1 ... done
Starting agent3.webhook ... done
Starting agent1.localhost ... done
Starting agent2.localhost ... done
Attaching to aries-playground_nginx_1, agent3.localhost, agent2.localhost, agent1.localhost, agent3.webhook, agent1.webhook, agent2.webhook
agent3.webhook | * Serving Flask app "app" (lazy loading)
agent3.webhook | * Environment: production
agent3.webhook | WARNING: Do not use the development server in a production environment.
agent3.webhook | Use a production WSGI server instead.
agent3.webhook | * Debug mode: on
agent2.webhook | * Serving Flask app "app" (lazy loading)
agent2.webhook | * Environment: production
agent2.webhook | WARNING: Do not use the development server in a production environment.
agent2.webhook | Use a production WSGI server instead.
agent2.webhook | * Debug mode: on
agent1.webhook | * Serving Flask app "app" (lazy loading)
agent1.webhook | * Environment: production
agent1.webhook | WARNING: Do not use the development server in a production environment.
agent1.webhook | Use a production WSGI server instead.
agent1.webhook | * Debug mode: on
agent3.localhost | usage: aca-py start [-h] [--admin ] [--admin-api-key ]
agent3.localhost | [--admin-insecure-mode] [--no-receive-invites]
agent3.localhost | [--help-link ] [--webhook-url ] [--debug]
agent3.localhost | [--debug-seed ] [--debug-connections]
agent3.localhost | [--debug-credentials] [--debug-presentations] [--invite]
agent3.localhost | [--invite-role ] [--invite-label ]
agent3.localhost | [--invite-multi-use] [--invite-public]
agent3.localhost | [--test-suite-endpoint ] [--auto-accept-invites]
agent3.localhost | [--auto-accept-requests] [--auto-respond-messages]
agent3.localhost | [--auto-respond-credential-proposal]
agent3.localhost | [--auto-respond-credential-offer]
agent3.localhost | [--auto-respond-credential-request]
agent3.localhost | [--auto-respond-presentation-proposal]
agent3.localhost | [--auto-respond-presentation-request]
agent3.localhost | [--auto-store-credential] [--auto-verify-presentation]
agent3.localhost | [--plugin ] [--storage-type ]
agent3.localhost | [-e [ ...]] [--read-only-ledger]
agent3.localhost | [--tails-server-base-url ]
agent3.localhost | [--ledger-pool-name ]
agent3.localhost | [--genesis-transactions ]
agent3.localhost | [--genesis-file ]
agent3.localhost | [--genesis-url ]
agent3.localhost | [--log-config ] [--log-file ]
agent3.localhost | [--log-level ] [--auto-ping-connection]
agent3.localhost | [--invite-base-url ] [--monitor-ping]
agent3.localhost | [--public-invites] [--timing] [--timing-log ]
agent3.localhost | [--trace] [--trace-target ]
agent3.localhost | [--trace-tag ] [--trace-label ]
agent3.localhost | [--preserve-exchange-records] -it
agent3.localhost | -ot [-l ]
agent3.localhost | [--max-message-size ]
agent3.localhost | [--enable-undelivered-queue]
agent3.localhost | [--max-outbound-retry MAX_OUTBOUND_RETRY]
agent3.localhost | [--seed ] [--wallet-local-did]
agent3.localhost | [--wallet-key ]
agent3.localhost | [--wallet-rekey ]
agent3.localhost | [--wallet-name ]
agent3.localhost | [--wallet-type ]
agent3.localhost | [--wallet-storage-type ]
agent3.localhost | [--wallet-storage-config ]
agent3.localhost | [--wallet-storage-creds ]
agent3.localhost | [--replace-public-did]
agent3.localhost | aca-py start: error: the following arguments are required: -it/--inbound-transport, -ot/--outbound-transport
agent3.localhost | ./startup.sh: line 2: -it: command not found
agent3.localhost | ./startup.sh: line 3: -ot: command not found
agent3.localhost | ./startup.sh: line 4: -e: command not found
agent3.localhost | ./startup.sh: line 5: --label: command not found
agent3.localhost | ./startup.sh: line 6: --admin: command not found
agent3.localhost | ./startup.sh: line 7: --admin-insecure-mode: command not found
agent3.localhost | ./startup.sh: line 8: --auto-accept-requests: command not found
agent3.localhost | ./startup.sh: line 9: --auto-respond-credential-proposal: command not found
agent3.localhost | ./startup.sh: line 10: --auto-respond-presentation-proposal: command not found
agent3.localhost | ./startup.sh: line 11: --genesis-url: command not found
agent3.localhost | ./startup.sh: line 12: --wallet-type: command not found
agent3.localhost | ./startup.sh: line 13: --wallet-name: command not found
agent3.localhost | ./startup.sh: line 14: --webhook-url: command not found
agent2.localhost | usage: aca-py start [-h] [--admin ] [--admin-api-key ]
agent2.localhost | [--admin-insecure-mode] [--no-receive-invites]
agent2.localhost | [--help-link ] [--webhook-url ] [--debug]
agent2.localhost | [--debug-seed ] [--debug-connections]
agent2.localhost | [--debug-credentials] [--debug-presentations] [--invite]
agent2.localhost | [--invite-role ] [--invite-label ]
agent2.localhost | [--invite-multi-use] [--invite-public]
agent2.localhost | [--test-suite-endpoint ] [--auto-accept-invites]
agent2.localhost | [--auto-accept-requests] [--auto-respond-messages]
agent2.localhost | [--auto-respond-credential-proposal]
agent2.localhost | [--auto-respond-credential-offer]
agent2.localhost | [--auto-respond-credential-request]
agent2.localhost | [--auto-respond-presentation-proposal]
agent2.localhost | [--auto-respond-presentation-request]
agent2.localhost | [--auto-store-credential] [--auto-verify-presentation]
agent2.localhost | [--plugin ] [--storage-type ]
agent2.localhost | [-e [ ...]] [--read-only-ledger]
agent2.localhost | [--tails-server-base-url ]
agent2.localhost | [--ledger-pool-name ]
agent2.localhost | [--genesis-transactions ]
agent2.localhost | [--genesis-file ]
agent2.localhost | [--genesis-url ]
agent2.localhost | [--log-config ] [--log-file ]
agent2.localhost | [--log-level ] [--auto-ping-connection]
agent2.localhost | [--invite-base-url ] [--monitor-ping]
agent2.localhost | [--public-invites] [--timing] [--timing-log ]
agent2.localhost | [--trace] [--trace-target ]
agent2.localhost | [--trace-tag ] [--trace-label ]
agent2.localhost | [--preserve-exchange-records] -it
agent2.localhost | -ot [-l ]
agent2.localhost | [--max-message-size ]
agent2.localhost | [--enable-undelivered-queue]
agent2.localhost | [--max-outbound-retry MAX_OUTBOUND_RETRY]
agent2.localhost | [--seed ] [--wallet-local-did]
agent2.localhost | [--wallet-key ]
agent2.localhost | [--wallet-rekey ]
agent2.localhost | [--wallet-name ]
agent2.localhost | [--wallet-type ]
agent2.localhost | [--wallet-storage-type ]
agent2.localhost | [--wallet-storage-config ]
agent2.localhost | [--wallet-storage-creds ]
agent2.localhost | [--replace-public-did]
agent2.localhost | aca-py start: error: the following arguments are required: -it/--inbound-transport, -ot/--outbound-transport
agent3.localhost exited with code 127
agent2.localhost | ./startup.sh: line 2: -it: command not found
agent2.localhost | ./startup.sh: line 3: -ot: command not found
agent2.localhost | ./startup.sh: line 4: -e: command not found
agent2.localhost | ./startup.sh: line 5: --label: command not found
agent2.localhost | ./startup.sh: line 6: --admin: command not found
agent2.localhost | ./startup.sh: line 7: --admin-insecure-mode: command not found
agent2.localhost | ./startup.sh: line 8: --auto-accept-requests: command not found
agent2.localhost | ./startup.sh: line 9: --auto-respond-credential-proposal: command not found
agent2.localhost | ./startup.sh: line 10: --auto-respond-presentation-proposal: command not found
agent2.localhost | ./startup.sh: line 11: --genesis-url: command not found
agent2.localhost | ./startup.sh: line 12: --wallet-type: command not found
agent2.localhost | ./startup.sh: line 13: --wallet-name: command not found
agent2.localhost | ./startup.sh: line 14: --webhook-url: command not found
agent1.localhost | usage: aca-py start [-h] [--admin ] [--admin-api-key ]
agent1.localhost | [--admin-insecure-mode] [--no-receive-invites]
agent1.localhost | [--help-link ] [--webhook-url ] [--debug]
agent1.localhost | [--debug-seed ] [--debug-connections]
agent1.localhost | [--debug-credentials] [--debug-presentations] [--invite]
agent1.localhost | [--invite-role ] [--invite-label ]
agent1.localhost | [--invite-multi-use] [--invite-public]
agent1.localhost | [--test-suite-endpoint ] [--auto-accept-invites]
agent1.localhost | [--auto-accept-requests] [--auto-respond-messages]
agent1.localhost | [--auto-respond-credential-proposal]
agent1.localhost | [--auto-respond-credential-offer]
agent1.localhost | [--auto-respond-credential-request]
agent1.localhost | [--auto-respond-presentation-proposal]
agent1.localhost | [--auto-respond-presentation-request]
agent1.localhost | [--auto-store-credential] [--auto-verify-presentation]
agent1.localhost | [--plugin ] [--storage-type ]
agent1.localhost | [-e [ ...]] [--read-only-ledger]
agent1.localhost | [--tails-server-base-url ]
agent1.localhost | [--ledger-pool-name ]
agent1.localhost | [--genesis-transactions ]
agent1.localhost | [--genesis-file ]
agent1.localhost | [--genesis-url ]
agent1.localhost | [--log-config ] [--log-file ]
agent1.localhost | [--log-level ] [--auto-ping-connection]
agent1.localhost | [--invite-base-url ] [--monitor-ping]
agent1.localhost | [--public-invites] [--timing] [--timing-log ]
agent1.localhost | [--trace] [--trace-target ]
agent1.localhost | [--trace-tag ] [--trace-label ]
agent1.localhost | [--preserve-exchange-records] -it
agent1.localhost | -ot [-l ]
agent1.localhost | [--max-message-size ]
agent1.localhost | [--enable-undelivered-queue]
agent1.localhost | [--max-outbound-retry MAX_OUTBOUND_RETRY]
agent1.localhost | [--seed ] [--wallet-local-did]
agent1.localhost | [--wallet-key ]
agent1.localhost | [--wallet-rekey ]
agent1.localhost | [--wallet-name ]
agent1.localhost | [--wallet-type ]
agent1.localhost | [--wallet-storage-type ]
agent1.localhost | [--wallet-storage-config ]
agent1.localhost | [--wallet-storage-creds ]
agent1.localhost | [--replace-public-did]
agent1.localhost | aca-py start: error: the following arguments are required: -it/--inbound-transport, -ot/--outbound-transport
agent1.localhost | ./startup.sh: line 2: -it: command not found
agent1.localhost | ./startup.sh: line 3: -ot: command not found
agent1.localhost | ./startup.sh: line 4: -e: command not found
agent1.localhost | ./startup.sh: line 5: --label: command not found
agent1.localhost | ./startup.sh: line 6: --admin: command not found
agent1.localhost | ./startup.sh: line 7: --admin-insecure-mode: command not found
agent1.localhost | ./startup.sh: line 8: --auto-accept-requests: command not found
agent1.localhost | ./startup.sh: line 9: --auto-respond-credential-proposal: command not found
agent1.localhost | ./startup.sh: line 10: --auto-respond-presentation-proposal: command not found
agent1.localhost | ./startup.sh: line 11: --genesis-url: command not found
agent1.localhost | ./startup.sh: line 12: --wallet-type: command not found
agent1.localhost | ./startup.sh: line 13: --wallet-name: command not found
agent1.localhost | ./startup.sh: line 14: --webhook-url: command not found
agent2.localhost exited with code 127
agent1.localhost exited with code 127

add aries-playground release version

To help with reporting issues in aries-playground can we add a release version in github? Right now it is blank. Sometimes I need to refer to fixes in specific version when performing interop testing.
Thanks

Cannot issue due to revocation error

On indy ledger performed following curl command got an error when trying to issue in the manual VC creation. Experimenting with turning off revocation but was unsuccessful.

curl --location --request POST 'http://test-center.swagger.localhost/issue-credential/records/a3e5403b-1b54-49b3-ae13-0f479419164c/issue'
--header 'Content-Type: application/json'
--data-raw '{
"comment": "string"
}'

400: Cred def id 4wDz2i3yarKw96TVQrS2S3:3:CL:29:default has no active revocation registry.

test-center.localhost | aries_cloudagent.revocation.error.RevocationError: URI None/4wDz2i3yarKw96TVQrS2S3:4:4wDz2i3yarKw96TVQrS2S3:3:CL:31:default:CL_ACCUM:ad3a1f45-3c79-4132-add1-e54720b52d45 is not a valid URL

Clarify step (2) that von network is allready running indy.igrant.io

Please clarify that step (2) uses external indy.igrant.io. Proposed text.

  1. Von network is already running through indy.igrant.io and yaml file configuring docker-compose in next step points at that external ledger. If you will use your own ledger then you need to update the yaml file in next step to point at the local ledger. Refer to xxx for setting up own ledger.

docker-compose up in step (3) gives error von_von not found

Attempted to run docker-compose but failed. Unclear what is issue if setup uses indy.igrant.io which should be running.

$ docker-compose up
Network von_von declared as external, but could not be found. Please create the network manually using docker network create von_von and try again.

documentation of igrant-operator

The igrant-operator in protocols has no documentation and assume there is no RFC reference. Need to add something so it is understood how it will be used. All I see is that it has this support: operator-configuration, organization-info, connections.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.