Closed faithfulnessalamu closed 3 years ago
Got this error when copying a file of size 1.7gb:
$ cat ~/DiskImages/lubuntu-20.04.1-desktop-amd64.iso | pbgopy copy --max-size 2gb Error: failed to issue request: Put "http://localhost:9090": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Usage: pbgopy copy [flags] Examples: export PBGOPY_SERVER=http://192.168.11.5:9090 echo hello | pbgopy copy Flags: -a, --basic-auth string Basic authentication, username:password -h, --help help for copy --max-size string Max data size with unit (default "500mb") -p, --password string Password for encryption/decryption --timeout duration Time limit for requests (default 5s) failed to issue request: Put "http://localhost:9090": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
doesn't it go well even if using the --timeout flag?
Oh, apparently required a much much larger timeout. Sorry for the bother.
Got this error when copying a file of size 1.7gb: