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

Cannot start test agents with ngrok anymore, ngrok now requires an authtoken #757

Closed
nodlesh opened this issue Jan 2, 2024 · 0 comments · Fixed by #758
Closed

Cannot start test agents with ngrok anymore, ngrok now requires an authtoken #757

nodlesh opened this issue Jan 2, 2024 · 0 comments · Fixed by #758
Assignees

Comments

@nodlesh
Copy link
Contributor

nodlesh commented Jan 2, 2024

Errors generated when trying to start test agent containers with the -n flag, as in

AGENT_CONFIG_FILE=/aries-backchannels/acapy/auto_issuer_config.yaml ./manage start -a acapy-main -b acapy-main -n
ERROR:  authentication failed: Usage of ngrok requires a verified account and authtoken.
ERROR:  
ERROR:  Sign up for an account: https://dashboard.ngrok.com/signup
ERROR:  Install your authtoken: https://dashboard.ngrok.com/get-started/your-authtoken
ERROR:  
ERROR:  ERR_NGROK_4018
ERROR:  

AATH will have to be updated to use an authtoken with ngrok usage. A few restrictions with free ngrok to consider.
1/ Only one ngrok container can be stood up with the authtoken. This means, even with an authtoken integrated into AATH, only one container can run with ngrok. This is not viable for usage with wallet testing, since there are two test agents started with ngrok.
2/ An option is to run one ngrok container, and start multiple ngrok services in that one container to service the 1-n agents running. However, an authtoken can only run 3 sessions at a time, so if anyone needs more than 3 agents with ngrok then this solution will not work for them. In this case the user would need a paid ngrok authtoken to use the AATH. This more than 2 agent case will probably be rare.

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

Successfully merging a pull request may close this issue.

1 participant