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

Using local von-network with aries bifold wallet #270

Closed
Sshovon opened this issue Jul 12, 2023 · 6 comments
Closed

Using local von-network with aries bifold wallet #270

Sshovon opened this issue Jul 12, 2023 · 6 comments

Comments

@Sshovon
Copy link

Sshovon commented Jul 12, 2023

I want to use the locally initiated ledger in the aries bifold wallet. I have tested the local von network with Alice and Faber agent of Aries cloud agent python. It works fine but when I try to use it with my wallet it doesn't work as expected. I have used ngrok to make port 9000 online. And added that https://ngrok/genesis in the wallet genesis file. But in this setup wallet can't retive did from the ledger we provided. So it seems that our setup is not correct. Can anyone help me out?

@WadeBarnes
Copy link
Member

@jleach, @amanji, do either of you have any experience using a local instance on von-network with a mobile wallet?

@amanji
Copy link

amanji commented Jul 12, 2023

I haven’t, but I suspect that the IPs in the genesis block are local which are not reachable from the wallet. Any chance you’d be willing to post your genesis file?

@Sshovon
Copy link
Author

Sshovon commented Jul 13, 2023

Yes, the IPs are provided by the docker host of my local machine. Can you please help me by suggesting the steps to make this? Would you like me to use EC2 instance?
genesis.txt

@Sshovon
Copy link
Author

Sshovon commented Jul 13, 2023

I have hosted the von network in an EC2 instance. Here is the link. Now, when I try to start acapy Faber agent using this ledger, it gives pool timeout but it writes the did of the agent in the ledger. Communication between alice and faber agent works fine with the local von network on my machine. I am attaching the ledger URL that I have used to start faber agent and the error screenshot.
LEDGER_URL=http://100.26.23.213 ./run_demo faber
Screenshot from 2023-07-13 16-06-04

@jleach
Copy link
Member

jleach commented Jul 13, 2023

Is the network reachable? You can use timeout 5 bash -c "</dev/tcp/100.26.23.213/nnnn"; echo $? where nnnn is the port number the node is listening on. When I try on ports I think you may be using I get 127 which means - nope, not reachable from the internet. Check firewall rules and that you're using the default ports. The IP 20.200.95.22 is for a Candy node and is working as expected.

root@7339f64e0189:/# timeout 5 bash -c "</dev/tcp/20.200.95.22/9702"; echo $?
0
root@7339f64e0189:/# timeout 5 bash -c "</dev/tcp/100.26.23.213/9702"; echo $?
124
root@7339f64e0189:/# timeout 5 bash -c "</dev/tcp/100.26.23.213/9701"; echo $?
124
root@7339f64e0189:/# 

@Sshovon
Copy link
Author

Sshovon commented Jul 14, 2023

Thank you very much @WadeBarnes @jleach @amanji. I have resolved the issue. Thanks again.

@Sshovon Sshovon closed this as completed Jul 14, 2023
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

4 participants