Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Tranfer gets interruped for some files no matter retries #14

Open
EmmanuelMess opened this issue Jun 1, 2019 · 5 comments
Open

Tranfer gets interruped for some files no matter retries #14

EmmanuelMess opened this issue Jun 1, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@EmmanuelMess
Copy link

EmmanuelMess commented Jun 1, 2019

PC: Ubuntu 18.04 with Unity 7 linux 4.15
Phone: LG K11α

Transferring a few images, some always fail:
imagen
And they seem to be always the same photos:

I received these (partial) files (compressed to be able to upload to GitHub).

@velitasali
Copy link
Member

Hi @EmmanuelMess, I haven't been able to solve this problem yet. It is happening on my machine as well.

@dCo3lh0
Copy link

dCo3lh0 commented Jul 4, 2019

Count me in too, i don't know why but if i double-click to restart sending the interrupted file when another file before is running the sending file, sometimes it completes, who knows why, but almost all the times if fails...

@EmmanuelMess
Copy link
Author

@velitasali Any ideas on what is the problem?

@velitasali
Copy link
Member

velitasali commented Jul 4, 2019

@EmmanuelMess There is an ongoing issue with IO during transfer.

On this line, bytesToReceive() always returns a positive number though there is not, creating an issue on the other side of the connection. To prevent that I added checks after that if statement, still, we have issues.
https://github.com/genonbeta/TrebleShot-Desktop/blob/24a646a0d392fb2834e0de33a4058ec06882056c/src/broadcast/SeamlessServer.cpp#L159

I am still not sure how to fix that.

@EmmanuelMess
Copy link
Author

EmmanuelMess commented Jul 4, 2019

@velitasali
Ok, I don't have much experience with Qt.
And I haven't run the code.
But, if I may give some advice.
Are you compressing, or better, tarring, before sending? So that we can rule out metadata problems.

@velitasali velitasali added the bug Something isn't working label Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants