joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Android sync stucks forewer after adding image from app [reopened]

Open rumatoest opened this issue 2 years ago • 15 comments

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

  1. Go to your image gallery app (anything that browse your media files)
  2. Share any jpeg image with Joplin or just add media file in existing note
  3. Joplin will create a note with image in it
  4. Next sync will be indefinite
  5. 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).
  6. 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]""


rumatoest avatar Nov 22 '21 07:11 rumatoest

There are actually two issues related to this bug:

  1. WebDAV upload bug on Android
  2. 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

rumatoest avatar Nov 24 '21 09:11 rumatoest

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.

github-actions[bot] avatar Jan 09 '22 00:01 github-actions[bot]

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.

rumatoest avatar Jan 09 '22 09:01 rumatoest

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.

alexmorphy avatar Feb 03 '22 20:02 alexmorphy

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.

github-actions[bot] avatar Mar 06 '22 16:03 github-actions[bot]

Not it is still not fixed.

rumatoest avatar Mar 06 '22 16:03 rumatoest

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.

github-actions[bot] avatar Apr 07 '22 16:04 github-actions[bot]

No it has not been fixed yet

rumatoest avatar Apr 08 '22 16:04 rumatoest

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.

github-actions[bot] avatar May 10 '22 16:05 github-actions[bot]

Not solved yet

rumatoest avatar May 10 '22 17:05 rumatoest

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.

kai11 avatar Jun 07 '22 14:06 kai11

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.

github-actions[bot] avatar Jul 07 '22 16:07 github-actions[bot]

I'm still facing this issue. And still has no time to create custom connector to the yandex disk

rumatoest avatar Jul 07 '22 16:07 rumatoest

@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.

strafer avatar Jul 07 '22 16:07 strafer

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.

github-actions[bot] avatar Aug 08 '22 16:08 github-actions[bot]

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.

github-actions[bot] avatar Aug 15 '22 16:08 github-actions[bot]

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]""

andrdru avatar Nov 01 '22 13:11 andrdru