I have a small
x.dar (312K), and I launch an empty Daml Sandbox with
daml sandbox, then I get this:
daml ledger upload-dar --host localhost --port 6865 x.dar Uploading x.dar to localhost:6865 An exception was thrown during the upload-dar command - GRPCIOTimeout One reason for this to occur is if the size of DAR file being uploaded exceeds the gRPC maximum message size. The default value for this is 4Mb, but it may be increased when the ledger is (re)started. Please check with your ledger operator.
GRPC should work (I know ), because I can attach to the Sandbox with
daml repl or
daml ledger navigator.
Also, when I launch the Sandbox via
daml sandbox x.dar, it loads the DAR perfectly.
Possibly helpful info: on this VM, I can only run
daml test by setting
no_proxy=127.0.0.1, otherwise I get
GRPC error (solved here).
Possibly not helpful info: I already checked Daml-helper: GRPCIOTimeout error and GRPCIOTimeout with daml deploy when running within a docker container - #2 by perbergman, this seems to be a different issue.