happ-client-call-tutorial icon indicating copy to clipboard operation
happ-client-call-tutorial copied to clipboard

Connecting problem - could not get app info

Open duukan opened this issue 4 years ago • 4 comments

Hello,

I'm trying to connect to an hApp which was created by the complementary guide at the "call your hApp tutorial". A conductor was started and running and hosting the hApp as shwon by this command:

$ hc sandbox call 1 list-apps hc-sandbox: List Apps: [InstalledAppInfo { installed_app_id: "test-app", cell_data: [InstalledCell { cell_id: CellId(DnaHash(uhC0kUIew8M-K2ZAUmh1NywzP4Emo050Zmp5oaldzSf2aGsq09SFp), AgentPubKey(uhCAkomVJo2MHkqqSPmovoQOSvOztAMrGqfKmHyd7lsbPGg_ZuTgF)), cell_nick: "sample-slot" }], status: Running }]

Now running the Rust code from this tutorial gives this error:

$ cargo run
   Compiling happ-client-call-tutorial v0.1.0 (/home/stefan/dev/rust/holochain/happ-client-call-tutorial)
   Finished dev [unoptimized + debuginfo] target(s) in 22.85s
   Running target/debug/happ-client-call-tutorial
Got an error: "Could not get app info"

What can be the eason?

Thanks in advance, Stefan

OS: Ubuntu

duukan avatar Oct 31 '21 18:10 duukan

I got the same error when i compile "happ-client-call-tutorial/rust" , "happ-client-call-tutorial/ts" still work

acscoder avatar Dec 27 '21 08:12 acscoder

https://i.imgur.com/vUS2nS9.png

acscoder avatar Jan 17 '22 16:01 acscoder

@duukan & @acscoder, we've matched the Holochain versions between the hApp build tutorial and this client tutorial. Please pull from this repo and try again and report back if the issue persists.

jost-s avatar Jan 19 '22 06:01 jost-s

it worked, Thank you!!!

acscoder avatar Jan 19 '22 14:01 acscoder