hyperledger / aries-agent-test-harness

Aries agent test framework, with agent backchannel support
https://aries-interop.info
Apache License 2.0
60 stars 65 forks source link

Refactored ngrok support with necessary AuthToken #758

Closed nodlesh closed 8 months ago

nodlesh commented 8 months ago

This PR refactors ngrok support in AATH. As of Dec 26 2023, AATH stopped working with ngrok because of the enforcement of an AuthToken to start ngrok services. Users that need to use ngrok support in AATH will need to acquire, either free or paid for, an AuthToken from ngrok.

At this point forward, if you are using the -n option on the manage script, you will also have to set an NGROK_AUTHTOKEN environment variable. This can be done like this for example;

NGROK_AUTHTOKEN=2ZrwpFakeAuthToken_W4VDBxavAzdB5K3wsDGz LEDGER_URL_CONFIG=http://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io AGENT_CONFIG_FILE=/aries-backchannels/acapy/auto_issuer_config.yaml ./manage start -a acapy-main -b acapy-main -n

Behavioural changes in this PR are as follows:

Closes #757

nodlesh commented 8 months ago

I'm working on an issue I just found when running this with the @MobileTests tag meant for running these tests with a device in hand.

nodlesh commented 8 months ago

Updated the md. Also fixed the mobile backchannel build which was failing when I went to test this. Bumped the backchannel to the same Python version/image as the ACA-Py backchannel.