[Bug 1971932] Re: error in rsync protocol data stream

2022-05-16 Thread Lena Voytek
I attempted to reproduce by running the command through localhost over
ssh and it succeeded using a 3GB file. This may be due to the transfer
between Ubuntu and Debian then. Here is my test case:

# lxc launch images:ubuntu/jammy test-rsync
# lxc exec test-rsync bash
# apt update && apt dist-upgrade -y
# apt install rsync openssh-server
# passwd ubuntu
# su ubuntu
# cd
# mkdir dest
# head -c 3GB /dev/urandom > test
# rsync -avz --stats -e ssh test localhost:~/dest/

@jmbaudach can you try to transfer your over 2GB file locally with ssh
to see if it fails there. That will help us narrow down the issue.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971932

Title:
  error in rsync protocol data stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971932] Re: error in rsync protocol data stream

2022-05-13 Thread jmbaudach
After further reading on the subject, I guess that the problem is the
size of over 2 GB. All other thousands of files (incl. hardly further
compressible mp3, jpeg, mpeg etc.) are synchronized without problems.
Under ubuntu 20.04 LTS the problem did not occur.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971932

Title:
  error in rsync protocol data stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971932] Re: error in rsync protocol data stream

2022-05-12 Thread Robie Basak
This reminds me of bug 1384503, and a search reveals some other bugs
that may be related too. Perhaps it's a recurrence of the same
underlying issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971932

Title:
  error in rsync protocol data stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971932] Re: error in rsync protocol data stream

2022-05-12 Thread Paride Legovini
Well, "large" can span orders of magnitude, depending who you ask. :-)

Can you please try to identify some steps to reproduce that include the
big file generation? For example:

  # 100MB file, random data (difficult to compress)
  head -c 100M /dev/urandom > foo

  # 100MB file, all 0s (easy to compress)
  head -c 100M /dev/zero > foo

Then you can try to rsync it to localhost via ssh to a different
directory (I assume you're using ssh and not the rsync protocol).
Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971932

Title:
  error in rsync protocol data stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971932] Re: error in rsync protocol data stream

2022-05-11 Thread jmbaudach
Thanks for your efforts and fast answer.

In the meantime I verified that it is compression related, as I read
"deflate on token returned 0 (8512 bytes left)" as an indication on
this.

Usually the action is performed using -avz parameters. When not
activating compression (-av only), the synchronization performs
successfully. So this is my temporary workaround now.

When trying to reproduce, did you use an according large file?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971932

Title:
  error in rsync protocol data stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1971932] Re: error in rsync protocol data stream

2022-05-09 Thread Paride Legovini
Hello and thanks for this bug report. I tried to reproduce this locally
but I failed. We're certainly willing to investigate this, but first we
need some steps to reproduce the problem. Could you please try to
identify a somehow reliable way to reproduce the issue and share your
findings? Thanks!

** Changed in: rsync (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971932

Title:
  error in rsync protocol data stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs