Hi,
I can confirm my call is received by the canister(I see it in debug message)
When my canister does not have a return, everything is working, however, when my canister returns a Text (a simple one). and I query it using the agent library, it stops responding, and I cannot even call it using command line! any idea why?
After the very first call from agent, it logs the message and stops responding even to calls from command line. If there is no return, it works fine.
import Debug "mo:base/Debug";
actor HelloActor {
public query func hello() : async Text {
Debug.print ("Hello, World from DFINITY \n");
return "Hello, World from DFINITY";
}
};
Is there a log somewhere that hows what is blocking the requests?