Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data is too short, but why? #9532

Open
Scartiloffista opened this issue May 8, 2024 · 0 comments
Open

Data is too short, but why? #9532

Scartiloffista opened this issue May 8, 2024 · 0 comments
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement) needs-triage New issues needed to be validated

Comments

@Scartiloffista
Copy link

Scartiloffista commented May 8, 2024

What happened?

I have a folder that my Pi receives encrypted. But this makes the connection to one of my clients (Windows 11) reset every time they try to talk, so between these two devices they always result offline.

The error is this one on the Windows one:

[5UCM2] 2024/05/08 09:13:20 INFO: Lost primary connection to xxx at yyy: handling index-update for zzz: data too short (0 remain)
[5UCM2] 2024/05/08 09:13:20 INFO: Connection to xxx at yyy closed: handling index-update for zzz: data too short

while on the Pi (the one that receives encrypted):

2024-05-08 09:26:08 Device zzz client is "syncthing v1.27.7" named "xxx" at yyy
2024-05-08 09:26:09 Lost primary connection to zzz at yyy: reading length: EOF (0 remain)
2024-05-08 09:26:09 Connection to zzz at yyy closed: reading length: EOF

Both are on the latest version of Syncthing. Oddly enough, the communication between the Pi and an OSX (which sends/receive) client has never such problems. Also between OSX and Windows it does fine, but it's not encrypted between them, so it does not surprise me.

There's already something exactly like this on the forum: https://forum.syncthing.net/t/constant-connection-drop-after-pausing-and-unpausing-a-receive-encrypted-folder/17509

I saw that it seems to be due to, well, data being too short to be meaningfully encrypted, but since I don't see a particular use case in the folders (I put some data on it and I call it a day)...

Syncthing version

v1.27.7

Platform & operating system

Linux arm64 + Windows 11 x64

Browser version

No response

Relevant log output

No response

@Scartiloffista Scartiloffista added bug A problem with current functionality, as opposed to missing functionality (enhancement) needs-triage New issues needed to be validated labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement) needs-triage New issues needed to be validated
Projects
None yet
Development

No branches or pull requests

1 participant