However, it does not say how to stop this deployed canister? My deployed canister seems to be continuously using up the cycles in my default cycle wallet for a week now. I can see the cycle count reducing in my default cycle wallet. I tried running the following to stop the canister,
dfx canister stop --all
But, it gives the following error,
An error happened during communication with the replica: error sending request for url (http://127.0.0.1:8000/api/v2/status): error trying to connect: tcp connect error: Connection refused (os error 61)
Can you please help me understand and possibly help me stop the canister?
Thanks a lot for your help.
I am excited to learn more and develop on the IC.
Hi @adityamnk, I am facing the same kind of issues and in an identical context. I have followed the same tutorial as you did and successfully deployed my canister.
However, after running the dfx canister --network ic stop website and the dfx canister --network ic delete website, I noticed that my cycles balance kept decreasing, when running dfx wallet --network ic balance.
I don’t get why it keeps decreasing since my only canister is offline & deleted. Some precisions would be appreciated, thanks !
Hey there. It seems like you have a cycles wallet. Since that is in itself a smart contract - or a canister - it will “consume” some cycles. While you will see a difference between two calls of “dfx wallet --network ic balance”, the cost is negligible if you don’t have real canisters deployed doing real computations. The cost that you incur on a cycles canister is minimal in terms of storage, and you’re likely seeing the cost of actually calling the canister each time