volumes-backup-extension icon indicating copy to clipboard operation
volumes-backup-extension copied to clipboard

Transferring larger volumes results in `ERR_CHILD_PROCESS_STDIO_MAXBUFFER` error.

Open IORoot opened this issue 2 years ago • 0 comments
trafficstars

Describe the bug Transferring a volume from one host to another, the size is 218.9MB and I'm getting the error after 30 seconds or so:

Failed to clone volume SOURCE to destinaton volume DESTINATION: Exit code: ERR_CHILD_PROCESS_STDIO_MAXBUFFER

I believe that it's because you're using exec commands instead of spawn commands, I think.

In file volumes-backup-extension/ui/src/components /TransferDialog.tsx I think that line 112:

const transferredOutput = await ddClient.docker.cli.exec("run", [

needs to change to the spawn command. Otherwise you can't transfer larger payloads.

Sorry about that.

IORoot avatar Apr 21 '23 10:04 IORoot