Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Sometimes download get stuck #30

Closed
lapo-luchini opened this issue Feb 26, 2018 · 10 comments
Closed

Sometimes download get stuck #30

lapo-luchini opened this issue Feb 26, 2018 · 10 comments

Comments

@lapo-luchini
Copy link

Downloading a very small file (12KiB) always succeeds.
Download a bigger one (~1MiB), it often get stuck at 50% or 90%.
I didn't extract logcat yet.

@lapo-luchini
Copy link
Author

I checked logcat, the first document (100%) and the second one (stuck at 69.2%) don't show anything much different from one another.

@Nutomic
Copy link

Nutomic commented Feb 28, 2018

Yes I've noticed that myself. Some bug in the download logic (which is rather complicated).

@Pazuu
Copy link

Pazuu commented Nov 6, 2018

As of version 0.3.1 i cannot reproduce this issue 😸

@Nutomic
Copy link

Nutomic commented Nov 6, 2018

@lapo-luchini Is it working now for you?

@lapo-luchini
Copy link
Author

Seems to be working, from home Wi-Fi (where one node is located).
Let me try with mobile connection too.

@lapo-luchini
Copy link
Author

No, it still happens both in 4G and, after having returned to Wi-Fi, there too. :(
Or rather, it doesn't get stuck, it immediately produces a bubble notification with «Impossibile scaricare il file» (impossible to download the file).

@lapo-luchini
Copy link
Author

Seems to be this:

12-07 10:52:18.129  4844  4990 W net.syncthing.a.a.a.h: failed to connect to DeviceAddress(deviceId=DeviceId(deviceId=AV5Y2W2-…-6NSJXAP), instanceId=null, address=tcp://176.9.71.213:22000, producer=UNKNOWN, score=54, lastModified=Fri Dec 07 10:48:15 GMT+01:00 2018)
12-07 10:52:18.129  4844  4990 W net.syncthing.a.a.a.h: java.io.EOFException
12-07 10:52:18.129  4844  4990 W net.syncthing.a.a.a.h:  at java.io.DataInputStream.readFully(DataInputStream.java:200)
12-07 10:52:18.129  4844  4990 W net.syncthing.a.a.a.h:  at java.io.DataInputStream.readShort(DataInputStream.java:317)
12-07 10:52:18.129  4844  4990 W net.syncthing.a.a.a.h:  at net.syncthing.a.a.a.p.a(PostAuthenticationMessageHandler.kt:98)

After a while, Wi-Fi began working again.

@lapo-luchini
Copy link
Author

I read here that syncthing/syncthing-java#10 has not yet landed, is that still true?
This might be only that.

@l-jonas
Copy link

l-jonas commented Dec 9, 2018

@lapo-luchini

I read here that syncthing/syncthing-java#10 has not yet landed, is that still true?
This might be only that.

This is already merged/ the code from syncthing-java was moved into this repository and is maintained here (so that every new app releases automatically uses the newest master version of syncthing-java).

After a while, Wi-Fi began working again.

That's a bit unclear. Currently, the download fails directly if there is no connection to any server providing that file. You can see if it is connected from the "devices" which you can find in the main menu of syncthing lite.

The download keeps at 100% for some time because the received blocks are merged into on file in the correct order then.

@lapo-luchini
Copy link
Author

Newest update seems to fix this for me, thanks!

@syncthing syncthing locked and limited conversation to collaborators Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants