joplin
joplin copied to clipboard
Android sync stucks forewer after adding image from app [reopened]
Relates to previously reported issue https://github.com/laurent22/joplin/issues/4638
Environment
Joplin version: 2.4.3 Platform: Android 10 Sync type: WebDav
Steps to reproduce
- Go to your image gallery app (anything that browse your media files)
- Share any jpeg image with Joplin or just add media file in existing note
- Joplin will create a note with image in it
- Next sync will be indefinite
- But on another Joplin installation you will be able to see new note, but image will be empty (there will be reference to image in note).
- Looks like Android app syncs note, but fails to upload note image
Other Joplin clients
Windows and Linux based Joplin clients working without any problems with the same setup. It is possible to upload images/files using the same WebDav connection.
Problem origin
Eventually sync fail with next error
03-08T10:10:49,20,"""Error: uploadBlob: PUT https://webdav.yandex.ru/joplin/.resource/5b69bcb4c41447d7a4ad861a448d4fa1: Error: unexpected end of stream
index.android.bundle:1217:3088
[email protected]:109:587
index.android.bundle:109:1890
[email protected]:109:587
[email protected]:109:1066
index.android.bundle:109:1238
[email protected]:125:155
index.android.bundle:125:864
[email protected]:130:581
[email protected]:130:947
[email protected]:130:3004
[email protected]:27:2919
index.android.bundle:27:1095
[email protected]:27:2611
[email protected]:27:1065
value@[native code]
value@[native code]""
There are actually two issues related to this bug:
- WebDAV upload bug on Android
- No way to continue working with application until full reset
The second issue is even more significant because it block application functionality. It looks like any changes in notes after uploading issue would not be synced because the only way to unblock app is to reset everything
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
No, it has not been fixed. Looks like I should find some time to do it by myself.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
No, it has not been fixed. Looks like I should find some time to do it by myself.
I am waiting of solving this problem because i have it.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Not it is still not fixed.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
No it has not been fixed yet
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Not solved yet
My own problem was server frontend (Caddy in my case) I increased timeouts on my server and my Android now can get past this attachment.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
I'm still facing this issue. And still has no time to create custom connector to the yandex disk
@rumatoest you can use s3 storage in Yandex cloud as a workaround - with modest volume and traffic it's free, and even with a small excess it doesn't cost very much. That's exactly what I'm doing :) And s3 is much faster than webdav.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.
I'm facing this issue too for webdav.yandex.ru
I've seen the file by hash on remote disk already, but android app retries sync
A lot of auto retries leads to successful sync
11-01T11:27:25,20,"Synchronizer: ""Error: uploadBlob: PUT https://webdav.yandex.ru/Joplin/.resource/e5cbb985498945d4bc9e0c34b8c1bddb: Error: unexpected end of stream
index.android.bundle:1492:4248
[email protected]:83:588
index.android.bundle:83:1893
[email protected]:83:588
[email protected]:83:1069
index.android.bundle:83:1241
[email protected]:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
[email protected]:85:500
[email protected]:85:898
[email protected]:85:3054
[email protected]:38:2868
index.android.bundle:38:960
[email protected]:38:2504
[email protected]:38:919
value@[native code]
value@[native code]""