-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
[Bug] Unable to send certain file #332
Comments
I can reproduce this with the file when sending from iOS. Does this happen for you on Android only or also when sending the file from Windows? The preview code needs to be rewritten and errors need to be catched properly. Sorry for the inconvenience. |
I tried Windows to Windows and Windows to Android, both failed. My rudimentary guess is that when sending pictures, pairdrop seems to render a preview/thumbnail, but my picture's aspect ratio is too extreme so it didn't work. |
That’s probably indeed what’s going on as it is going through fine when we bypass the thumbnail creation by changing the extension of the file from .png to .txt. Anyways, I thought such errors would be catched and the file would then simply be sent without any thumbnail. I have to look into it to know more |
Interestingly, it was not a matter of the thumbnail creation itself as that would have been catched. Instead, the created thumbnail in your specific case was too big to get transferred via one webrtc message which was expected. I tried to solve it by changing the thumbnail creation and checking the thumbnail bytesize after its creation. Please test whether this is resolved for you as well on this test instance: https://pairdrop-next.onrender.com/ |
Glad to report that it is fixed! I will leave it to you to close this once you merge the PR. |
Also happy to know that you got some time to come back and work on paridrop. Is 2.0 expected to come out in the near future? |
Great! I’ll close this, when this is merged into the master branch.
I guess so. There is a backlog of issues that need to come first in a minor update and everything for 2.0 needs to be strapped together but I think I will get there soonish |
Describe the bug
I cannot send this file, every time I send it, the other device just disappears.
To Reproduce
1.zip
Please uncompress this zip file, and try sending the png file within.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Bug occurs on official PairDrop instance https://pairdrop.net/
Yes, and on dev.pairdrop.net
Bug occurs on self-hosted PairDrop instance
Yes
Self-Hosted Setup
Proxy: Caddy
Deployment:
Version: v1.10.10
The text was updated successfully, but these errors were encountered: